diff --git a/src/tests/test_main.py b/src/tests/test_main.py index 0502aed..e4fefa4 100644 --- a/src/tests/test_main.py +++ b/src/tests/test_main.py @@ -950,9 +950,9 @@ class Row(TypedDict): ) ) - await page.locator('[role="cell"]:has-text("Jacob")').last().click() - await page.locator('[role="cell"]:has-text("Alex")').last().click() - await page.locator('[role="cell"]:has-text("Dan")').last().click() + await page.locator('[role="cell"]:has-text("Jacob")').nth(1).click() + await page.locator('[role="cell"]:has-text("Alex")').nth(1).click() + await page.locator('[role="cell"]:has-text("Dan")').nth(1).click() await transactions.press_continue() await transactions.expect_success(firstName="Dan", lastName="Philibin")