Add maxLength to LinkControl search items (#52523) #78291
end2end-test.yml
on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 24s
Annotations
5 errors and 4 notices
Puppeteer - 3:
packages/e2e-tests/specs/editor/plugins/block-context.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"],[" was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe. JSHandle@node"]
at Object.expect (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:4)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:262:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:235:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:157:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
|
Puppeteer - 3
Process completed with exit code 1.
|
[chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block:
packages/e2e-test-utils-playwright/src/admin/create-new-post.js#L42
1) [chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name=editor-canvas]').locator('body > *').first() to be visible
============================================================
at ../../../packages/e2e-test-utils-playwright/src/admin/create-new-post.js:42
40 | .first();
41 |
> 42 | await canvasReadyLocator.waitFor();
| ^
43 |
44 | await this.page.evaluate( ( welcomeGuide ) => {
45 | window.wp.data
at Admin.createNewPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/create-new-post.js:42:27)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/convert-block-type.spec.js:8:3
|
[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: /05c5d88e-520a-4de8-b51c-b7376f65231b/
Received string: "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
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/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- 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/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/0623e7b1-221f-41ed-8b2f-b47faba1ef24"
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:840: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#L789
2) [chromium] › editor/blocks/image.spec.js:840: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: /2d8f883b-aa3e-41b8-86d5-3307044a148a/
Received string: "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
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/fddb4196-8e13-43a4-8dd9-61db510054f1"
- 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/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/fddb4196-8e13-43a4-8dd9-61db510054f1"
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 Run Summary
2 skipped
164 passed (11.6m)
|
🎭 Playwright Run Summary
151 passed (12.2m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › editor/various/convert-block-type.spec.js:15:2 › Code block › should convert to a preformatted block
178 passed (16.0m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes
[chromium] › editor/blocks/image.spec.js:840: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
179 passed (17.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
8.6 MB |
|
flaky-tests-report
Expired
|
24.8 KB |
|