Experiment: Auto-inserting blocks on the frontend and in the editor (via REST API) #79222
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 10s
Annotations
6 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: /74cf84a3-97c0-419d-a827-55990cb3d37a/
Received string: "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
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/70ce871f-ba79-474e-b964-90448b80449d"
- 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/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/70ce871f-ba79-474e-b964-90448b80449d"
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: /3797ab75-d6dc-4d8f-897d-02ca8acd5f9d/
Received string: "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
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/d6d96682-966b-4942-b732-8fa452e5bbbb"
- 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/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d6d96682-966b-4942-b732-8fa452e5bbbb"
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: /72f2ce70-035f-4545-bee9-dcfd6e16b12b/
Received string: "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
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/87162c39-e73b-4861-b62f-70760becc182"
- 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/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/87162c39-e73b-4861-b62f-70760becc182"
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: /d044ec88-8fe8-4e70-bfb6-2a77f23c4c9e/
Received string: "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
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/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- 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/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3b2de4c9-a15a-4d34-8e09-581f14806f18"
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
3) [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: /0e36c67d-c701-4d19-8f1c-697b39163f69/
Received string: "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
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/d661c198-48f6-4663-af4e-4e22b85a940d"
- 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/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d661c198-48f6-4663-af4e-4e22b85a940d"
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.
|
🎭 Playwright Run Summary
2 skipped
173 passed (12.0m)
|
🎭 Playwright Run Summary
184 passed (13.0m)
|
🎭 Playwright Run Summary
158 passed (13.0m)
|
🎭 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
2 flaky
[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:1102:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should open and focus appropriately using enter key
184 passed (17.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
9.58 MB |
|
flaky-tests-report
Expired
|
21.6 KB |
|