Streamline visual regression tests by making CI maintain visual snapshots #5
update-snapshots.yml
on: issue_comment
Update Snapshots
3m 34s
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)
|