From dede99bfcf35d438a4e14c0c87524354d224a4f6 Mon Sep 17 00:00:00 2001 From: Tracy Date: Fri, 15 Aug 2025 11:15:50 -0500 Subject: [PATCH] Fix failing test on Linux --- ...nsion_completed_installation_successfully_displayed.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/notifications/test_webextension_completed_installation_successfully_displayed.py b/tests/notifications/test_webextension_completed_installation_successfully_displayed.py index c98822ec..40fff715 100644 --- a/tests/notifications/test_webextension_completed_installation_successfully_displayed.py +++ b/tests/notifications/test_webextension_completed_installation_successfully_displayed.py @@ -1,5 +1,3 @@ -from platform import system - import pytest from selenium.webdriver import Firefox @@ -26,7 +24,6 @@ def temp_selectors(): TEST_URL = "https://addons.mozilla.org/en-US/firefox/addon/popup-blocker/" -@pytest.mark.skipif(system().lower().startswith("linux"), reason="Bug 1983280") def test_webextension_completed_installation_successfully_displayed( driver: Firefox, temp_selectors ): @@ -46,11 +43,12 @@ def test_webextension_completed_installation_successfully_displayed( nav.click_on("popup-notification-add") # The WebExtension completed installation panel is successfully displayed + nav.element_visible("popup-notification-panel") nav.expect_element_attribute_contains( - "popup-notification-primary-button", "label", "OK" + "popup-notification-panel", "name", "Popup Blocker (strict)" ) nav.expect_element_attribute_contains( - "popup-notification-panel", "name", "Popup Blocker (strict)" + "popup-notification-primary-button", "label", "OK" ) nav.expect_element_attribute_contains( "popup-notification-panel", "endlabel", " was added."