Fix errors and warnings in the course/lesson/question editor #4933
Annotations
1 error, 1 warning, and 2 notices
tests/e2e-playwright/pages/admin/post-type/index.ts#L67
1) [chromium] › admin/teacher/course-creation.spec.ts:29:6 › Create Courses › it should create a course
TimeoutError: page.waitForEvent: Timeout 10000ms exceeded while waiting for event "popup"
=========================== logs ===========================
waiting for event "popup"
============================================================
at ../pages/admin/post-type/index.ts:67
65 |
66 | const [ previewPage ] = await Promise.all( [
> 67 | this.page.waitForEvent( 'popup' ),
| ^
68 | this.page.locator( 'text=Preview in new tab' ).click(),
69 | ] );
70 | await previewPage.waitForLoadState();
at CoursesPage.goToPreview (/home/runner/work/***/***/tests/e2e-playwright/pages/admin/post-type/index.ts:67:14)
at /home/runner/work/***/***/tests/e2e-playwright/specs/admin/teacher/course-creation.spec.ts:57:19
|
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/
|
|
|
This job succeeded
Loading