Skip to content

Shorten syntax in thrown() examples #24

Shorten syntax in thrown() examples

Shorten syntax in thrown() examples #24

Triggered via pull request December 11, 2025 19:17
Status Failure
Total duration 1m 3s
Artifacts 2

verify.yaml

on: pull_request
build
13s
build
link-check
17s
link-check
visual-regression-tests
58s
visual-regression-tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
visual-regression-tests
Process completed with exit code 1.
[firefox] › tests/visual.spec.ts:3:1 › visual snapshot: spock-website/tests/visual.spec.ts#L5
2) [firefox] › tests/visual.spec.ts:3:1 › visual snapshot ──────────────────────────────────────── Error: expect(page).toHaveScreenshot(expected) failed 4981 pixels (ratio 0.01 of all image pixels) are different. Snapshot: index.png Call log: - Expect "toHaveScreenshot(index.png)" with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 4981 pixels (ratio 0.01 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 - 4981 pixels (ratio 0.01 of all image pixels) are different. 3 | test('visual snapshot', async ({ page }) => { 4 | await page.goto('/?disableaos'); > 5 | await expect(page).toHaveScreenshot('index.png', { fullPage: true }); | ^ 6 | }); 7 | at /__w/spockframework.github.io/spockframework.github.io/spock-website/tests/visual.spec.ts:5:24
[chromium] › tests/visual.spec.ts:3:1 › visual snapshot: spock-website/tests/visual.spec.ts#L5
1) [chromium] › tests/visual.spec.ts:3:1 › visual snapshot ─────────────────────────────────────── Error: expect(page).toHaveScreenshot(expected) failed 5405 pixels (ratio 0.01 of all image pixels) are different. Snapshot: index.png Call log: - Expect "toHaveScreenshot(index.png)" with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 5405 pixels (ratio 0.01 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 - 5405 pixels (ratio 0.01 of all image pixels) are different. 3 | test('visual snapshot', async ({ page }) => { 4 | await page.goto('/?disableaos'); > 5 | await expect(page).toHaveScreenshot('index.png', { fullPage: true }); | ^ 6 | }); 7 | at /__w/spockframework.github.io/spockframework.github.io/spock-website/tests/visual.spec.ts:5:24
🎭 Playwright Run Summary
2 failed [chromium] › tests/visual.spec.ts:3:1 › visual snapshot ──────────────────────────────────────── [firefox] › tests/visual.spec.ts:3:1 › visual snapshot ─────────────────────────────────────────

Artifacts

Produced during runtime
Name Size Digest
gh-pages-preview
40.2 KB
sha256:25d41de08f171ff90a3b4358adadea7684a04ac5b828365c435f114a8969efb7
playwright-report
2.67 MB
sha256:1497f658809e4a3130a73cf4d2c6b43ebe997b1e466501c4d0d25f53da7d2ba7