Bug 1694413 - Account for panel animations in the test.

MANUAL PUSH: Avoids orange on OSX on a CLOSED TREE.
This commit is contained in:
Emilio Cobos Álvarez 2021-02-25 16:57:42 +01:00
Родитель 22ceddbe92
Коммит c24f9921f2
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -224,7 +224,7 @@ add_task(async function test_datepicker_focus_change() {
let browser = helper.tab.linkedBrowser;
await verifyPickerPosition(browser, "date");
is(helper.panel.state, "open", "Panel should be visible");
isnot(helper.panel.state, "closed", "Panel should be visible");
let closed = helper.promisePickerClosed();
@ -234,7 +234,7 @@ add_task(async function test_datepicker_focus_change() {
await closed;
ok(true, "Should be closed now");
ok(true, "Panel should be closed now");
await helper.tearDown();
});