Bug 1511216 - Intermittent preferences cloud storage test in verify mode r=jaws

Intermittent preferences UI cloud storage test failures in verify mode

Differential Revision: https://phabricator.services.mozilla.com/D13846

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Punam 2018-12-06 17:53:12 +00:00
Родитель aa450f8374
Коммит 946ee31856
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -107,6 +107,7 @@ add_task(async function setup() {
[CLOUD_SERVICES_PREF + "api.enabled", true],
[CLOUD_SERVICES_PREF + "storage.key", "Dropbox"],
]});
let folderName = "CloudStorage";
registerFakePath("Home", folderName);
registerFakePath("LocalAppData", folderName);
@ -153,6 +154,8 @@ add_task(async function() {
alwaysAsk.click();
is(downloadFolder.disabled, true, "downloadFolder filefield is disabled");
is(chooseFolder.disabled, true, "chooseFolder button is disabled");
saveTo.click();
ok(saveTo.selected, "Reset back first option as selected by default");
gBrowser.removeCurrentTab();
});