File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ def test_duplicate_tab(driver: Firefox):
2828
2929 tabs_to_open = 4
3030
31- # open some tabs
31+ # Open some tabs
3232 for i in range (tabs_to_open ):
3333 driver .get (links [i ])
3434 tabs .new_tab_by_button ()
3535 driver .switch_to .window (driver .window_handles [i + 1 ])
3636
37- # context click
37+ # Context click
3838 first_tab = tabs .get_tab (1 )
3939 tabs .context_click (first_tab )
4040 tab_context_menu .click_and_hide_menu ("context-menu-duplicate-tab" )
4141
42- # get the current tab and assert the url
42+ # Get the current tab and assert the url
4343 driver .switch_to .window (driver .window_handles [tabs_to_open + 1 ])
4444 current_page = driver .current_url
4545 assert current_page == links [0 ]
@@ -54,7 +54,7 @@ def test_close_multiple_tabs_to_right(driver: Firefox):
5454
5555 tabs_to_open = 4
5656
57- # open some tabs
57+ # Open some tabs
5858 for i in range (tabs_to_open ):
5959 driver .get (links [i ])
6060 tabs .new_tab_by_button ()
Original file line number Diff line number Diff line change 44from modules .browser_object import ContextMenu
55from modules .page_object import ExamplePage
66
7-
87URL = "https://www.iana.org/help/example-domains"
98
109
Original file line number Diff line number Diff line change 33
44from modules .browser_object import ContextMenu , TabBar
55
6-
76NUM_TABS = 5
87
8+
99@pytest .fixture ()
1010def test_case ():
1111 return "134722"
Original file line number Diff line number Diff line change 33
44from modules .browser_object import ContextMenu , TabBar
55
6-
76TABS_TO_OPEN = 4
87FIRST_URL = "about:about"
98SECOND_URL = "about:robots"
109
10+
1111@pytest .fixture ()
1212def test_case ():
1313 return "134648"
You can’t perform that action at this time.
0 commit comments