Bug 1702330 - Remove lazy notification deck creation test r=mconley

This test no longer passes with proton enabled by default, since the
deck would've been created already during startup.

Differential Revision: https://phabricator.services.mozilla.com/D111310
This commit is contained in:
Mark Striemer 2021-04-10 19:56:11 +00:00
parent 31f5da304e
commit 7d47fcc8ad

View File

@ -42,22 +42,6 @@ add_task(async function setup() {
});
});
add_task(async function testNotificationDeckIsLazy() {
let deck = document.getElementById("tab-notification-deck");
ok(!deck, "There is no tab notification deck");
await BrowserTestUtils.withNewTab("about:blank", async browser => {
createNotification({
browser,
label: "First notification",
value: "first-notification",
priority: "PRIORITY_INFO_LOW",
});
deck = document.getElementById("tab-notification-deck");
ok(deck, "Creating a notification created the deck");
});
});
add_task(async function testNotificationInBackgroundTab() {
let firstTab = gBrowser.selectedTab;