1- from platform import system
2-
31import pytest
42from selenium .webdriver import Firefox
53
@@ -26,7 +24,6 @@ def temp_selectors():
2624TEST_URL = "https://addons.mozilla.org/en-US/firefox/addon/popup-blocker/"
2725
2826
29- @pytest .mark .skipif (system ().lower ().startswith ("linux" ), reason = "Bug 1983280" )
3027def 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