feat: login/logout cleanup #381
docker-compose-integration.yml
on: pull_request
docker-compose-integration
7m 16s
Annotations
3 errors and 1 notice
|
[auth-logout] › tests/auth/logout.spec.ts:5:7 › Logout Flow › user can sign out and is redirected to home:
e2e/fixtures/auth.fixture.ts#L49
2) [auth-logout] › tests/auth/logout.spec.ts:5:7 › Logout Flow › user can sign out and is redirected to home
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at ../fixtures/auth.fixture.ts:49
47 |
48 | // Wait for navigation away from home page
> 49 | await page.waitForURL((url) => url.href !== baseUrl && url.href !== `${baseUrl}/`, {
| ^
50 | timeout: 30000,
51 | });
52 | console.log(`[performLogin] Navigated to: ${page.url()}`);
at performLogin (/home/runner/work/stickerlandia/stickerlandia/e2e/fixtures/auth.fixture.ts:49:14)
at /home/runner/work/stickerlandia/stickerlandia/e2e/tests/auth/logout.spec.ts:7:5
|
|
[auth-logout] › tests/auth/logout.spec.ts:5:7 › Logout Flow › user can sign out and is redirected to home:
e2e/tests/auth/logout.spec.ts#L0
2) [auth-logout] › tests/auth/logout.spec.ts:5:7 › Logout Flow › user can sign out and is redirected to home
Test timeout of 30000ms exceeded.
|
|
[auth] › tests/auth/login.spec.ts:44:7 › Login Flow › full login flow with credential entry and post-login validation:
e2e/fixtures/post-login-validation.ts#L52
1) [auth] › tests/auth/login.spec.ts:44:7 › Login Flow › full login flow with credential entry and post-login validation
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for getByText(/Welcome Back/i) to be visible
at ../fixtures/post-login-validation.ts:52
50 | // Wait for dashboard to fully render after reload
51 | // Wait for actual content rather than container (which may be hidden during loading)
> 52 | await page.getByText(/Welcome Back/i).waitFor({ state: 'visible', timeout: 20000 });
| ^
53 |
54 | // 2. Verify welcome message with user's name is displayed
55 | // Format: "Welcome Back, {name}!"
at validateLoggedInState (/home/runner/work/stickerlandia/stickerlandia/e2e/fixtures/post-login-validation.ts:52:41)
at /home/runner/work/stickerlandia/stickerlandia/e2e/tests/auth/login.spec.ts:52:5
|
|
🎭 Playwright Run Summary
2 flaky
[auth] › tests/auth/login.spec.ts:44:7 › Login Flow › full login flow with credential entry and post-login validation
[auth-logout] › tests/auth/logout.spec.ts:5:7 › Logout Flow › user can sign out and is redirected to home
20 passed (2.0m)
|