Skip to content

Commit

Permalink
Fix playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Sep 6, 2024
1 parent 77013bb commit e922085
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playwright/tests/command-sender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,17 @@ test('ignores normal range checks', async ({ page, utils }) => {

await utils.selectTargetPacketItem('EXAMPLE', 'START')
await page.locator('[data-test=sender-history]').click()
await utils.sleep(500) // Allow focus to change
await page
.locator('[data-test="sender-history"]')
.press('ControlOrMeta+ArrowRight')
await utils.sleep(100)
await page.locator('[data-test="sender-history"]').press('ArrowLeft')
await utils.sleep(100)
await page.locator('[data-test="sender-history"]').press('ArrowLeft')
await utils.sleep(100)
await page.locator('[data-test="sender-history"]').press('ArrowLeft')
await utils.sleep(100)
await page.locator('[data-test="sender-history"]').press('5')
await utils.sleep(100)
await page.locator('[data-test="sender-history"]').press('Enter')
Expand Down

0 comments on commit e922085

Please sign in to comment.