Skip to content

feat: upgrade to Clerk v5 and use Clerk's Core 2 #565

feat: upgrade to Clerk v5 and use Clerk's Core 2

feat: upgrade to Clerk v5 and use Clerk's Core 2 #565

Triggered via pull request May 7, 2024 13:37
@ixartzixartz
synchronize #276
clerk-v5
Status Failure
Total duration 4m 58s
Artifacts 1

CI.yml

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

Annotations

13 errors, 3 warnings, and 1 notice
Build with 20.x
Process completed with exit code 1.
Build with 22.x
The job was canceled because "_20_x" failed.
Build with 22.x
The operation was canceled.
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/Next-js-Boilerplate/Next-js-Boilerplate/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/Next-js-Boilerplate/Next-js-Boilerplate/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/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Guestbook.spec.ts:10:48
[chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › Static pages › should take screenshot of the homepage: tests/e2e/Navigation.spec.ts#L13
2) [chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › 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/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:13:9
[chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › Static pages › should take screenshot of the homepage: tests/e2e/Navigation.spec.ts#L13
2) [chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › 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/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:13:9
[chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › Static pages › should take screenshot of the homepage: tests/e2e/Navigation.spec.ts#L13
2) [chromium] › e2e/Navigation.spec.ts:6:9 › Navigation › 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/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:13:9
[chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page: tests/e2e/Navigation.spec.ts#L25
3) [chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('link', { name: 'About' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('link', { name: 'About' }) 23 | name: 'About', 24 | }), > 25 | ).toBeVisible(); | ^ 26 | 27 | await percySnapshot(page, 'About'); 28 | }); at /home/runner/work/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:25:9
[chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page: tests/e2e/Navigation.spec.ts#L25
3) [chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('link', { name: 'About' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('link', { name: 'About' }) 23 | name: 'About', 24 | }), > 25 | ).toBeVisible(); | ^ 26 | 27 | await percySnapshot(page, 'About'); 28 | }); at /home/runner/work/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:25:9
[chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page: tests/e2e/Navigation.spec.ts#L25
3) [chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('link', { name: 'About' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('link', { name: 'About' }) 23 | name: 'About', 24 | }), > 25 | ).toBeVisible(); | ^ 26 | 27 | await percySnapshot(page, 'About'); 28 | }); at /home/runner/work/Next-js-Boilerplate/Next-js-Boilerplate/tests/e2e/Navigation.spec.ts:25:9
🎭 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/Navigation.spec.ts:6:9 › Navigation › Static pages › should take screenshot of the homepage [chromium] › e2e/Navigation.spec.ts:18:9 › Navigation › Static pages › should take screenshot of the about page [chromium] › e2e/Sanity.check.spec.ts:20:9 › Sanity › Static pages › should display the homepage 17 did not run
Build with 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run all tests (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, codecov/codecov-action@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/

Artifacts

Produced during runtime
Name Size
test-results Expired
42.9 KB