Frontend: Fixes screenshot issues #1256
runFrontendTests.yml
on: pull_request
Wait for Netlify deploy
6s
Builds frontend
1m 17s
Runs frontend unit tests
52s
Run E2E tests on deploy preview
4m 58s
Annotations
2 errors, 4 warnings, and 1 notice
[E2E_CI] › modals.ci.spec.ts:29:3 › Topic Info Modal from Map Legend › Topic Info Modal from Map Legend:
frontend/playwright-tests/modals.ci.spec.ts#L1
1) [E2E_CI] › modals.ci.spec.ts:29:3 › Topic Info Modal from Map Legend › Topic Info Modal from Map Legend
Test timeout of 120000ms exceeded.
|
[E2E_CI] › modals.ci.spec.ts:29:3 › Topic Info Modal from Map Legend › Topic Info Modal from Map Legend:
frontend/playwright-tests/modals.ci.spec.ts#L31
1) [E2E_CI] › modals.ci.spec.ts:29:3 › Topic Info Modal from Map Legend › Topic Info Modal from Map Legend
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for locator('#landingPageCTA')
- locator resolved to <button tabindex="0" type="button" id="landingPageCTA" class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary rounded-2xl px-24 sm:px-16 xs:px-16 xs:py-4 py-3 my-8 xs:my-4 w-auto max-w-3/5 css-12j0s9u">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
29 | test('Topic Info Modal from Map Legend', async ({ page }) => {
30 | await page.goto('/', { waitUntil: 'commit' });
> 31 | await page.locator('#landingPageCTA').click();
| ^
32 | const reportSection = await page.getByRole('heading', { name: 'Uninsurance in FL' }).locator('..');
33 | await reportSection.locator('text=Explore this report').click();
34 | await page.locator('#rate-map').getByRole('button', { name: 'Click for more info on uninsured people' }).click();
at /home/runner/work/health-equity-tracker/health-equity-tracker/frontend/playwright-tests/modals.ci.spec.ts:31:43
|
Slow Test:
frontend/[E2E_CI] › health_insurance.ci.spec.ts#L1
frontend/[E2E_CI] › health_insurance.ci.spec.ts took 16.5s
|
Slow Test:
frontend/[E2E_CI] › asthma.ci.spec.ts#L1
frontend/[E2E_CI] › asthma.ci.spec.ts took 15.8s
|
Slow Test:
frontend/[E2E_CI] › ami.ci.spec.ts#L1
frontend/[E2E_CI] › ami.ci.spec.ts took 15.4s
|
Slow Test:
frontend/[E2E_CI] › guided_tour.ci.spec.ts#L1
frontend/[E2E_CI] › guided_tour.ci.spec.ts took 15.4s
|
🎭 Playwright Run Summary
1 flaky
[E2E_CI] › modals.ci.spec.ts:29:3 › Topic Info Modal from Map Legend › Topic Info Modal from Map Legend
44 passed (4.0m)
|