Skip to content

Commit 7a9b3b0

Browse files
authored
Merge branch 'main' into tracy/fix-broken-example.com-hyperlink
2 parents edd1c9c + 63397ea commit 7a9b3b0

14 files changed

+66
-50
lines changed

SELECTOR_INFO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3238,7 +3238,7 @@ Path to .json: modules/data/panel_ui.components.json
32383238
```
32393239
```
32403240
Selector name: panel-ui-history-recently-closed-reopen-tabs
3241-
Selector Data: toolbarbutton[class='restoreallitem subviewbutton panel-subview-footer-button']
3241+
Selector Data: toolbarbutton[class='subviewbutton subviewbutton-nav'][label='Recently closed tabs']
32423242
Description: Recently closed reopen tabs
32433243
Location: On the hamburger menu > History
32443244
Path to .json: modules/data/panel_ui.components.json

modules/browser_object_panel_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def reopen_recently_closed_tabs(self) -> BasePage:
171171
self.click_on("panel-ui-history")
172172

173173
self.click_on("panel-ui-history-recently-closed")
174-
if self.sys_platform() == "Linux":
174+
if self.sys_platform() in ("Linux", "Darwin"):
175175
sleep(2)
176176

177177
self.click_on("panel-ui-history-recently-closed-reopen-tabs")

modules/data/panel_ui.components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
},
134134

135135
"panel-ui-history-recently-closed-reopen-tabs": {
136-
"selectorData": "toolbarbutton[class='restoreallitem subviewbutton panel-subview-footer-button']",
136+
"selectorData": "toolbarbutton[class='subviewbutton subviewbutton-nav'][label='Recently closed tabs']",
137137
"strategy": "css",
138138
"groups": []
139139
},

taskcluster/kinds/new-beta-qa/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ task-defaults:
88
worker-type: t-linux-wayland
99
worker:
1010
taskcluster-proxy: true
11-
max-run-time: 1800
11+
max-run-time: 3600
1212
artifacts:
1313
- name: public/results
1414
path: checkouts/vcs/artifacts

taskcluster/kinds/new-devedition-qa/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ task-defaults:
88
worker-type: t-linux-wayland
99
worker:
1010
taskcluster-proxy: true
11-
max-run-time: 1800
11+
max-run-time: 3600
1212
artifacts:
1313
- name: public/results
1414
path: checkouts/vcs/artifacts

taskcluster/kinds/run-smoke-tests/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ task-defaults:
88
worker-type: t-linux-wayland
99
worker:
1010
taskcluster-proxy: true
11-
max-run-time: 1800
11+
max-run-time: 3600
1212
artifacts:
1313
- name: public/results
1414
path: checkouts/vcs/artifacts

tests/audio_video/test_allow_audio_video_functionality.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ def test_case():
1515

1616

1717
WIN_GHA = environ.get("GITHUB_ACTIONS") == "true" and sys.platform.startswith("win")
18+
TEST_URL = "https://www.w3schools.com/html/mov_bbb.mp4"
1819

1920

20-
TEST_URL = "https://www.mlb.com/video/rockies-black-agree-on-extension"
21-
22-
23-
@pytest.mark.skipif(WIN_GHA, reason="Test unstable in Windows Github Actions")
21+
@pytest.mark.skipif(
22+
WIN_GHA, reason="Audio playback not supported in Windows CI environment"
23+
)
2424
@pytest.mark.audio
2525
@pytest.mark.noxvfb
2626
def test_allow_audio_video_functionality(driver: Firefox):
@@ -32,9 +32,11 @@ def test_allow_audio_video_functionality(driver: Firefox):
3232
tabs = TabBar(driver)
3333
page = GenericPage(driver, url=TEST_URL)
3434

35-
# Open privacy and click on the "Settings" button from Autoplay
35+
# Open privacy and security preferences and set 'Allow Audio and Video' for autoplay
3636
about_prefs.set_autoplay_setting_in_preferences("allow-audio-video")
3737

38-
# Open the website and check if the video starts playing with sound
38+
# Open the website in a new tab and check if the video starts playing with sound
39+
tabs.new_tab_by_button()
40+
tabs.switch_to_new_tab()
3941
page.open()
40-
tabs.expect_tab_sound_status(1, tabs.MEDIA_STATUS.PLAYING)
42+
tabs.expect_tab_sound_status(2, tabs.MEDIA_STATUS.PLAYING)

tests/menus/test_tab_context_menu_close.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_copy_link(driver: Firefox):
9797

9898
# right click the hyperlink
9999
sleep(1)
100-
example.context_click("more-information")
100+
example.context_click("learn-more")
101101

102102
# click on the open in new window option
103103
sleep(1)

tests/security_and_privacy/test_open_link_in_private_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_open_link_in_private_window(driver: Firefox):
2020
nav = Navigation(driver)
2121

2222
sleep(1)
23-
example.context_click("more-information")
23+
example.context_click("learn-more")
2424
sleep(1)
2525
context_menu.click_and_hide_menu("context-menu-open-link-in-new-private-window")
2626

tests/tabs/test_open_new_bg_tab_via_mouse_and_keyboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_open_new_bg_tab_via_mouse_and_keyboard(driver: Firefox):
2121
example.open()
2222

2323
# Middle click link, verify new background tab opens with correct URL
24-
example.middle_click("more-information")
24+
example.middle_click("learn-more")
2525
example.wait_for_num_tabs(2)
2626
example.switch_to_new_tab()
2727

@@ -32,7 +32,7 @@ def test_open_new_bg_tab_via_mouse_and_keyboard(driver: Firefox):
3232
example.switch_to_new_tab()
3333

3434
# Control click link, verify new background tab opens with correct URL
35-
example.control_click("more-information")
35+
example.control_click("learn-more")
3636
example.wait_for_num_tabs(2)
3737
example.switch_to_new_tab()
3838

0 commit comments

Comments
 (0)