Skip to content

Commit 758d52e

Browse files
committed
Fixed methods
1 parent 0b73308 commit 758d52e

7 files changed

+9
-9
lines changed

tests/bookmarks_and_history/test_delete_bookmarks_from_toolbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_delete_bookmarks_from_toolbar(driver: Firefox):
2626

2727
# Bookmark the given website via star button
2828
driver.get(URL_TO_BOOKMARK)
29-
nav.add_bookmark_via_star()
29+
nav.add_bookmark_via_star_icon()
3030

3131
with driver.context(driver.CONTEXT_CHROME):
3232
# Verify that the bookmark is added

tests/bookmarks_and_history/test_edit_bookmark_from_bookmark_menu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ def test_edit_bookmark_from_bookmark_menu(driver: Firefox):
2828

2929
# Bookmark the given website via bookmarks menu
3030
GenericPage(driver, url=URL_TO_BOOKMARK).open()
31-
panel.open_bookmarks_menu()
32-
nav.add_bookmark_via_menu()
31+
panel.open_bookmarks_panel_from_hamburger_menu()
32+
nav.add_bookmark_via_star_icon()
3333

3434
with driver.context(driver.CONTEXT_CHROME):
3535
# enable add a tag to a bookmark in the bookmark panel
3636
driver.execute_script(ENABLE_ADD_TAG)
3737

3838
# Open the Hamburger menu, click on the Edit This Bookmark button from the Bookmarks section
39-
panel.open_bookmarks_menu()
39+
panel.open_bookmarks_panel_from_hamburger_menu()
4040
panel.get_element("bookmark-current-tab").click()
4141

4242
# Change bookmark name, location and add a tag

tests/bookmarks_and_history/test_edit_bookmark_via_star_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_edit_bookmark_via_star_button(driver: Firefox):
2525

2626
# Bookmark the given website via star button
2727
GenericPage(driver, url=URL_TO_EDIT).open()
28-
nav.add_bookmark_via_star()
28+
nav.add_bookmark_via_star_icon()
2929

3030
# Open the edit bookmark panel and change bookmark name and location
3131
with driver.context(driver.CONTEXT_CHROME):

tests/bookmarks_and_history/test_open_all_bookmarks_from_bookmarks_toolbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_open_all_bookmarks_from_bookmarks_toolbar(driver: Firefox):
3232
urls_to_bookmark = [URL1_TO_BOOKMARK, URL2_TO_BOOKMARK, URL3_TO_BOOKMARK]
3333
for url in urls_to_bookmark:
3434
GenericPage(driver, url=url).open()
35-
nav.add_bookmark_via_star()
35+
nav.add_bookmark_via_star_icon()
3636

3737
# Load a page that we didn't bookmark, so we can ensure that we're not just picking up on that instance of the page
3838
GenericPage(driver, url=URL_NOT_BOOKMARKED).open()

tests/bookmarks_and_history/test_open_bookmark_in_new_window_via_toolbar_context_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_open_bookmark_in_new_window_via_toolbar_context_menu(driver: Firefox):
2727

2828
# Bookmark the test page via star button
2929
page.open()
30-
nav.add_bookmark_via_star()
30+
nav.add_bookmark_via_star_icon()
3131

3232
# In a new tab, right-click the bookmarked page in the toolbar and select 'Open in New Window' from the context menu
3333
with driver.context(driver.CONTEXT_CHROME):

tests/bookmarks_and_history/test_open_bookmark_in_private_window_via_toolbar_context_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_open_bookmark_in_new_private_window_via_toolbar_context_menu(driver: Fi
2727

2828
# Bookmark the test page via star button
2929
page.open()
30-
nav.add_bookmark_via_star()
30+
nav.add_bookmark_via_star_icon()
3131

3232
# In a new tab, right-click the bookmarked page in the toolbar and select 'Open in New Private Window' from the
3333
# context menu

tests/bookmarks_and_history/test_open_bookmarks_from_toolbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_open_bookmarks_from_toolbar(driver: Firefox):
2727

2828
# Bookmark the given website via star button
2929
driver.get(URL_TO_BOOKMARK)
30-
nav.add_bookmark_via_star()
30+
nav.add_bookmark_via_star_icon()
3131

3232
# Open new tab and click on the bookmark from the Bookmarks Toolbar
3333
with driver.context(driver.CONTEXT_CHROME):

0 commit comments

Comments
 (0)