Skip to content

Streamline visual regression tests by making CI maintain visual snapshots #5

Streamline visual regression tests by making CI maintain visual snapshots

Streamline visual regression tests by making CI maintain visual snapshots #5

Triggered via issue March 26, 2025 16:42
@buckhaltbuckhalt
commented on #324 88a5d3d
Status Failure
Total duration 3m 43s
Artifacts

update-snapshots.yml

on: issue_comment
Update Snapshots
3m 34s
Update Snapshots
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
[setup db] › e2e/global.setup.ts:12:1 › create test database and setup app: e2e/global.setup.ts#L149
1) [setup db] › e2e/global.setup.ts:12:1 › create test database and setup app ──────────────────── Error: Timed out 40000ms waiting for expect(locator).toBeVisible() Locator: locator('div.text-sm.opacity-90').filter({ hasText: 'Participants have been imported successfully' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 40000ms - waiting for locator('div.text-sm.opacity-90').filter({ hasText: 'Participants have been imported successfully' }) 147 | hasText: 'Participants have been imported successfully', 148 | }), > 149 | ).toBeVisible({ timeout: 40000 }); | ^ 150 | 151 | // toggle switches 152 | const anonymousRecruitmentSwitch = page.getByRole('switch').first(); at /home/runner/work/Fresco/Fresco/e2e/global.setup.ts:149:5
Update Snapshots
Process completed with exit code 1.
Slow Test: [setup db] › e2e/global.setup.ts#L1
[setup db] › e2e/global.setup.ts took 1.4m
🎭 Playwright Run Summary
1 failed [setup db] › e2e/global.setup.ts:12:1 › create test database and setup app ───────────────────── 13 did not run 1 passed (1.5m)