Skip to content

E2E tests

E2E tests #148

Triggered via workflow run August 17, 2023 15:26
@wojcik91wojcik91
completed 14f6fbd
Status Failure
Total duration 20m 12s
Artifacts

e2e.yml

on: workflow_run
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 5 warnings, and 1 notice
[chromium] › auth.spec.ts:34:5 › Login with admin user TOTP: e2e/tests/auth.spec.ts#L1
1) [chromium] › auth.spec.ts:34:5 › Login with admin user TOTP ─────────────────────────────────── Test timeout of 180000ms exceeded.
[chromium] › auth.spec.ts:34:5 › Login with admin user TOTP: e2e/utils/controllers/createUser.ts#L42
1) [chromium] › auth.spec.ts:34:5 › Login with admin user TOTP ─────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('.select-floating-ui').getByRole('button', { name: 'Admin' }) ============================================================ at ../utils/controllers/createUser.ts:42 40 | .locator('.select-floating-ui') 41 | .getByRole('button', { name: group }) > 42 | .click(); | ^ 43 | } 44 | await page.getByTestId('user-edit-save').click(); 45 | } at createUser (/runner/_work/defguard/defguard/e2e/utils/controllers/createUser.ts:42:10) at /runner/_work/defguard/defguard/e2e/tests/auth.spec.ts:36:20
[chromium] › auth.spec.ts:34:5 › Login with admin user TOTP: e2e/tests/auth.spec.ts#L1
1) [chromium] › auth.spec.ts:34:5 › Login with admin user TOTP ─────────────────────────────────── Pending operations: - locator.click at utils/controllers/createUser.ts:42:10
[chromium] › auth.spec.ts:70:5 › Add user to admin group: e2e/tests/auth.spec.ts#L1
2) [chromium] › auth.spec.ts:70:5 › Add user to admin group ────────────────────────────────────── Test timeout of 180000ms exceeded.
[chromium] › auth.spec.ts:70:5 › Add user to admin group: e2e/utils/controllers/createUser.ts#L42
2) [chromium] › auth.spec.ts:70:5 › Add user to admin group ────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('.select-floating-ui').getByRole('button', { name: 'Admin' }) ============================================================ at ../utils/controllers/createUser.ts:42 40 | .locator('.select-floating-ui') 41 | .getByRole('button', { name: group }) > 42 | .click(); | ^ 43 | } 44 | await page.getByTestId('user-edit-save').click(); 45 | } at createUser (/runner/_work/defguard/defguard/e2e/utils/controllers/createUser.ts:42:10) at /runner/_work/defguard/defguard/e2e/tests/auth.spec.ts:72:20
[chromium] › auth.spec.ts:70:5 › Add user to admin group: e2e/tests/auth.spec.ts#L1
2) [chromium] › auth.spec.ts:70:5 › Add user to admin group ────────────────────────────────────── Pending operations: - locator.click at utils/controllers/createUser.ts:42:10
test
Process completed with exit code 1.
Slow Test: e2e/[chromium] › auth.spec.ts#L1
e2e/[chromium] › auth.spec.ts took 9.5m
Slow Test: e2e/[chromium] › vpn/wizard.spec.ts#L1
e2e/[chromium] › vpn/wizard.spec.ts took 1.5m
Slow Test: e2e/[chromium] › vpn/device.spec.ts#L1
e2e/[chromium] › vpn/device.spec.ts took 1.3m
Slow Test: e2e/[chromium] › openid.spec.ts#L1
e2e/[chromium] › openid.spec.ts took 41.6s
test
No files were found with the provided path: ./e2e/playwright-report. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 failed [chromium] › auth.spec.ts:34:5 › Login with admin user TOTP ──────────────────────────────────── [chromium] › auth.spec.ts:70:5 › Add user to admin group ─────────────────────────────────────── 13 passed (14.7m)