Skip to content

Commit

Permalink
chore: resotre timestamp page test
Browse files Browse the repository at this point in the history
  • Loading branch information
shootermv committed Dec 24, 2023
1 parent 45038c5 commit 4789864
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/realtimemap.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { test } from '@playwright/test'

test('realtime-map page', async ({ page }) => {
await page.goto('/')
await page.getByText('מפה בזמן אמת', { exact: true }).click()
await page.waitForURL(/map/)
await page.getByRole('progressbar').waitFor({ state: 'hidden' })
await page.getByLabel('תאריך').fill(new Date().toLocaleDateString('en-GB'))
await page.getByLabel('בחירת תאריך').nth(1).waitFor({ state: 'detached' })
await page.getByLabel('בחירת תאריך').click()
await page.getByRole('gridcell', { name: '1', exact: true }).click()
await page.getByLabel('דקות').fill('6')
})

0 comments on commit 4789864

Please sign in to comment.