Skip to content

feat: Display number of entries in GardenDaily component #18

feat: Display number of entries in GardenDaily component

feat: Display number of entries in GardenDaily component #18

Triggered via push August 17, 2024 20:00
Status Failure
Total duration 5m 6s
Billable time 13m
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/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook: tests/e2e/Guestbook.spec.ts#L10
1) [chromium] › e2e/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook, crate a new entry, read, update and remove the newly created Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Username') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Username') 8 | }) => { 9 | await page.goto('/guestbook'); > 10 | await expect(page.getByText('Username')).toBeVisible(); | ^ 11 | 12 | const username = faker.internet.userName(); 13 | const body = faker.lorem.words(); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Guestbook.spec.ts:10:48
[chromium] › e2e/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook: tests/e2e/Guestbook.spec.ts#L10
1) [chromium] › e2e/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook, crate a new entry, read, update and remove the newly created Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Username') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Username') 8 | }) => { 9 | await page.goto('/guestbook'); > 10 | await expect(page.getByText('Username')).toBeVisible(); | ^ 11 | 12 | const username = faker.internet.userName(); 13 | const body = faker.lorem.words(); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Guestbook.spec.ts:10:48
[chromium] › e2e/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook: tests/e2e/Guestbook.spec.ts#L10
1) [chromium] › e2e/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook, crate a new entry, read, update and remove the newly created Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Username') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Username') 8 | }) => { 9 | await page.goto('/guestbook'); > 10 | await expect(page.getByText('Username')).toBeVisible(); | ^ 11 | 12 | const username = faker.internet.userName(); 13 | const body = faker.lorem.words(); at /home/runner/work/ycb-companion/ycb-companion/tests/e2e/Guestbook.spec.ts:10:48
[chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage: tests/e2e/Sanity.check.spec.ts#L27
2) [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
2) [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
2) [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
3) [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
3) [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
3) [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
Build with 20.x
The following actions use a deprecated Node.js version 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 use a deprecated Node.js version 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 use a deprecated Node.js version 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/Guestbook.spec.ts:6:9 › Guestbook › CRUD operation › should browse to guestbook, crate a new entry, read, update and remove the newly created [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 [chromium] › integration/Guestbook.spec.ts:8:9 › Guestbook › Basic CRUD operations › should create a new entry in the guestbook and delete it 14 did not run 3 passed (1.2m)

Artifacts

Produced during runtime
Name Size
test-results Expired
85.7 KB