Skip to content

Commit 194052b

Browse files
committed
update chooser; force more runs
1 parent 7727063 commit 194052b

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

choose_ci_set.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ def dedupe(run_list: list, slash: str) -> list:
9393
for j, entry_b in enumerate(run_list):
9494
if i == j:
9595
continue
96-
candidate = max((i, j))
97-
if entry_a in entry_b and candidate not in removes:
98-
removes.append(candidate)
96+
candidate = max((entry_a, entry_b))
97+
cand_index = run_list.index(candidate)
98+
if entry_a in entry_b and cand_index not in removes:
99+
removes.append(cand_index)
99100

100101
removes.sort(reverse=True)
101102
for remove in removes:

tests/password_manager/test_add_password_non_ascii_chars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_add_password_non_ascii_chars(driver: Firefox):
3434
)
3535

3636
# Check password added in the listbox
37+
about_logins.element_visible("login-list-item")
3738
logins = about_logins.get_elements("login-list-item")
3839
mozilla_login = next(
3940
login for login in logins if login.get_attribute("title") == WEBSITE_ADDRESS

tests/password_manager/test_primary_password_triggered_on_about_logins_access.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_primary_password_triggered_on_about_logins_access_via_hamburger_menu(
6666
)
6767

6868
# Attempt to view the saved password in order to trigger the primary password prompt
69+
about_logins.element_visible("show-password-checkbox")
6970
about_logins.click_on("show-password-checkbox")
7071

7172
# Dismiss the primary password prompt without entering the password

tests/preferences/test_clear_cookie_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from modules.page_object import AboutPrefs
55
from modules.util import BrowserActions
66

7+
"""Force rerun"""
8+
79

810
@pytest.fixture()
911
def test_case():

tests/security_and_privacy/test_blocking_fingerprinters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from modules.browser_object_navigation import Navigation
55
from modules.page_object_prefs import AboutPrefs
66

7+
"""Force rerun"""
8+
79

810
@pytest.fixture()
911
def test_case():

0 commit comments

Comments
 (0)