diff --git a/static/login.html b/static/login.html index 49752b01..dd88afc3 100644 --- a/static/login.html +++ b/static/login.html @@ -95,7 +95,7 @@ > - + diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts b/tests/e2e/scenarios/01-home-and-login.spec.ts index c7014c70..62705c12 100644 --- a/tests/e2e/scenarios/01-home-and-login.spec.ts +++ b/tests/e2e/scenarios/01-home-and-login.spec.ts @@ -28,7 +28,7 @@ test('login with wrong password is rejected', async ({ page }) => { await page.locator('#login-username').fill(TEST_ADMIN.username); await page.locator('#login-password').fill('definitely-wrong-password'); - await page.locator('#login-panel button[type="submit"]').click(); + await page.locator('#login-submit').click(); const loginError = page.locator('#login-error'); await expect(loginError).toBeVisible(); diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-chromium-darwin.png index b978edf6..7f7ce629 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-darktheme-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-darktheme-chromium-darwin.png index 6fcc3f0c..baf3fc92 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-darktheme-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-darktheme-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-lightheme-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-lightheme-chromium-darwin.png index b281acd1..13d4917e 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-lightheme-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/home-files-lightheme-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/language-selector-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/language-selector-chromium-darwin.png index f4f15f88..c5a346c0 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/language-selector-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/language-selector-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-chromium-darwin.png index afe3a7b2..7798118a 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-error-chromium-darwin.png b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-error-chromium-darwin.png index a4bb11e5..8ac24f79 100644 Binary files a/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-error-chromium-darwin.png and b/tests/e2e/scenarios/01-home-and-login.spec.ts-snapshots/login-panel-error-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/dropped-files-chromium-darwin.png b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/dropped-files-chromium-darwin.png index b00b144c..5240d467 100644 Binary files a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/dropped-files-chromium-darwin.png and b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/dropped-files-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/files-with-thumbnails-chromium-darwin.png b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/files-with-thumbnails-chromium-darwin.png index 19783825..c19e2be9 100644 Binary files a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/files-with-thumbnails-chromium-darwin.png and b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/files-with-thumbnails-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-created-chromium-darwin.png b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-created-chromium-darwin.png index 26ebf3cc..e1a8ac89 100644 Binary files a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-created-chromium-darwin.png and b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-created-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-renamed-chromium-darwin.png b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-renamed-chromium-darwin.png index 0c12798d..6e7f96df 100644 Binary files a/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-renamed-chromium-darwin.png and b/tests/e2e/scenarios/02-folder-management.spec.ts-snapshots/folder-renamed-chromium-darwin.png differ diff --git a/tests/e2e/scenarios/helpers.ts b/tests/e2e/scenarios/helpers.ts index 304e6239..21054b89 100644 --- a/tests/e2e/scenarios/helpers.ts +++ b/tests/e2e/scenarios/helpers.ts @@ -44,7 +44,7 @@ export async function loginAsAdmin(page: Page) { await goToLoginPage(page); await page.locator('#login-username').fill(TEST_ADMIN.username); await page.locator('#login-password').fill(TEST_ADMIN.password); - await page.locator('#login-panel button[type="submit"]').click(); + await page.locator('#login-submit').click(); await expect(page.locator('#sidebar')).toBeVisible({ timeout: 15_000 }); // Wait for the JS app to initialise: avatar vignette present ⟹ click handler attached. await expect(page.locator('#user-avatar-btn .user-vignette')).toBeAttached({ timeout: 10_000 });