Skip to content

Update constructor-create-block.spec.js #66

Update constructor-create-block.spec.js

Update constructor-create-block.spec.js #66

Triggered via push September 21, 2024 19:52
Status Failure
Total duration 3m 47s
Artifacts

tests-e2e.yml

on: push
Matrix: playwright
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 4 warnings, and 4 notices
[chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected: tests/e2e/specs/editor-block-component-inner-blocks.spec.js#L101
1) [chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected TypeError: editor.canvas.click is not a function 99 | 100 | // Select the inner block. > 101 | await editor.canvas.click( | ^ 102 | '.wp-block-lazyblock-test .wp-block-lazyblock-test' 103 | ); 104 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-component-inner-blocks.spec.js:101:23
[chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected: tests/e2e/specs/editor-block-component-inner-blocks.spec.js#L101
1) [chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: editor.canvas.click is not a function 99 | 100 | // Select the inner block. > 101 | await editor.canvas.click( | ^ 102 | '.wp-block-lazyblock-test .wp-block-lazyblock-test' 103 | ); 104 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-component-inner-blocks.spec.js:101:23
[chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected: tests/e2e/specs/editor-block-component-inner-blocks.spec.js#L101
1) [chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: editor.canvas.click is not a function 99 | 100 | // Select the inner block. > 101 | await editor.canvas.click( | ^ 102 | '.wp-block-lazyblock-test .wp-block-lazyblock-test' 103 | ); 104 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-component-inner-blocks.spec.js:101:23
Playwright - 1
Process completed with exit code 1.
[chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly: tests/e2e/specs/editor-block-rendering.spec.js#L78
1) [chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Create' }) 76 | await page.getByPlaceholder('My pattern').fill('Test pattern'); 77 | > 78 | await page.getByRole('button', { name: 'Create' }).click(); | ^ 79 | 80 | await expect(page.getByLabel('Test pattern')).toBeVisible(); 81 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-rendering.spec.js:78:54
[chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly: tests/e2e/specs/editor-block-rendering.spec.js#L78
1) [chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Create' }) 76 | await page.getByPlaceholder('My pattern').fill('Test pattern'); 77 | > 78 | await page.getByRole('button', { name: 'Create' }).click(); | ^ 79 | 80 | await expect(page.getByLabel('Test pattern')).toBeVisible(); 81 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-rendering.spec.js:78:54
[chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly: tests/e2e/specs/editor-block-rendering.spec.js#L78
1) [chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Create' }) 76 | await page.getByPlaceholder('My pattern').fill('Test pattern'); 77 | > 78 | await page.getByRole('button', { name: 'Create' }).click(); | ^ 79 | 80 | await expect(page.getByLabel('Test pattern')).toBeVisible(); 81 | at /home/runner/work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-rendering.spec.js:78:54
Playwright - 2
Process completed with exit code 1.
Playwright - 4
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Playwright - 3
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Playwright - 1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Playwright - 2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 passed (5.5s)
🎭 Playwright Run Summary
2 passed (5.5s)
🎭 Playwright Run Summary
1 failed [chromium] › editor-block-component-inner-blocks.spec.js:72:6 › editor block component <InnerBlocks /> › nested inner blocks should keep hidden appender if parent block is selected 4 passed (26.2s)
🎭 Playwright Run Summary
1 failed [chromium] › editor-block-rendering.spec.js:47:6 › editor block rendering › should render reusable block correctly 1 passed (47.4s)