1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-28 00:44:30 +07:00
verdaccio-ui/test/acceptance/Menu_test.js
Daniel Ruf d468ca7c5f
test: BDD / acceptance tests
Implement acceptance testing using codeceptjs and puppeteer.
2019-05-02 11:15:33 +02:00

10 lines
340 B
JavaScript

Feature('Menu');
Scenario('check if we find the npm commands to set the registry', (I) => {
I.amOnPage('http://localhost:8080');
I.waitForElement('#header--button-registryInfo', 5);
I.click('#header--button-registryInfo');
I.waitForElement('#registryInfo--dialog-container');
I.see('npm set registry http://localhost:8080');
});