Skip to content

Commit

Permalink
change sync button locator
Browse files Browse the repository at this point in the history
  • Loading branch information
taghreed86 committed Dec 17, 2023
1 parent 231f713 commit 987b666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/gitopssets_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def open_gitopssets_details_page(self):
self.page.get_by_role("link", name="gitopsset-configmaps").click()

def press_sync_button(self):
self.page.get_by_test_id("sync-button").click()
self.page.locator("xpath=//button[@data-testid='sync-button']").click()

def open_dev_info_configmap_details(self):
self.page.get_by_text("dev-info-configmap").click()
Expand Down

0 comments on commit 987b666

Please sign in to comment.