Skip to content

Commit

Permalink
added pause to e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
electric-el committed May 26, 2022
1 parent 0861457 commit a24d388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/ui-compilation.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ describe('UI compilation of index page js', () => {

await ttSuggestion.waitForClickable();
await ttSuggestion.click();
await browser.pause(pauseMd);

expect(await sgFToggle.getAttribute('class')).to.not.have.string('active');
expect(await (await $('#sg-find')).getAttribute('class')).to.not.have.string('active');
Expand All @@ -493,6 +494,7 @@ describe('UI compilation of index page js', () => {
await sgFToggle.click();
await (await $('#typeahead')).setValue('pages');
await browser.keys(['Tab']);
await browser.pause(pauseMd);

expect(await sgFToggle.getAttribute('class')).to.not.have.string('active');
expect(await (await $('#sg-find')).getAttribute('class')).to.not.have.string('active');
Expand Down

0 comments on commit a24d388

Please sign in to comment.