Skip to content

Commit 8e7d4eb

Browse files
committed
Find "log" instead of "pro"
1 parent 6aa02cc commit 8e7d4eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/find_toolbar/test_find_toolbar_nav.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def test_case():
1616
TOLERANCE = 3
1717

1818
TARGET_PAGE = "about:about"
19-
PROCESSES_SELECTOR = "a[href='about:processes']"
20-
PROTECTIONS_SELECTOR = "a[href='about:protections']"
19+
LOGGING_SELECTOR = "a[href='about:logging']"
20+
LOGO_SELECTOR = "a[href='about:logo']"
2121

22-
first_match = (By.CSS_SELECTOR, PROCESSES_SELECTOR)
23-
fourth_match = (By.CSS_SELECTOR, PROTECTIONS_SELECTOR)
22+
first_match = (By.CSS_SELECTOR, LOGGING_SELECTOR)
23+
fourth_match = (By.CSS_SELECTOR, LOGO_SELECTOR)
2424

2525

2626
def are_lists_different(a: int, b: int) -> bool:
@@ -40,9 +40,9 @@ def test_find_toolbar_navigation(
4040
driver.get(TARGET_PAGE)
4141

4242
find_toolbar.open()
43-
find_toolbar.find("pro")
43+
find_toolbar.find("log")
4444
match_status = find_toolbar.match_dict
45-
assert match_status["total"] == 4
45+
assert match_status["total"] == 5
4646

4747
# Sometimes we get a match that isn't the first
4848
# (This also tests that the number is correct)

0 commit comments

Comments
 (0)