1
- from platform import system
2
-
3
1
import pytest
4
2
from selenium .webdriver import Firefox
5
3
@@ -26,7 +24,6 @@ def temp_selectors():
26
24
TEST_URL = "https://addons.mozilla.org/en-US/firefox/addon/popup-blocker/"
27
25
28
26
29
- @pytest .mark .skipif (system ().lower ().startswith ("linux" ), reason = "Bug 1983280" )
30
27
def test_webextension_completed_installation_successfully_displayed (
31
28
driver : Firefox , temp_selectors
32
29
):
@@ -46,11 +43,12 @@ def test_webextension_completed_installation_successfully_displayed(
46
43
nav .click_on ("popup-notification-add" )
47
44
48
45
# The WebExtension completed installation panel is successfully displayed
46
+ nav .element_visible ("popup-notification-panel" )
49
47
nav .expect_element_attribute_contains (
50
- "popup-notification-primary-button " , "label " , "OK "
48
+ "popup-notification-panel " , "name " , "Popup Blocker (strict) "
51
49
)
52
50
nav .expect_element_attribute_contains (
53
- "popup-notification-panel " , "name " , "Popup Blocker (strict) "
51
+ "popup-notification-primary-button " , "label " , "OK "
54
52
)
55
53
nav .expect_element_attribute_contains (
56
54
"popup-notification-panel" , "endlabel" , " was added."
0 commit comments