fix: clear notifications via API (#35)
Test and Lint / backend-test (push) Successful in 1m37s
Test and Lint / frontend-test (push) Successful in 1m55s

This commit is contained in:
Paul Nothaft
2025-10-13 17:41:06 +02:00
parent 3c2a79a31a
commit 013be18d98
4 changed files with 159 additions and 35 deletions
+5 -1
View File
@@ -87,7 +87,11 @@ test('admin login and gallery viewing smoke test', async ({ page }) => {
await page.goto(shareLink);
const passwordField = page.getByPlaceholder(/gallery password/i);
if (await passwordField.count()) {
await passwordField.fill(GALLERY_PASSWORD);
try {
await passwordField.fill(GALLERY_PASSWORD, { timeout: 2000 });
} catch {
// Field may disappear if gallery bypasses password; ignore.
}
}
const viewButton = page.getByRole('button', { name: /View Gallery/i });