Skip to content

Commit 4cb9879

Browse files
adrianoaru-nhsVictor Soares
authored andcommitted
CHanged locator in line 57 to be more generic
1 parent 7f9a812 commit 4cb9879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_call_and_recall_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_view_an_invitation_plan(page: Page) -> None:
5454
page.get_by_role("link", name="BCS009").click()
5555

5656
# Select an invitation plan
57-
page.get_by_role("row", name="07 May 2024 16:43:57").get_by_role("link").click()
57+
page.get_by_role("row").nth(1).get_by_role("link").click()
5858

5959
# Verify invitation page is displayed
6060
expect(page.locator("#page-title")).to_contain_text("View a plan")

0 commit comments

Comments
 (0)