Skip to content

Commit

Permalink
test: add test for istruction video for bug report (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelChen authored Dec 10, 2024
1 parent e3cebee commit e25dddf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/bugReport.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { test } from '@playwright/test'

test('An instruction video for Report a bug', async ({ page }) => {
await page.goto('/')
await page.getByLabel('bug').locator('svg').click()
await page.getByLabel('לפתוח סרטון על העמוד הזה').locator('svg').click()
await page.locator('iframe').contentFrame().getByLabel('Play', { exact: true }).click()
await page.locator('iframe').contentFrame().getByLabel('Pause keyboard shortcut k').click()
await page.getByLabel('Close', { exact: true }).click()
await page.getByLabel('לפתוח סרטון על העמוד הזה').press('ControlOrMeta+c')
})

0 comments on commit e25dddf

Please sign in to comment.