From fc28c2f3569d315339bf956a018546a873bd5200 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:06:39 +0000 Subject: [PATCH] fix e2e --- tests/e2e/login.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/login.spec.ts b/tests/e2e/login.spec.ts index 8439e3b9755..4d02949ff6a 100644 --- a/tests/e2e/login.spec.ts +++ b/tests/e2e/login.spec.ts @@ -11,6 +11,7 @@ test('password login', async ({ page }) => { await page.locator('div').filter({ hasText: /^Password$/ }).nth(3).click(); await page.getByLabel('Password').fill(password); await page.getByRole('button', { name: 'Login', exact: true }).click(); + await page.getByRole('button', { name: "I'm already set up, just bring me to the homepage" }).click(); await expect(page.getByRole('navigation')).toContainText(name); }); @@ -113,6 +114,7 @@ test('settings page verify oidc', async ({ page }) => { await page.getByLabel('Password').click(); await page.getByLabel('Password').fill('MyPassword'); await page.getByRole('button', { name: 'Login', exact: true }).click(); + await page.getByRole('button', { name: "I'm already set up, just bring me to the homepage" }).click(); await page.getByRole('link', { name: 'Settings' }).click(); await page.getByRole('link', { name: 'Users' }).click(); await page.getByRole('cell', { name: username, exact: true }).click();