Skip to content

Commit ed9cfdd

Browse files
committed
Update example.com hyperlink
1 parent bf7c328 commit ed9cfdd

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

tests/menus/test_tab_context_menu_actions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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()

tests/tabs/test_open_new_tab_via_hyperlink.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from modules.browser_object import ContextMenu
55
from modules.page_object import ExamplePage
66

7-
87
URL = "https://www.iana.org/help/example-domains"
98

109

tests/tabs/test_pin_tab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
from modules.browser_object import ContextMenu, TabBar
55

6-
76
NUM_TABS = 5
87

8+
99
@pytest.fixture()
1010
def test_case():
1111
return "134722"

tests/tabs/test_reopen_tab_through_context_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
from modules.browser_object import ContextMenu, TabBar
55

6-
76
TABS_TO_OPEN = 4
87
FIRST_URL = "about:about"
98
SECOND_URL = "about:robots"
109

10+
1111
@pytest.fixture()
1212
def test_case():
1313
return "134648"

0 commit comments

Comments
 (0)