Handle empty module on the course structure saving #4936
Annotations
1 error, 1 warning, 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#L109
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('.editor-post-publish-panel button:has-text("Submit for Review")').first()
at ../pages/admin/post-type/index.ts:109
107 | )
108 | .first()
> 109 | .click();
| ^
110 | }
111 |
112 | async goToPostTypeListingPage(): Promise< Response > {
at CoursesPage.submitForPreview (/home/runner/work/***/***/tests/e2e-playwright/pages/admin/post-type/index.ts:109:5)
at /home/runner/work/***/***/tests/e2e-playwright/specs/admin/teacher/course-creation.spec.ts:56:3
|
E2E Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
5 passed (25.5s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
6 passed (1.1m)
|