New quiz types to production #2791
Annotations
5 errors, 16 warnings, and 1 notice
system-tests/src/tests/creating-course-and-returning-an-exercise.spec.ts#L147
1) [chromium] › creating-course-and-returning-an-exercise.spec.ts:14:5 › test ────────────────────
TimeoutError: page.waitForSelector: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('text="Operation successful!"') to be visible
============================================================
145 |
146 | await page.click('button:text-is("Save") >> visible=true')
> 147 | await page.waitForSelector(`text="Operation successful!"`)
| ^
148 |
149 | // Check that the assignment still displays after saving
150 | await page.click('[aria-label="Block: ExerciseTask"] [aria-label="Edit"]')
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/creating-course-and-returning-an-exercise.spec.ts:147:14
|
system-tests/src/utils/screenshot.ts#L339
2) [chromium] › exams/taking-exam.spec.ts:8:5 › Can start an exam and can answer exercises › Expect screenshots to match snapshots "exam-started"
Error: Screenshot comparison failed:
3343 pixels (ratio 0.01 of all image pixels) are different.
Call log:
- expect.toHaveScreenshot(exam-started-mobile-tall.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 3343 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 3343 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/secret-project-331/secret-project-331/system-tests/test-results/exams-taking-exam-Can-start-an-exam-and-can-answer-exercises-chromium/exam-started-mobile-tall-expected.png
Received: /home/runner/work/secret-project-331/secret-project-331/system-tests/test-results/exams-taking-exam-Can-start-an-exam-and-can-answer-exercises-chromium/exam-started-mobile-tall-1-actual.png
Diff: /home/runner/work/secret-project-331/secret-project-331/system-tests/test-results/exams-taking-exam-Can-start-an-exam-and-can-answer-exercises-chromium/exam-started-mobile-tall-1-diff.png
at ../utils/screenshot.ts:339
337 | await page.waitForTimeout(600)
338 | if (isPage(screenshotTarget)) {
> 339 | await expect(screenshotTarget).toHaveScreenshot(screenshotName, screenshotOptions)
| ^
340 | } else {
341 | await expect(screenshotTarget).toHaveScreenshot(screenshotName, screenshotOptions)
342 | }
at takeScreenshotAndComparetoSnapshot (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:339:38)
at snapshotWithViewPort (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:273:5)
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:149:9
at expectScreenshotsToMatchSnapshots (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:88:3)
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/exams/taking-exam.spec.ts:24:3
|
system-tests/src/utils/iframeLocators.ts#L41
3) [chromium] › history/history.spec.ts:16:5 › history test › Expect screenshots to match snapshots "page-after-restore"
Error: expect.toPass: Timeout 500ms exceeded.
=========================== logs ===========================
waiting for locator('text="Best exercise"')
============================================================
Call Log:
- Timeout 10000ms exceeded while waiting on the predicate
at ../utils/iframeLocators.ts:41
39 | throw new Error("Could not get element handle for locator")
40 | }
> 41 | }).toPass({ timeout: 10000 })
| ^
42 | const elementHandle = await locator.elementHandle()
43 | const ownerFrame = await elementHandle?.ownerFrame()
44 | const parentFrame = ownerFrame?.parentFrame()
at scrollLocatorsParentIframeToViewIfNeeded (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/iframeLocators.ts:41:6)
at waitToBeVisible (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:360:51)
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:132:15
at expectScreenshotsToMatchSnapshots (/home/runner/work/secret-project-331/secret-project-331/system-tests/src/utils/screenshot.ts:88:3)
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/history/history.spec.ts:213:3
|
system-tests/src/tests/limited-tries.spec.ts#L66
4) [chromium] › limited-tries.spec.ts:9:5 › Limited tries work ───────────────────────────────────
TimeoutError: locator.click: Timeout 15000ms exceeded.
=========================== logs ===========================
waiting for locator('text=Submit')
locator resolved to <button disabled class="css-1fytp2i-PrimaryButton e4cjxi…>Submit</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
64 | await page.frameLocator("iframe").locator("text=AC").click()
65 |
> 66 | await page.locator("text=Submit").click()
| ^
67 |
68 | await page.locator("text=Tries remaining: 1").click()
69 |
at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/limited-tries.spec.ts:66:37
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, yokawasa/[email protected], actions/download-artifact@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
system-tests/[chromium] › course-modules/course-modules.spec.ts#L1
system-tests/[chromium] › course-modules/course-modules.spec.ts took 42.9s
|
system-tests/[chromium] › history/history.spec.ts#L1
system-tests/[chromium] › history/history.spec.ts took 38.4s
|
system-tests/[chromium] › creating-course-and-returning-an-exercise.spec.ts#L1
system-tests/[chromium] › creating-course-and-returning-an-exercise.spec.ts took 34.2s
|
system-tests/[chromium] › draft.spec.ts#L1
system-tests/[chromium] › draft.spec.ts took 34.0s
|
system-tests/[chromium] › glossary.spec.ts#L1
system-tests/[chromium] › glossary.spec.ts took 33.3s
|
4 failed
[chromium] › creating-course-and-returning-an-exercise.spec.ts:14:5 › test ─────────────────────
[chromium] › exams/taking-exam.spec.ts:8:5 › Can start an exam and can answer exercises ────────
[chromium] › history/history.spec.ts:16:5 › history test ───────────────────────────────────────
[chromium] › limited-tries.spec.ts:9:5 › Limited tries work ────────────────────────────────────
44 passed (10.7m)
|
The logs for this run have expired and are no longer available.
Loading