Skip to content

New quiz types to production #2778

New quiz types to production

New quiz types to production #2778

Triggered via pull request July 26, 2023 05:28
Status Failure
Total duration 45m 53s
Artifacts 4

system-tests-and-deploy.yml

on: pull_request
Matrix: system-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 39 warnings, and 1 notice
[chromium] › creating-course-and-returning-an-exercise.spec.ts:14:5 › test: 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
[chromium] › exams/taking-exam.spec.ts:8:5 › Can start an exam and can answer exercises: 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
[chromium] › history/history.spec.ts:16:5 › history test: 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 (1)
Process completed with exit code 1.
system-tests (2)
The operation was canceled.
typecheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, yokawasa/[email protected], 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/
build
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/
build
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/
build
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/
build
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/
build
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/
build
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/
build
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/
build
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/
build
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/
build
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 (1)
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/
system-tests (1)
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 (1)
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 (1)
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 (1)
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 (1)
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 (1)
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 (1)
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 (1)
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 (1)
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 (1)
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/
Slow Test: system-tests/[chromium] › course-modules/course-modules.spec.ts#L1
system-tests/[chromium] › course-modules/course-modules.spec.ts took 57.2s
Slow Test: system-tests/[chromium] › history/history.spec.ts#L1
system-tests/[chromium] › history/history.spec.ts took 51.5s
Slow Test: system-tests/[chromium] › glossary.spec.ts#L1
system-tests/[chromium] › glossary.spec.ts took 43.0s
Slow Test: system-tests/[chromium] › draft.spec.ts#L1
system-tests/[chromium] › draft.spec.ts took 41.4s
Slow Test: system-tests/[chromium] › creating-course-and-returning-an-exercise.spec.ts#L1
system-tests/[chromium] › creating-course-and-returning-an-exercise.spec.ts took 40.5s
system-tests (2)
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
system-tests (2)
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 (2)
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 (2)
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 (2)
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 (2)
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 (2)
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 (2)
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 (2)
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 (2)
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 (2)
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/
🎭 Playwright Run Summary
3 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 ─────────────────────────────────────── 44 passed (13.6m)

Artifacts

Produced during runtime
Name Size
playwright-html-report Expired
682 KB
skaffold-build-output Expired
3.13 KB
skaffold-images Expired
314 MB
test-results Expired
22.2 MB