зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570330 - Make test_doorhanger_homepage_button (in browser_ext_chrome_settings_overrides_home.js) wait on page load before moving to next task. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43088 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c500e2593d
Коммит
4a053507cd
|
@ -390,6 +390,8 @@ add_task(async function test_doorhanger_homepage_button() {
|
|||
await popupHidden;
|
||||
await prefPromise;
|
||||
|
||||
await BrowserTestUtils.waitForLocationChange(gBrowser, defaultHomePage);
|
||||
|
||||
is(getHomePageURL(), defaultHomePage, "The homepage is set back to default");
|
||||
|
||||
await ext1.unload();
|
||||
|
|
Загрузка…
Ссылка в новой задаче