Fix E2E tests #4898
Annotations
4 errors, 2 warnings, and 2 notices
[chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course:
tests/e2e-playwright/pages/admin/post-type/index.ts#L102
1) [chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Editor top bar"]').locator('text=Publish')
at ../pages/admin/post-type/index.ts:102
100 | await this.page
101 | .locator( '[aria-label="Editor top bar"] >> text=Publish' )
> 102 | .click();
| ^
103 |
104 | return this.page
105 | .locator(
at CoursesPage.submitForPreview (/home/runner/work/***/***/tests/e2e-playwright/pages/admin/post-type/index.ts:102:5)
at /home/runner/work/***/***/tests/e2e-playwright/specs/admin/teacher/course-creation.spec.ts:56:21
|
[chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course:
tests/e2e-playwright/pages/admin/post-type/index.ts#L102
1) [chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Editor top bar"]').locator('text=Publish')
at ../pages/admin/post-type/index.ts:102
100 | await this.page
101 | .locator( '[aria-label="Editor top bar"] >> text=Publish' )
> 102 | .click();
| ^
103 |
104 | return this.page
105 | .locator(
at CoursesPage.submitForPreview (/home/runner/work/***/***/tests/e2e-playwright/pages/admin/post-type/index.ts:102:5)
at /home/runner/work/***/***/tests/e2e-playwright/specs/admin/teacher/course-creation.spec.ts:56:21
|
[chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course:
tests/e2e-playwright/pages/admin/post-type/index.ts#L102
1) [chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Editor top bar"]').locator('text=Publish')
at ../pages/admin/post-type/index.ts:102
100 | await this.page
101 | .locator( '[aria-label="Editor top bar"] >> text=Publish' )
> 102 | .click();
| ^
103 |
104 | return this.page
105 | .locator(
at CoursesPage.submitForPreview (/home/runner/work/***/***/tests/e2e-playwright/pages/admin/post-type/index.ts:102:5)
at /home/runner/work/***/***/tests/e2e-playwright/specs/admin/teacher/course-creation.spec.ts:56:21
|
E2E Tests
Process completed with exit code 1.
|
E2E Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@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: "playwright-report".
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
5 passed (25.3s)
|
🎭 Playwright Run Summary
1 failed
[chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
6 passed (1.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
10.5 MB |
|