Patterns: Add client side pagination to patterns list #78333
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 23s
Annotations
4 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 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/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: /ac8ccfc9-14ea-4ad2-a48d-0ed39a5a61d0/
Received string: "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
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/085890c3-0fd1-44a0-89ab-61eb59c69525"
- 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/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/085890c3-0fd1-44a0-89ab-61eb59c69525"
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: /f9d82f7b-0dca-4fc8-8cbb-e178fb7ee89d/
Received string: "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
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/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- 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/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/d9cd6a2d-c450-4b47-be4b-9fe73f2d9730"
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
151 passed (11.1m)
|
🎭 Playwright Run Summary
179 passed (15.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 (16.9m)
|
🎭 Playwright Run Summary
2 skipped
164 passed (14.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
7.06 MB |
|
flaky-tests-report
Expired
|
22.4 KB |
|