Skip to content

Commit

Permalink
test: better playwright locator.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney committed Jan 25, 2024
1 parent 162e090 commit cdb727f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/geolocation/deny.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test('Deny geolocation use selector to find stop.', async ({ page }) => {
await page.getByRole('listitem', { name: 'Selector' }).getByRole('button').click()
await expect(page.getByRole('heading', { name: 'Bus Selector' })).toBeVisible()
await page.getByText('Agency').click()
await page.getByPlaceholder('Agencies ... (64)').fill('toronto')
await page.getByLabel(/Agency/).fill('toronto')
await page.getByRole('option', { name: 'Toronto Transit Commission' }).click()
await page.getByText('Stop', { exact: true }).click()
await page.getByRole('option', { name: 'Bathurst St At Neptune Dr' }).click()
Expand Down

0 comments on commit cdb727f

Please sign in to comment.