chore: update the e2e test to fail #17
Annotations
10 errors, 2 warnings, and 1 notice
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
1) [chromium] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
1) [chromium] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
1) [chromium] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
2) [firefox] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
2) [firefox] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
2) [firefox] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
3) [webkit] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
3) [webkit] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests:
tests/e2e/Navigation.spec.ts#L8
3) [webkit] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Welcome to data Home page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Welcome to data Home page')
6 | await page.goto('/');
7 |
> 8 | await expect(page.getByText('Welcome to data Home page')).toBeVisible();
| ^
9 | });
10 |
11 | test('should take screenshot of the about page', async ({ page }) => {
at /home/runner/work/next14-boilerplate-with-next-auth/next14-boilerplate-with-next-auth/tests/e2e/Navigation.spec.ts:8:65
|
Run E2E tests
Process completed with exit code 1.
|
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/
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run E2E tests
3 failed
[chromium] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
[firefox] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
[webkit] › e2e/Navigation.spec.ts:5:9 › Navigation › Static pages › should take screenshot of the homepage
12 passed (1.1m)
|
Loading