Skip to content

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

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 #79427

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via pull request July 27, 2023 05:01
Status Failure
Total duration 31m 35s
Artifacts

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
6s
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: /9209f38a-5c2e-4ebd-a5b1-18b74aba1a24/ Received string: "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" 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/d3227774-8f3b-4c90-827c-21c07dc4abb2" - 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/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d3227774-8f3b-4c90-827c-21c07dc4abb2" 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: /986cf39d-db48-4681-90ac-ac68cad5bdeb/ Received string: "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" 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/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - 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/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/87abcd0b-71d7-405a-b2ea-2840c6a96b72" 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 #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /73266843-3217-430c-8789-8c3b3fd7087e/ Received string: "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" 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/c72c680c-23b5-4ba4-b206-ec082c7021d0" - 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/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" - locator resolved to <img src="blob:http://localhost:8889/c72c680c-23b5-4b…/> - unexpected value "blob:http://localhost:8889/c72c680c-23b5-4ba4-b206-ec082c7021d0" 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 - 1
Process completed with exit code 1.
Report to GitHub
Unable to find an artifact with the name: flaky-tests-report
🎭 Playwright Run Summary
2 skipped 173 passed (11.3m)
🎭 Playwright Run Summary
184 passed (13.1m)
🎭 Playwright Run Summary
158 passed (14.9m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes 187 passed (19.5m)