Bug 1713130 - Fix browser_eventDialogSize.js to work in isolation. r=darktrojan

The test was relying on the calendar tab being still open from the previous test.

Differential Revision: https://phabricator.services.mozilla.com/D132242
This commit is contained in:
Henry Wilkes 2021-11-25 11:12:25 +00:00
Родитель 0a4806249e
Коммит f33100c6e7
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -17,6 +17,7 @@ registerCleanupFunction(() => {
});
add_task(async function testEventDialog() {
await CalendarTestUtils.openCalendarTab(window);
let { dialogWindow, iframeWindow } = await CalendarTestUtils.editNewEvent(window);
await checkLargeEnough(dialogWindow, iframeWindow);