Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Fix python test for select.table
Browse files Browse the repository at this point in the history
I guess `.last()` doesn't work in python playwright?
  • Loading branch information
jacobmischka committed Jun 5, 2023
1 parent 845dfbe commit da33c89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit da33c89

Please sign in to comment.