aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRon Lucke <lucke@elan-ev.de>2025-01-13 21:15:18 +0100
committerRon Lucke <lucke@elan-ev.de>2025-01-13 21:15:18 +0100
commit60f2b28874a7e3082b7806858f23bcc4a9ac064e (patch)
tree392006ce98c061ff16ab88f75c891620e22d06b6 /tests
parent5ad1fb5b6dd0a801e2f5d9fc6c0d59db831a4fd0 (diff)
Revert "fix #5107"biest-5044
This reverts commit 5ad1fb5b6dd0a801e2f5d9fc6c0d59db831a4fd0.
Diffstat (limited to 'tests')
-rw-r--r--tests/e2e/login.spec.ts2
-rw-r--r--tests/e2e/logout.spec.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/login.spec.ts b/tests/e2e/login.spec.ts
index f646272..2e859dd 100644
--- a/tests/e2e/login.spec.ts
+++ b/tests/e2e/login.spec.ts
@@ -55,7 +55,7 @@ test.describe('Loggin In - HTML Web Form @auth', () => {
await benutzername.fill(credentials.autor.username);
await passwort.fill(credentials.autor.password);
await submit.click();
- await expect(page.locator('#notification-wrapper')).toBeVisible();
+ await expect(page.locator('#avatar-menu-container')).toBeVisible();
await expect(page).toHaveURL(`${baseURL}dispatch.php/start`);
});
});
diff --git a/tests/e2e/logout.spec.ts b/tests/e2e/logout.spec.ts
index f969df9..bd87e0b 100644
--- a/tests/e2e/logout.spec.ts
+++ b/tests/e2e/logout.spec.ts
@@ -7,7 +7,7 @@ test.describe('Logging Out', () => {
test('should take us back to the homepage', async ({ page, baseURL }) => {
await page.goto(baseURL);
- await expect(page.locator('#notification-wrapper')).toBeVisible();
+ await expect(page.locator('#avatar-menu-container')).toBeVisible();
await page.getByTitle('Testaccount Dozent').click();
await page.getByRole('link', { name: 'Logout' }).click();
await expect(page).toHaveURL(/index\.php.*logout=true/);