Playwright Tests #115
Triggered via deployment status
April 8, 2025 22:06
vercel[bot]
created
15d90dc
Status
Failure
Total duration
19m 57s
Artifacts
1
Annotations
10 errors, 1 warning, and 1 notice
[firefox] › e2e/01_protocols.spec.ts:18:3 › Protocols page › should match visual snapshot:
e2e/01_protocols.spec.ts#L20
1) [firefox] › e2e/01_protocols.spec.ts:18:3 › Protocols page › should match visual snapshot ─────
Error: A snapshot doesn't exist at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts-snapshots/protocols-page-firefox-linux.png, writing actual.
18 | test('should match visual snapshot', async ({ page }) => {
19 | // validate screenshot
> 20 | await expect.soft(page).toHaveScreenshot('protocols-page.png');
| ^
21 | });
22 |
23 | test('should upload new protocol', async ({ page }) => {
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:20:5
|
[firefox] › e2e/01_protocols.spec.ts:32:3 › Protocols page › should delete protocol:
e2e/01_protocols.spec.ts#L1
2) [firefox] › e2e/01_protocols.spec.ts:32:3 › Protocols page › should delete protocol ───────────
Test timeout of 60000ms exceeded.
|
[firefox] › e2e/01_protocols.spec.ts:32:3 › Protocols page › should delete protocol:
e2e/01_protocols.spec.ts#L35
2) [firefox] › e2e/01_protocols.spec.ts:32:3 › Protocols page › should delete protocol ───────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('menuitem').nth(1)
33 | // find the table row with the protocol we want to delete
34 | await page.getByTestId('actions-dropdown-protocols').first().click();
> 35 | await page.getByRole('menuitem').nth(1).click();
| ^
36 | await page.getByTestId('confirm-delete-protocols-button').click();
37 |
38 | // Verify the protocol is no longer in the table
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:35:45
|
[firefox] › e2e/01_protocols.spec.ts:42:3 › Protocols page › should copy anonymous participation url and navigate to it:
e2e/01_protocols.spec.ts#L46
3) [firefox] › e2e/01_protocols.spec.ts:42:3 › Protocols page › should copy anonymous participation url and navigate to it
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'https://fresco-sandbox-mppcx00y3-network-canvas-f4790d84.vercel.app/onboard' }) resolved to 2 elements:
1) <button class="inline-flex items-center justify-center rounded-full font-semibold ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 text-nowrap truncate bg-accent text-accent-foreground hover:bg-accent/90 h-6 px-3 text-xs">…</button> aka getByRole('button', { name: 'https://fresco-sandbox-mppcx00y3-network-canvas-f4790d84.vercel.app/onboard/cm991xttb0000l6046cezp9ai', exact: true })
2) <button class="inline-flex items-center justify-center rounded-full font-semibold ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 text-nowrap truncate bg-accent text-accent-foreground hover:bg-accent/90 h-6 px-3 text-xs">…</button> aka getByRole('button', { name: 'https://fresco-sandbox-mppcx00y3-network-canvas-f4790d84.vercel.app/onboard/cm991yc2d0008l6045rf1ops2', exact: true })
Call log:
- waiting for getByRole('button', { name: 'https://fresco-sandbox-mppcx00y3-network-canvas-f4790d84.vercel.app/onboard' })
44 | baseURL,
45 | }) => {
> 46 | await page.getByRole('button', { name: `${baseURL}/onboard` }).click();
| ^
47 | const copiedUrl = await page.evaluate(() => navigator.clipboard.readText());
48 | // eslint-disable-next-line no-console
49 | console.log('Copied URL:', copiedUrl);
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:46:68
|
[firefox] › e2e/01_protocols.spec.ts:60:3 › Complete Sample Protocol interview › Information interfaces and nav buttons:
e2e/01_protocols.spec.ts#L1
4) [firefox] › e2e/01_protocols.spec.ts:60:3 › Complete Sample Protocol interview › Information interfaces and nav buttons
Test timeout of 60000ms exceeded.
|
[firefox] › e2e/01_protocols.spec.ts:60:3 › Complete Sample Protocol interview › Information interfaces and nav buttons:
e2e/01_protocols.spec.ts#L64
4) [firefox] › e2e/01_protocols.spec.ts:60:3 › Complete Sample Protocol interview › Information interfaces and nav buttons
Error: expect(locator).toBeVisible()
Locator: getByTestId('information-interface-title')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 60000ms
- waiting for getByTestId('information-interface-title')
62 |
63 | await page.goto(`${baseInterviewURL}?step=0`);
> 64 | await expect(page.getByTestId('information-interface-title')).toBeVisible();
| ^
65 | await page.getByTestId('navigation-button').nth(1).click();
66 | await expect(page).toHaveURL(`${baseInterviewURL}?step=1`);
67 | await expect(page.getByTestId('information-interface-title')).toBeVisible();
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:64:67
|
[firefox] › e2e/01_protocols.spec.ts:71:3 › Complete Sample Protocol interview › Ego form - consent:
e2e/01_protocols.spec.ts#L1
5) [firefox] › e2e/01_protocols.spec.ts:71:3 › Complete Sample Protocol interview › Ego form - consent
Test timeout of 60000ms exceeded.
|
[firefox] › e2e/01_protocols.spec.ts:71:3 › Complete Sample Protocol interview › Ego form - consent:
e2e/01_protocols.spec.ts#L73
5) [firefox] › e2e/01_protocols.spec.ts:71:3 › Complete Sample Protocol interview › Ego form - consent
Error: expect(locator).toBeVisible()
Locator: getByTestId('ego-form-title')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 60000ms
- waiting for getByTestId('ego-form-title')
71 | test('Ego form - consent', async ({ page }) => {
72 | await page.goto(`${baseInterviewURL}?step=3`);
> 73 | await expect(page.getByTestId('ego-form-title')).toBeVisible();
| ^
74 | await page.getByTestId('boolean-option').nth(0).click();
75 | await page.getByTestId('boolean-reset').click();
76 | await page.getByTestId('boolean-option').nth(0).click();
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:73:54
|
[firefox] › e2e/01_protocols.spec.ts:80:3 › Complete Sample Protocol interview › Ego form:
e2e/01_protocols.spec.ts#L1
6) [firefox] › e2e/01_protocols.spec.ts:80:3 › Complete Sample Protocol interview › Ego form ─────
Test timeout of 60000ms exceeded.
|
[firefox] › e2e/01_protocols.spec.ts:80:3 › Complete Sample Protocol interview › Ego form:
e2e/01_protocols.spec.ts#L82
6) [firefox] › e2e/01_protocols.spec.ts:80:3 › Complete Sample Protocol interview › Ego form ─────
Error: expect(locator).toBeVisible()
Locator: getByTestId('ego-form-title')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 60000ms
- waiting for getByTestId('ego-form-title')
80 | test('Ego form', async ({ page }) => {
81 | await page.goto(`${baseInterviewURL}?step=4`);
> 82 | await expect(page.getByTestId('ego-form-title')).toBeVisible();
| ^
83 | await page.getByTestId('navigation-button').nth(1).click();
84 | // required fields
85 | expect(await page.getByTestId('form-field-text-error').count()).toBe(2);
at /home/runner/work/Fresco/Fresco/e2e/01_protocols.spec.ts:82:54
|
Slow Test:
[setup db] › e2e/global.setup.ts#L1
[setup db] › e2e/global.setup.ts took 48.8s
|
🎭 Playwright Run Summary
19 failed
[firefox] › e2e/01_protocols.spec.ts:18:3 › Protocols page › should match visual snapshot ──────
[firefox] › e2e/01_protocols.spec.ts:32:3 › Protocols page › should delete protocol ────────────
[firefox] › e2e/01_protocols.spec.ts:42:3 › Protocols page › should copy anonymous participation url and navigate to it
[firefox] › e2e/01_protocols.spec.ts:60:3 › Complete Sample Protocol interview › Information interfaces and nav buttons
[firefox] › e2e/01_protocols.spec.ts:71:3 › Complete Sample Protocol interview › Ego form - consent
[firefox] › e2e/01_protocols.spec.ts:80:3 › Complete Sample Protocol interview › Ego form ──────
[firefox] › e2e/01_protocols.spec.ts:101:3 › Complete Sample Protocol interview › Name Generator - Quick Add
[firefox] › e2e/01_protocols.spec.ts:114:3 › Complete Sample Protocol interview › Name Generator - side panel
[firefox] › e2e/01_protocols.spec.ts:126:3 › Complete Sample Protocol interview › Name Generator - Form
[firefox] › e2e/01_protocols.spec.ts:141:3 › Complete Sample Protocol interview › Name Generator - Roster
[firefox] › e2e/01_protocols.spec.ts:174:3 › Complete Sample Protocol interview › Sociogram ────
[firefox] › e2e/01_protocols.spec.ts:237:3 › Complete Sample Protocol interview › dyad census ──
[firefox] › e2e/01_protocols.spec.ts:250:3 › Complete Sample Protocol interview › sociogram - select
[firefox] › e2e/01_protocols.spec.ts:267:3 › Complete Sample Protocol interview › ordinal bins ─
[firefox] › e2e/01_protocols.spec.ts:278:3 › Complete Sample Protocol interview › categorical bins
[firefox] › e2e/01_protocols.spec.ts:300:3 › Complete Sample Protocol interview › narrative ────
[firefox] › e2e/02_participants.spec.ts:14:3 › Participants page › should match visual snapshot
[firefox] › e2e/03_interviews.spec.ts:9:3 › Interviews page › should display completed interview
[firefox] › e2e/03_interviews.spec.ts:15:3 › Interviews page › should export interview data ────
1 skipped
11 passed (18.1m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
playwright-report
Expired
|
33.1 MB |
sha256:d27a8601d7ba6472d57ec112eb26f6576b2e984d461310ad35609cee5ebd4b55
|
|