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

11 lines
424 B
JavaScript

Feature('SearchResult');
Scenario('check if we get the "no results found" text', (I) => {
I.amOnPage('http://localhost:8080');
I.seeElement('header .react-autosuggest__input input');
I.fillField('header .react-autosuggest__input input', 'test');
I.waitForElement('header .react-autosuggest__suggestions-container');
I.wait(1);
I.see('No results found.', 'header .react-autosuggest__suggestions-container');
});