Render block preview on the server #88827
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
2m 26s
Annotations
53 errors and 4 notices
Puppeteer - 1:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Heading')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at searchForBlock (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:288:9)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:258:3)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L813
TimeoutError: waiting for XPath `//button[text()="Browse all"]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at Object.waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js:321:32)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Puppeteer - 1:
packages/e2e-tests/specs/editor/various/inserting-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 1
Process completed with exit code 1.
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Greeting block')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:249:18)
at insertPattern (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:339:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:77:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Awesome block')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:249:18)
at insertPattern (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:339:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:173:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Multi-selection reusable block')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:249:18)
at insertPattern (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:339:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:218:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Random reusable block')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:249:18)
at insertPattern (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:339:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:234:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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 - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L813
TimeoutError: waiting for XPath `//*[@ROLE='option' and contains(., 'Duplicated reusable block')]` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:702:22)
at Frame.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1320:47)
at Page.waitForXPath (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3281:29)
at waitForXPath (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:185:23)
at waitForInsertElement (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:215:31)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at insertFromGlobalInserter (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:249:18)
at insertPattern (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/inserter.js:339:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/pattern-blocks.test.js:301:3)
|
Puppeteer - 2:
packages/e2e-tests/specs/editor/various/pattern-blocks.test.js#L55
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["ReferenceError: PATTERN_TYPES is not defined
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:55:1404
at http://localhost:8889/wp-content/plugins/gutenberg/build/block-editor/index.min.js?ver=6b01aeffa857662f1ebb:49:623
at tN (http://localhost:8889/wp-content/plugins/gutenberg/build/components/index.min.js?ver=2d7e6a8cbd60eb801b8c:41:12634)
at St (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:47627)
at $s (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120574)
at Sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88649)
at kl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88577)
at bl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88440)
at sl (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85264)
at il (http://localhost:8889/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:83821)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/build/@wordpress/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:147:7)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70: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)
|
[chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List:
test/e2e/specs/editor/blocks/query.spec.js#L46
1) [chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List ────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' })
============================================================
44 | .getByRole( 'dialog', { name: 'Choose a pattern' } )
45 | .getByRole( 'option', { name: 'Standard' } )
> 46 | .click();
| ^
47 |
48 | await expect.poll( editor.getBlocks ).toMatchObject( [
49 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:46:6
|
[chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List:
test/e2e/specs/editor/blocks/query.spec.js#L46
1) [chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' })
============================================================
44 | .getByRole( 'dialog', { name: 'Choose a pattern' } )
45 | .getByRole( 'option', { name: 'Standard' } )
> 46 | .click();
| ^
47 |
48 | await expect.poll( editor.getBlocks ).toMatchObject( [
49 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:46:6
|
[chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List:
test/e2e/specs/editor/blocks/query.spec.js#L46
1) [chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('dialog', { name: 'Choose a pattern' }).getByRole('option', { name: 'Standard' })
============================================================
44 | .getByRole( 'dialog', { name: 'Choose a pattern' } )
45 | .getByRole( 'option', { name: 'Standard' } )
> 46 | .click();
| ^
47 |
48 | await expect.poll( editor.getBlocks ).toMatchObject( [
49 | {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/query.spec.js:46:6
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 5
+ Received + 1
- Array [
- "Paragraph",
- "Success Message",
- "Warning Message",
- ]
+ Array []
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 5
+ Received + 1
- Array [
- "Paragraph",
- "Success Message",
- "Warning Message",
- ]
+ Array []
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations:
test/e2e/specs/editor/plugins/block-variations.spec.js#L80
2) [chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- Expected - 5
+ Received + 1
- Array [
- "Paragraph",
- "Success Message",
- "Warning Message",
- ]
+ Array []
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' }).getByRole('option')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
78 | .getByRole( 'listbox', { name: 'Blocks' } )
79 | .getByRole( 'option' )
> 80 | ).toHaveText( [ 'Paragraph', 'Success Message', 'Warning Message' ] );
| ^
81 | } );
82 |
83 | test( 'Insert the Success Message block variation', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-variations.spec.js:80:5
|
[chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block:
test/e2e/specs/editor/blocks/search.spec.js#L61
3) [chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('listbox', { name: 'Blocks' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('listbox', { name: 'Blocks' })
59 | } );
60 |
> 61 | await expect( blockResults ).toBeVisible();
| ^
62 |
63 | const searchBlockResult = blockResults.getByRole( 'option', {
64 | name: 'Search',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/search.spec.js:61:32
|
Playwright - 1
Process completed with exit code 1.
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
|
[chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-effect.spec.ts:9:3
|
[chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-effect.spec.ts:9:3
|
[chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-effect.spec.ts:9:3
|
[chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-init.spec.ts:9:3
|
[chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-init.spec.ts:9:3
|
[chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-init.spec.ts:9:3
|
[chromium] › interactivity/directive-key.spec.ts:21:6 › data-wp-key › should keep the elements when adding items to the start of the array:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
4) [chromium] › interactivity/directive-key.spec.ts:21:6 › data-wp-key › should keep the elements when adding items to the start of the array
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-key.spec.ts:9:3
|
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern:
test/e2e/specs/editor/various/adding-patterns.spec.js#L21
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=option[name="Social links with a shared background color"i]')
============================================================
19 | );
20 |
> 21 | await page.click(
| ^
22 | 'role=option[name="Social links with a shared background color"i]'
23 | );
24 | await expect.poll( editor.getBlocks ).toMatchObject( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:21:14
|
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern:
test/e2e/specs/editor/various/adding-patterns.spec.js#L21
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=option[name="Social links with a shared background color"i]')
============================================================
19 | );
20 |
> 21 | await page.click(
| ^
22 | 'role=option[name="Social links with a shared background color"i]'
23 | );
24 | await expect.poll( editor.getBlocks ).toMatchObject( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:21:14
|
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern:
test/e2e/specs/editor/various/adding-patterns.spec.js#L21
1) [chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=option[name="Social links with a shared background color"i]')
============================================================
19 | );
20 |
> 21 | await page.click(
| ^
22 | 'role=option[name="Social links with a shared background color"i]'
23 | );
24 | await expect.poll( editor.getBlocks ).toMatchObject( [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/adding-patterns.spec.js:21:14
|
[chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L55
2) [chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
53 | );
54 |
> 55 | await page.hover(
| ^
56 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
57 | );
58 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:55:14
|
[chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L55
2) [chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
53 | );
54 |
> 55 | await page.hover(
| ^
56 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
57 | );
58 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:55:14
|
[chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L55
2) [chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
53 | );
54 |
> 55 | await page.hover(
| ^
56 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
57 | );
58 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:55:14
|
[chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L136
3) [chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
134 | );
135 |
> 136 | await page.hover(
| ^
137 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
138 | );
139 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:136:14
|
[chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L136
3) [chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
134 | );
135 |
> 136 | await page.hover(
| ^
137 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
138 | );
139 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:136:14
|
[chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L136
3) [chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Blocks"i]').locator('role=option[name="Heading"i]')
============================================================
134 | );
135 |
> 136 | await page.hover(
| ^
137 | 'role=listbox[name="Blocks"i] >> role=option[name="Heading"i]'
138 | );
139 | const paragraphBoundingBox = await paragraphBlock.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:136:14
|
[chromium] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@firefox:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L202
4) [chromium] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
TimeoutError: page.hover: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=listbox[name="Block Patterns"i]').locator('role=option[name="Social links with a shared background color"i]')
============================================================
200 | );
201 |
> 202 | await page.hover(
| ^
203 | `role=listbox[name="Block Patterns"i] >> role=option[name="${ PATTERN_NAME }"i]`
204 | );
205 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:202:14
|
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-context.spec.ts:16:3
|
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
2) [chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-style.spec.ts:9:3
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
3) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:9:3
|
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
4) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
SyntaxError: Unexpected token W in JSON at position 1
at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104
102 | },
103 | } );
> 104 | const json: RestResponse = await response.json();
| ^
105 |
106 | if ( ! response.ok() ) {
107 | throw json;
at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30)
at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15)
at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:9:3
|
🎭 Playwright Run Summary
2 failed
[chromium] › editor/blocks/query.spec.js:35:3 › Query block › Query block insertion › List ─────
[chromium] › editor/plugins/block-variations.spec.js:62:2 › Block variations › Search for the Paragraph block with 2 additional variations
1 flaky
[chromium] › editor/blocks/search.spec.js:23:2 › Search › should auto-configure itself to sensible defaults when inserted into a Navigation block
12 skipped
244 passed (13.6m)
|
🎭 Playwright Run Summary
14 failed
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
[chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added
[chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders
[chromium] › interactivity/directive-key.spec.ts:21:6 › data-wp-key › should keep the elements when adding items to the start of the array
[chromium] › interactivity/directive-on.spec.ts:21:6 › data-wp-on › callbacks should run whenever the specified event is dispatched
[chromium] › interactivity/directive-priorities.spec.ts:21:6 › Directives (w/ priority) › should run in priority order
[chromium] › interactivity/directive-slots.spec.ts:21:6 › data-wp-slot › should render the fill in its children by default
[chromium] › interactivity/directives-body.spec.ts:21:6 › data-wp-body › should move the element to the document's body
[chromium] › interactivity/directives-class.spec.ts:21:6 › data-wp-class › remove class if callback returns falsy value
[chromium] › site-editor/pages.spec.js:93:2 › Pages › create a new page, edit template and toggle page template preview
[chromium] › site-editor/pages.spec.js:260:2 › Pages › swap template and reset to default ──────
[chromium] › site-editor/pages.spec.js:320:2 › Pages › swap template options should respect the declared `postTypes`
[chromium] › site-editor/template-part.spec.js:54:2 › Template Part › can create template parts via the block placeholder choose existing option
[chromium] › site-editor/templates.spec.js:13:2 › Templates › Create a custom template ─────────
42 skipped
201 passed (14.5m)
|
🎭 Playwright Run Summary
10 failed
[chromium] › editor/various/adding-patterns.spec.js:11:2 › adding patterns › should insert a block pattern
[chromium] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[chromium] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:19:2 › Order of block keyboard navigation › permits tabbing through paragraph blocks in the expected order
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:44:2 › Order of block keyboard navigation › allows tabbing in navigation mode if no block is selected
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:133:2 › Order of block keyboard navigation › should navigate correctly with multi selection
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu
[chromium] › editor/various/patterns.spec.js:100:2 › Synced pattern › create a new synced pattern via the block options menu
250 passed (17.3m)
|
🎭 Playwright Run Summary
16 failed
[chromium] › interactivity/directives-context.spec.ts:28:6 › data-wp-context › is correctly initialized
[chromium] › interactivity/directives-style.spec.ts:21:6 › data-wp-style › dont change style if callback returns same value on hydration
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
[chromium] › interactivity/router-navigate.spec.ts:32:6 › Router navigate › should update the HTML only for the latest navigation
[chromium] › interactivity/router-regions.spec.ts:28:6 › Router regions › should be the only part hydrated
[chromium] › interactivity/store-afterload.spec.ts:21:6 › store afterLoad callbacks › run after the vdom and store are ready
[chromium] › interactivity/store-tag.spec.ts:26:6 › store tag › hydrates when it is well defined
[chromium] › interactivity/tovdom-islands.spec.ts:19:6 › toVdom - islands › directives that are not inside islands should not be hydrated
[chromium] › interactivity/tovdom.spec.ts:19:6 › toVdom › it should delete comments ────────────
[webkit] › editor/various/inserting-blocks.spec.js:22:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[webkit] › editor/various/inserting-blocks.spec.js:166:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[webkit] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
[firefox] › editor/various/inserting-blocks.spec.js:105:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[firefox] › editor/various/inserting-blocks.spec.js:241:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
1 flaky
[webkit] › editor/various/writing-flow.spec.js:1015:2 › Writing Flow (@Firefox, @WebKit) › should move to the start of the first line on ArrowUp (-firefox)
40 skipped
196 passed (17.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
124 MB |
|
flaky-tests-report
Expired
|
27.5 KB |
|