Skip to content

Global Styles: Fix push-to-global-styles clearing of attributes, border fallbacks, link hover colors, and behaviors #79431

Global Styles: Fix push-to-global-styles clearing of attributes, border fallbacks, link hover colors, and behaviors

Global Styles: Fix push-to-global-styles clearing of attributes, border fallbacks, link hover colors, and behaviors #79431

Triggered via pull request July 27, 2023 05:59
Status Success
Total duration 46m 43s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Error: expect(received).toHaveAttribute(expected) Expected pattern: /a630c662-f94c-46f6-b02f-20576c4f78ec/ Received string: "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6940cc51-b601-47db-af55-e0e133777e56" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /7838950d-8486-4a61-8633-e9934148a22e/ Received string: "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5df3c8d9-4396-49dd-a164-1fe462744785" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:815: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#L764
2) [chromium] › editor/blocks/image.spec.js:815: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 pattern: /e7ca71f7-98bb-4f23-8a45-1da18615e275/ Received string: "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e933ff83-84fb-45b4-9dbd-a7493356f565" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:1035:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should appear if Behavior is Lightbox: test/e2e/specs/editor/blocks/image.spec.js#L764
3) [chromium] › editor/blocks/image.spec.js:1035:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should appear if Behavior is Lightbox Error: expect(received).toHaveAttribute(expected) Expected pattern: /c2c752d3-1d22-4838-b734-df8e51d332a8/ Received string: "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28c39b3c-6e62-4dc5-b916-1d4bb6006314" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:1102:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should open and focus appropriately using enter key: test/e2e/specs/editor/blocks/image.spec.js#L764
4) [chromium] › editor/blocks/image.spec.js:1102:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should open and focus appropriately using enter key Error: expect(received).toHaveAttribute(expected) Expected pattern: /8c37142c-70b5-450c-81e7-16384ab6996d/ Received string: "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/02ea2203-b0d7-4791-a142-ff25c0ef7bc9" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
🎭 Playwright Run Summary
158 passed (11.9m)
🎭 Playwright Run Summary
2 skipped 173 passed (12.4m)
🎭 Playwright Run Summary
184 passed (16.8m)
🎭 Playwright Run Summary
4 flaky [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [chromium] › editor/blocks/image.spec.js:815: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:1035:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should appear if Behavior is Lightbox [chromium] › editor/blocks/image.spec.js:1102:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should open and focus appropriately using enter key 184 passed (20.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
11.3 MB
flaky-tests-report Expired
54.6 KB