Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Jul 26, 2024
1 parent 896c0c3 commit f0cf9d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/vike-node/.testRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ function testRun(cmd: 'npm run dev' | 'npm run prod') {
test('argon2', async () => {
await page.goto(`${getServerUrl()}/argon2`)
expect(await page.textContent('button[type="submit"]')).toBe('Sign in')
await page.fill('input[type="text"]', 'correct-password')
await autoRetry(async () => {
await page.fill('input[type="text"]', '')
await page.fill('input[type="text"]', 'correct-password')
await page.click('button[type="submit"]')
expect(await page.textContent('body')).toContain('Valid password')
})
Expand Down

0 comments on commit f0cf9d0

Please sign in to comment.