zulip/frontend_tests/puppeteer_tests
Priyank Patel 60fa848aea puppetter: Add a waitForNavigation call before asserting the url.
Since we are doing a assert call checking a url without no page.waitForSelector
or similar calls, we add this to avoid flakes where the assert is called
when we are in process of navigation to the page. Also, we use Promise.all
here, and call page.waitForNavigation first, to avoid race conditions where
form is submitted quickly and navigation occurs and then we are stuck waiting
for a navigation. There were no flakes in the CI related to this issue, but
I expect someone with a slow hardware would probably stumble upto this in future.
2020-05-27 12:53:17 -07:00
..
00-realm-creation.js puppetter: Add a waitForNavigation call before asserting the url. 2020-05-27 12:53:17 -07:00
01-login.js puppeteer: Fix test flake in 01-login.js. 2020-05-27 12:53:14 -07:00