Skip to content

Commit

Permalink
test: add Back Button
Browse files Browse the repository at this point in the history
  • Loading branch information
MeesoPost committed Dec 30, 2024
1 parent 011e03a commit 2f67942
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/e2e/step1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,19 @@ parameters.slice(0, 1).forEach(async ({ name, testConfig, forcedColors }) => {

await myLocationButton.click()
})

test('Back Button', async ({ context, page }) => {
formStateFixture(context, { description: 'lamp' })
await page.goto(pageURL)

const backButton = page.getByRole('button', { name: 'Vorige' })

await expect(backButton).toBeVisible()

await backButton.focus()

await backButton.click()
})
})
})
})
Expand Down

0 comments on commit 2f67942

Please sign in to comment.