Skip to content

test(davinci-client): virtual authenticator e2e tests #2294

test(davinci-client): virtual authenticator e2e tests

test(davinci-client): virtual authenticator e2e tests #2294

Triggered via pull request December 9, 2025 23:57
Status Failure
Total duration 3m 0s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 1 warning, and 9 notices
pr
Process completed with exit code 1.
src/basic.test.ts:96:1 › Enter a bad username/password: src/basic.test.ts#L116
3) src/basic.test.ts:96:1 › Enter a bad username/password, then enter a good username/password ─── Error: expect(locator).not.toBeEmpty() failed Locator: getByTestId('authCode') Expected: not empty Timeout: 5000ms Error: element(s) not found Call log: - Expect "not toBeEmpty" with timeout 5000ms - waiting for getByTestId('authCode') 114 | // just checking that these values on the page are not empty 115 | // meaning we got something back from the server > 116 | await expect(authCode).not.toBeEmpty(); | ^ 117 | await expect(session).not.toBeEmpty(); 118 | 119 | await page.getByRole('button', { name: 'Get Tokens' }).click(); at /home/workflows/workspace/e2e/davinci-suites/src/basic.test.ts:116:30
src/basic.test.ts:53:1 › ensure query params passed to start are sent off in authorize call: src/basic.test.ts#L83
2) src/basic.test.ts:53:1 › ensure query params passed to start are sent off in authorize call ─── Error: expect(locator).toBeVisible() failed Locator: getByText('Complete') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Complete') 81 | await page.getByText('Sign On').click(); 82 | > 83 | await expect(page.getByText('Complete')).toBeVisible(); | ^ 84 | 85 | const sessionToken = await page.locator('#sessionToken').innerText(); 86 | const authCode = await page.locator('#authCode').innerText(); at /home/workflows/workspace/e2e/davinci-suites/src/basic.test.ts:83:44
src/basic.test.ts:11:1 › Test happy paths on test page: src/basic.test.ts#L24
1) src/basic.test.ts:11:1 › Test happy paths on test page ──────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByText('Complete') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Complete') 22 | await page.getByRole('button', { name: 'Sign On' }).click(); 23 | > 24 | await expect(page.getByText('Complete')).toBeVisible(); | ^ 25 | 26 | const sessionToken = await page.locator('#sessionToken').innerText(); 27 | const authCode = await page.locator('#authCode').innerText(); at /home/workflows/workspace/e2e/davinci-suites/src/basic.test.ts:24:44
src/middleware.test.ts:11:1 › Test middleware on test page: src/middleware.test.ts#L33
1) src/middleware.test.ts:11:1 › Test middleware on test page ──────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByText('Complete') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Complete') 31 | await page.getByRole('button', { name: 'Sign On' }).click(); 32 | > 33 | await expect(page.getByText('Complete')).toBeVisible(); | ^ 34 | 35 | const startRequest = networkArray.find((req) => req.url.includes('/authorize')); 36 | const nextRequest = networkArray.find((req) => req.url.includes('/customHTMLTemplate')); at /home/workflows/workspace/e2e/davinci-suites/src/middleware.test.ts:33:44
src/logging.test.ts:41:1 › Test log level without custom logger: src/logging.test.ts#L62
2) src/logging.test.ts:41:1 › Test log level without custom logger ─────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByText('Complete') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Complete') 60 | await page.getByRole('button', { name: 'Sign On' }).click(); 61 | > 62 | await expect(page.getByText('Complete')).toBeVisible(); | ^ 63 | 64 | messageArray.forEach((msg) => { 65 | // Ensure a debug message is present, but don't check the whole contents at /home/workflows/workspace/e2e/davinci-suites/src/logging.test.ts:62:44
src/logging.test.ts:11:1 › Test debug log level and custom logger functions: src/logging.test.ts#L32
1) src/logging.test.ts:11:1 › Test debug log level and custom logger functions ─────────────────── Error: expect(locator).toBeVisible() failed Locator: getByText('Complete') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByText('Complete') 30 | await page.getByRole('button', { name: 'Sign On' }).click(); 31 | > 32 | await expect(page.getByText('Complete')).toBeVisible(); | ^ 33 | 34 | // Just test if the custom debug function is called 35 | expect( at /home/workflows/workspace/e2e/davinci-suites/src/logging.test.ts:32:44
src/fido.test.ts:33:1 › Register and authenticate with webauthn device: src/utils/async-events.ts#L46
1) src/fido.test.ts:33:1 › Register and authenticate with webauthn device ──────────────────────── Error: page.goto: net::ERR_NAME_NOT_RESOLVED at https://aj-test.pi.scrd.run:5829/?acr_values=ccff5c09002042bd86104da45cd7102e Call log: - navigating to "https://aj-test.pi.scrd.run:5829/?acr_values=ccff5c09002042bd86104da45cd7102e", waiting until "networkidle" at utils/async-events.ts:46 44 | }, 45 | async navigate(route) { > 46 | await page.goto(route, { waitUntil: 'networkidle' }); | ^ 47 | }, 48 | async pressEnter(endpoint) { 49 | if (!endpoint) at navigate (/home/workflows/workspace/e2e/davinci-suites/src/utils/async-events.ts:46:18) at /home/workflows/workspace/e2e/davinci-suites/src/fido.test.ts:36:9
pr
No files were found with the provided path: ./e2e/*/.playwright/** ./e2e/**/.playwright/**. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 failed src/basic.test.ts:11:1 › Test happy paths on test page ───────────────────────────────────────── src/basic.test.ts:53:1 › ensure query params passed to start are sent off in authorize call ──── src/basic.test.ts:96:1 › Enter a bad username/password, then enter a good username/password ────
🎭 Playwright Run Summary
1 failed src/middleware.test.ts:11:1 › Test middleware on test page ─────────────────────────────────────
🎭 Playwright Run Summary
2 failed src/logging.test.ts:11:1 › Test debug log level and custom logger functions ──────────────────── src/logging.test.ts:41:1 › Test log level without custom logger ────────────────────────────────
🎭 Playwright Run Summary
1 skipped
🎭 Playwright Run Summary
1 skipped
🎭 Playwright Run Summary
2 passed (25.9s)
🎭 Playwright Run Summary
2 passed (13.8s)
🎭 Playwright Run Summary
2 passed (12.6s)
🎭 Playwright Run Summary
1 failed src/fido.test.ts:33:1 › Register and authenticate with webauthn device ─────────────────────────