Skip to content

Commit 3146e4d

Browse files
committed
skip test in linux
1 parent dd4ea70 commit 3146e4d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

modules/page_object_prefs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import datetime
2-
import logging
32
import re
43
from time import sleep
54
from typing import List

tests/password_manager/test_primary_password_triggered_on_about_logins_access.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from platform import system
2+
13
import pytest
24
from selenium.webdriver import Firefox, Keys
35

@@ -16,6 +18,9 @@ def test_case():
1618
return "2245199"
1719

1820

21+
@pytest.mark.skipif(
22+
system().lower().startswith("linux"), reason="Currently unstable in Linux"
23+
)
1924
def test_primary_password_triggered_on_about_logins_access_via_hamburger_menu(
2025
driver: Firefox,
2126
):

tests/tabs/test_reopen_tab_through_history_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_reopen_tab_through_history_menu(driver: Firefox):
3838

3939
# close the first 6 tabs
4040
for i in range(num_tabs):
41-
tabs.close_tab(tabs.get_tab(num_tabs - i))
41+
tabs.close_tab(tabs.get_tab(i + 1))
4242

4343
# open menu bar and reopen recently closed tabs
4444
panel.open()

0 commit comments

Comments
 (0)