Skip to content

Render Back to lesson when next_lesson_url has no value #4911

Render Back to lesson when next_lesson_url has no value

Render Back to lesson when next_lesson_url has no value #4911

Triggered via pull request July 28, 2024 19:08
Status Success
Total duration 6m 38s
Artifacts

e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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#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
🎭 Playwright Run Summary
5 passed (27.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)
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/