Skip to content

Refactor Congratulations component and update SQL queries and localization support #3513

Refactor Congratulations component and update SQL queries and localization support

Refactor Congratulations component and update SQL queries and localization support #3513

Triggered via pull request December 18, 2024 16:25
@nygrenhnygrenh
synchronize #1362
fixes-12312
Status Failure
Total duration 33m 17s
Artifacts 4

system-tests-and-deploy.yml

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

Annotations

4 errors, 8 warnings, and 1 notice
[chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion: system-tests/src/tests/automatic-completion.spec.ts#L37
1) [chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion › Expect screenshots to match snapshots "automatic-completion-congratulations-card" Error: Screenshot comparison failed: 18625 pixels (ratio 0.05 of all image pixels) are different. Expected: /home/runner/work/secret-project-331/secret-project-331/system-tests/src/__screenshots__/automatic-completion.spec.ts/automatic-completion-congratulations-card-mobile-tall.png Received: /home/runner/work/secret-project-331/secret-project-331/system-tests/test-results/automatic-completion-Registers-automatic-completion-chromium/automatic-completion-congratulations-card-mobile-tall-1-actual.png Diff: /home/runner/work/secret-project-331/secret-project-331/system-tests/test-results/automatic-completion-Registers-automatic-completion-chromium/automatic-completion-congratulations-card-mobile-tall-1-diff.png Call log: - expect.toHaveScreenshot(automatic-completion-congratulations-card-mobile-tall.png) with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 18625 pixels (ratio 0.05 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 18625 pixels (ratio 0.05 of all image pixels) are different. 35 | await expect(page).toHaveURL("http://project-331.local/org/uh-cs/courses/automatic-completions") 36 | await page.getByText("Congratulations!").waitFor() > 37 | await expectScreenshotsToMatchSnapshots({ | ^ 38 | screenshotTarget: page, 39 | headless, 40 | testInfo, at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/automatic-completion.spec.ts:37:42
system-tests (1)
Process completed with exit code 1.
system-tests (2)
The job was canceled because "_1" failed.
system-tests (2)
The operation was canceled.
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
system-tests (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: system-tests/[chromium] › course-modules/course-modules.spec.ts#L1
system-tests/[chromium] › course-modules/course-modules.spec.ts took 40.8s
Slow Test: system-tests/[chromium] › glossary.spec.ts#L1
system-tests/[chromium] › glossary.spec.ts took 40.7s
Slow Test: system-tests/[chromium] › history/history.spec.ts#L1
system-tests/[chromium] › history/history.spec.ts took 38.9s
Slow Test: system-tests/[chromium] › course-instance-management/course-instance-management.spec.ts#L1
system-tests/[chromium] › course-instance-management/course-instance-management.spec.ts took 36.8s
Slow Test: system-tests/[chromium] › feedback/feedback.spec.ts#L1
system-tests/[chromium] › feedback/feedback.spec.ts took 30.5s
🎭 Playwright Run Summary
1 failed [chromium] › automatic-completion.spec.ts:10:5 › Registers automatic completion ──────────────── 57 passed (7.1m)

Artifacts

Produced during runtime
Name Size
playwright-html-report-1
319 KB
skaffold-build-output
936 Bytes
skaffold-images Expired
452 MB
test-results-1
2.99 MB