mirror of
https://github.com/SomboChea/ui
synced 2024-11-14 10:14:27 +07:00
d468ca7c5f
Implement acceptance testing using codeceptjs and puppeteer.
11 lines
424 B
JavaScript
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');
|
|
});
|