From f0cf9d02e7aaf0d0d71032bef7d012150970d750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20D=C3=A1niel?= Date: Fri, 26 Jul 2024 20:30:17 +0200 Subject: [PATCH] ci --- test/vike-node/.testRun.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/vike-node/.testRun.ts b/test/vike-node/.testRun.ts index 11fb0e7..e4b4e60 100644 --- a/test/vike-node/.testRun.ts +++ b/test/vike-node/.testRun.ts @@ -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') })