File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ def test_case():
16
16
TOLERANCE = 3
17
17
18
18
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 ']"
21
21
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 )
24
24
25
25
26
26
def are_lists_different (a : int , b : int ) -> bool :
@@ -40,9 +40,9 @@ def test_find_toolbar_navigation(
40
40
driver .get (TARGET_PAGE )
41
41
42
42
find_toolbar .open ()
43
- find_toolbar .find ("pro " )
43
+ find_toolbar .find ("log " )
44
44
match_status = find_toolbar .match_dict
45
- assert match_status ["total" ] == 4
45
+ assert match_status ["total" ] == 5
46
46
47
47
# Sometimes we get a match that isn't the first
48
48
# (This also tests that the number is correct)
You can’t perform that action at this time.
0 commit comments