Skip to content

Image block: Add aspect ratio support to lightbox #79623

Image block: Add aspect ratio support to lightbox

Image block: Add aspect ratio support to lightbox #79623

Triggered via pull request July 28, 2023 12:51
Status Failure
Total duration 29m 58s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 12s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L914
1) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: ["--lightbox-scale-width", "--lightbox-scale-height", "--lightbox-image-max-width", "--lightbox-image-max-height", "--lightbox-initial-left-position", "--lightbox-initial-top-position"] 912 | : true; 913 | } ); > 914 | expect( lightboxStyleCheck ).toBe( true ); | ^ 915 | 916 | const closeButton = lightbox.getByRole( 'button', { 917 | name: 'Close', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:914:34
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L914
1) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: ["--lightbox-scale-width", "--lightbox-scale-height", "--lightbox-image-max-width", "--lightbox-image-max-height", "--lightbox-initial-left-position", "--lightbox-initial-top-position"] 912 | : true; 913 | } ); > 914 | expect( lightboxStyleCheck ).toBe( true ); | ^ 915 | 916 | const closeButton = lightbox.getByRole( 'button', { 917 | name: 'Close', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:914:34
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L914
1) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: ["--lightbox-scale-width", "--lightbox-scale-height", "--lightbox-image-max-width", "--lightbox-image-max-height", "--lightbox-initial-left-position", "--lightbox-initial-top-position"] 912 | : true; 913 | } ); > 914 | expect( lightboxStyleCheck ).toBe( true ); | ^ 915 | 916 | const closeButton = lightbox.getByRole( 'button', { 917 | name: 'Close', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:914:34
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 175 passed (11.0m)
🎭 Playwright Run Summary
160 passed (13.0m)
🎭 Playwright Run Summary
184 passed (13.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation 187 passed (16.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
7.69 MB
flaky-tests-report Expired
1.29 KB