Skip to content

Image block: Add aspect ratio support to lightbox #79893

Image block: Add aspect ratio support to lightbox

Image block: Add aspect ratio support to lightbox #79893

Triggered via pull request August 1, 2023 22:35
Status Failure
Total duration 31m 34s
Artifacts 2

end2end-test.yml

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

Annotations

10 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#L871
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).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/c39020b4-6f28-4754-a6c7-73ad63bdcbc6-scaled.jpg" 869 | contentImageCurrentSrc 870 | ); > 871 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 872 | 873 | await page 874 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:871:35
[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#L871
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).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/457fd52c-e890-4073-b4dc-dfe6015fb735-scaled.jpg" 869 | contentImageCurrentSrc 870 | ); > 871 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 872 | 873 | await page 874 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:871:35
[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#L871
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).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/e19aa40e-e226-4ec3-b4b8-f331ad8b81c3-scaled.jpg" 869 | contentImageCurrentSrc 870 | ); > 871 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 872 | 873 | await page 874 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:871:35
[chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation: test/e2e/specs/editor/blocks/image.spec.js#L992
2) [chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/1bc4621f-c5b3-432f-8eef-ca94f9500dbf-scaled.jpg" 990 | contentImageCurrentSrc 991 | ); > 992 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 993 | 994 | await page 995 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:992:35
[chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation: test/e2e/specs/editor/blocks/image.spec.js#L992
2) [chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/3d4282de-3e0a-45e3-b5d2-ca7719338c58-scaled.jpg" 990 | contentImageCurrentSrc 991 | ); > 992 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 993 | 994 | await page 995 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:992:35
[chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation: test/e2e/specs/editor/blocks/image.spec.js#L992
2) [chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" - locator resolved to <img alt="" hidden="" width="2560" height="1920" load…/> - unexpected value "http://localhost:8889/wp-content/uploads/2023/08/0304b2f9-d55c-4ee5-98f9-0c82cf11c017-scaled.jpg" 990 | contentImageCurrentSrc 991 | ); > 992 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 993 | 994 | await page 995 | .getByRole( 'button', { name: 'Enlarge image' } ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:992:35
[chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL: test/e2e/specs/editor/blocks/image.spec.js#L1354
3) [chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" 1352 | new RegExp( imgUrl ) 1353 | ); > 1354 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 1355 | 1356 | await page.getByRole( 'button', { name: 'Enlarge image' } ).click(); 1357 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:1354:33
[chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL: test/e2e/specs/editor/blocks/image.spec.js#L1354
3) [chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" 1352 | new RegExp( imgUrl ) 1353 | ); > 1354 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 1355 | 1356 | await page.getByRole( 'button', { name: 'Enlarge image' } ).click(); 1357 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:1354:33
[chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL: test/e2e/specs/editor/blocks/image.spec.js#L1354
3) [chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected string: "" Received string: "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - waiting for locator('.wp-lightbox-overlay').locator('.enlarged-image img') - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" - locator resolved to <img alt="" hidden="" loading="lazy" decoding="async"…/> - unexpected value "https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg" 1352 | new RegExp( imgUrl ) 1353 | ); > 1354 | await expect( enlargedImage ).toHaveAttribute( 'src', '' ); | ^ 1355 | 1356 | await page.getByRole( 'button', { name: 'Enlarge image' } ).click(); 1357 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:1354:33
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
159 passed (13.6m)
🎭 Playwright Run Summary
3 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 [chromium] › editor/blocks/image.spec.js:928:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation [chromium] › editor/blocks/image.spec.js:1307:2 › Image - interactivity › lightbox should work as expected when inserting image from URL 185 passed (15.9m)
🎭 Playwright Run Summary
2 skipped 176 passed (14.6m)
🎭 Playwright Run Summary
187 passed (16.4m)

Artifacts

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