Skip to content

Commit dede99b

Browse files
committed
Fix failing test on Linux
1 parent 5b314d3 commit dede99b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/notifications/test_webextension_completed_installation_successfully_displayed.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from platform import system
2-
31
import pytest
42
from selenium.webdriver import Firefox
53

@@ -26,7 +24,6 @@ def temp_selectors():
2624
TEST_URL = "https://addons.mozilla.org/en-US/firefox/addon/popup-blocker/"
2725

2826

29-
@pytest.mark.skipif(system().lower().startswith("linux"), reason="Bug 1983280")
3027
def test_webextension_completed_installation_successfully_displayed(
3128
driver: Firefox, temp_selectors
3229
):
@@ -46,11 +43,12 @@ def test_webextension_completed_installation_successfully_displayed(
4643
nav.click_on("popup-notification-add")
4744

4845
# The WebExtension completed installation panel is successfully displayed
46+
nav.element_visible("popup-notification-panel")
4947
nav.expect_element_attribute_contains(
50-
"popup-notification-primary-button", "label", "OK"
48+
"popup-notification-panel", "name", "Popup Blocker (strict)"
5149
)
5250
nav.expect_element_attribute_contains(
53-
"popup-notification-panel", "name", "Popup Blocker (strict)"
51+
"popup-notification-primary-button", "label", "OK"
5452
)
5553
nav.expect_element_attribute_contains(
5654
"popup-notification-panel", "endlabel", " was added."

0 commit comments

Comments
 (0)