test: BDD / acceptance tests

Implement acceptance testing using codeceptjs and puppeteer.
This commit is contained in:
Daniel Ruf
2019-05-02 11:08:41 +02:00
parent 9d7be476ad
commit d468ca7c5f
6 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
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');
});