Skip to content

chore: Update .gitignore and package.json, fix API endpoint, and remo… #2

chore: Update .gitignore and package.json, fix API endpoint, and remo…

chore: Update .gitignore and package.json, fix API endpoint, and remo… #2

Triggered via push August 10, 2024 21:58
Status Failure
Total duration 5m 46s
Billable time 10m
Artifacts 1

CI.yml

on: push
Matrix: build
Matrix: Run all tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
Run all tests (20.x)
Testing stopped early after 10 maximum allowed failures.
[chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
1) [chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
[chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
1) [chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
[chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
1) [chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
[chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage: tests/e2e/Visual.spec.ts#L13
2) [chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 11 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 12 | }), > 13 | ).toBeVisible(); | ^ 14 | 15 | await percySnapshot(page, 'Homepage'); 16 | }); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Visual.spec.ts:13:9
[chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage: tests/e2e/Visual.spec.ts#L13
2) [chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 11 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 12 | }), > 13 | ).toBeVisible(); | ^ 14 | 15 | await percySnapshot(page, 'Homepage'); 16 | }); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Visual.spec.ts:13:9
[chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage: tests/e2e/Visual.spec.ts#L13
2) [chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 11 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 12 | }), > 13 | ).toBeVisible(); | ^ 14 | 15 | await percySnapshot(page, 'Homepage'); 16 | }); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Visual.spec.ts:13:9
[firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
3) [firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
[firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
3) [firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
[firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
3) [firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('heading', { name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS' }) 25 | name: 'Boilerplate Code for Your Next.js Project with Tailwind CSS', 26 | }), > 27 | ).toBeVisible(); | ^ 28 | }); 29 | 30 | test('should navigate to the about page', async ({ page }) => { at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Sanity.check.spec.ts:27:9
Build with 20.x
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build with 22.x
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run all tests (20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, codecov/codecov-action@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
4 failed [chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage [chromium] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage [firefox] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage [firefox] › e2e/Visual.spec.ts:6:9 › Visual testing › Static pages › should take screenshot of the homepage 9 did not run 8 passed (1.7m)

Artifacts

Produced during runtime
Name Size
test-results Expired
548 KB