mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 1749328 - Intermittent failure in browser_interactions_typing.js r=Standard8 a=test-only
The test test_typing_and_reload() was failing, I believe because without waiting for target url in browserLoaded(), we would proceed on the about:blank load and the new interaction write would race the test. Differential Revision: https://phabricator.services.mozilla.com/D136186
This commit is contained in:
parent
8c2390af3f
commit
59fa29a2dd
@ -240,7 +240,7 @@ add_task(async function test_typing_and_reload() {
|
||||
|
||||
info("reload");
|
||||
browser.reload();
|
||||
await BrowserTestUtils.browserLoaded(browser);
|
||||
await BrowserTestUtils.browserLoaded(browser, false, TEST_URL);
|
||||
|
||||
// First typing should have been recorded
|
||||
await assertDatabaseValues([
|
||||
@ -255,7 +255,7 @@ add_task(async function test_typing_and_reload() {
|
||||
|
||||
info("reload");
|
||||
browser.reload();
|
||||
await BrowserTestUtils.browserLoaded(browser);
|
||||
await BrowserTestUtils.browserLoaded(browser, false, TEST_URL);
|
||||
|
||||
// Second typing should have been recorded
|
||||
await assertDatabaseValues([
|
||||
|
Loading…
Reference in New Issue
Block a user