Skip to content

Commit 4a87167

Browse files
committed
Disable scrolling test
1 parent e767119 commit 4a87167

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

modules/browser_object_navigation.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -661,12 +661,15 @@ def expect_bookmarks_toolbar_visibility(self, expected: bool) -> None:
661661
)
662662

663663
#
664-
def set_site_autoplay_permission(self, settings: Literal["allow-audio-video", "block-audio-video", "allow-audio-only"]) -> BasePage:
664+
def set_site_autoplay_permission(
665+
self,
666+
settings: Literal["allow-audio-video", "block-audio-video", "allow-audio-only"],
667+
) -> BasePage:
665668
"""
666669
Open the Site audio-video permission panel and set a specific autoplay setting.
667670
668-
Arguments:
669-
settings: "allow-audio-video" → Allow Audio and Video, "block-audio-video" → Block Audio and Video,
671+
Arguments:
672+
settings: "allow-audio-video" → Allow Audio and Video, "block-audio-video" → Block Audio and Video,
670673
"allow-audio-only" → Allow Audio but block Video
671674
"""
672675
self.click_on("autoplay-icon-blocked")
@@ -686,14 +689,13 @@ def set_site_autoplay_permission(self, settings: Literal["allow-audio-video", "b
686689
return self
687690

688691
def verify_autoplay_state(self, expected: Literal["allow", "block"]) -> None:
689-
""" Verify the current state of the autoplay permission panel and icon.
690-
Arguments:
691-
expected: "allow" → Allow Audio and Video, "block" → Block Audio and Video
692+
"""Verify the current state of the autoplay permission panel and icon.
693+
Arguments:
694+
expected: "allow" → Allow Audio and Video, "block" → Block Audio and Video
692695
"""
693696
if expected == "allow":
694697
self.element_visible("permission-popup-audio-video-allowed")
695698
self.element_not_visible("autoplay-icon-blocked")
696699
else:
697700
self.element_visible("permission-popup-audio-video-blocked")
698701
self.element_visible("autoplay-icon-blocked")
699-

modules/page_object_prefs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,9 @@ def open_autoplay_modal(self) -> BasePage:
572572
return self
573573

574574
def set_autoplay_setting_in_preferences(
575-
self, settings: Literal["allow-audio-video", "block-audio-video", "allow-audio-only"]) -> BasePage:
575+
self,
576+
settings: Literal["allow-audio-video", "block-audio-video", "allow-audio-only"],
577+
) -> BasePage:
576578
"""
577579
Open the Autoplay settings panel and choose a setting for all sites.
578580
Arguments:

tests/scrolling_panning_zooming/test_zoom_text_only.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def reject_consent_page(web_page: GenericPage):
8484
pass
8585

8686

87+
@pytest.mark.skip(reason="Tracked in bug 1991139")
8788
@pytest.mark.ci
8889
@pytest.mark.noxvfb
8990
def test_zoom_text_only_from_settings(

0 commit comments

Comments
 (0)