Skip to content

Add 'reusable' keyword to Pattern blocks #78224

Add 'reusable' keyword to Pattern blocks

Add 'reusable' keyword to Pattern blocks #78224

Triggered via pull request July 12, 2023 04:55
Status Failure
Total duration 1h 33m 5s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors, 1 warning, and 4 notices
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Error: expect(received).toHaveAttribute(expected) Expected pattern: /d3460875-bef3-4821-b6d0-a15c306e56df/ Received string: "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" 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/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - 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/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0c653ba4-4099-4ccb-b2fb-e2a6c30f3804" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /9f1ed7e9-6c27-4c78-9793-bb86c1a5743f/ Received string: "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" 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/e47882d3-148a-49d3-b6f2-8eed2b389347" - 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/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e47882d3-148a-49d3-b6f2-8eed2b389347" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /4e82b8b9-31cf-4f62-bb91-2a11f67c982e/ Received string: "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" 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/76bc534c-3e32-489f-95f7-207e52cd3f18" - 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/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/76bc534c-3e32-489f-95f7-207e52cd3f18" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
Playwright - 1
Process completed with exit code 1.
Report to GitHub
Cache folder path is retrieved for npm but doesn't exist on disk: /home/runner/.npm
🎭 Playwright Run Summary
2 skipped 164 passed (11.9m)
🎭 Playwright Run Summary
151 passed (11.9m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes 180 passed (18.2m)
🎭 Playwright Run Summary
179 passed (17.6m)
Report to GitHub
Failed to restore: Aborting cache download as the download time exceeded the timeout.

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
10.1 MB
flaky-tests-report Expired
4.07 KB