Skip to content

feat: added browser sizes for playwright #33

feat: added browser sizes for playwright

feat: added browser sizes for playwright #33

Triggered via push October 21, 2024 12:43
Status Failure
Total duration 1m 22s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size mobile: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-mobile" should match (#216) Screenshot does not match the snapshot. Diff percentage: 0.65% Diff image saved at: packages/playwright/screenshots/viewport-size-mobile.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:418:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 0.65%\nDiff image saved at: packages/playwright/screenshots/viewport-size-mobile.png.(diff|actual).png' } }
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size tablet: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-tablet" should match (#221) Screenshot does not match the snapshot. Diff percentage: 0.26% Diff image saved at: packages/playwright/screenshots/viewport-size-tablet.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:425:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 0.26%\nDiff image saved at: packages/playwright/screenshots/viewport-size-tablet.png.(diff|actual).png' } }
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size desktop: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-desktop" should match (#225) Screenshot does not match the snapshot. Diff percentage: 0.10% Diff image saved at: packages/playwright/screenshots/viewport-size-desktop.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:431:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 0.10%\nDiff image saved at: packages/playwright/screenshots/viewport-size-desktop.png.(diff|actual).png' } }
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size widescreen: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-widescreen" should match (#229) Screenshot does not match the snapshot. Diff percentage: 0.04% Diff image saved at: packages/playwright/screenshots/viewport-size-widescreen.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:438:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 0.04%\nDiff image saved at: packages/playwright/screenshots/viewport-size-widescreen.png.(diff|actual).png' } }
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size custom 200x800: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-200x800" should match (#233) Screenshot does not match the snapshot. Diff percentage: 1.23% Diff image saved at: packages/playwright/screenshots/viewport-size-200x800.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:445:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 1.23%\nDiff image saved at: packages/playwright/screenshots/viewport-size-200x800.png.(diff|actual).png' } }
tests/playwright-actions-html.feature > Feature: Actions step definitions on a static page > Rule: Different browser sizes must be supported > Scenario: viewport size custom 500x800: packages/playwright/src/outcomes.steps.ts#L262
Error: the screenshot "viewport-size-500x800" should match (#237) Screenshot does not match the snapshot. Diff percentage: 0.51% Diff image saved at: packages/playwright/screenshots/viewport-size-500x800.png.(diff|actual).png ❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ Object.f src/outcomes.steps.ts:262:28 ❯ Module.qp ../main/src/index.ts:73:46 ❯ tests/playwright-actions-html.feature:452:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { pass: false, message: 'Screenshot does not match the snapshot.\nDiff percentage: 0.51%\nDiff image saved at: packages/playwright/screenshots/viewport-size-500x800.png.(diff|actual).png' } }
Release
Process completed with exit code 1.
Release
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/