[codex] Cache prepared get_blocks results per request #327
Annotations
10 errors, 1 warning, and 1 notice
|
Run the tests:
tests/e2e/specs/editor-block-repeater-control.spec.js#L35
4) [chromium] › editor-block-repeater-control.spec.js:82:6 › editor block with Repeater control › create Repeater block manually in block builder UI
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Repeater Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Repeater Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddRepeaterBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-repeater-control.spec.js:35:57)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-repeater-control.spec.js:88:19
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
3) [chromium] › editor-block-base-controls.spec.js:111:6 › editor block with Base control › should render Base block correctly
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:118:3
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
3) [chromium] › editor-block-base-controls.spec.js:111:6 › editor block with Base control › should render Base block correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:118:3
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
3) [chromium] › editor-block-base-controls.spec.js:111:6 › editor block with Base control › should render Base block correctly
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:118:3
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
2) [chromium] › editor-block-base-controls.spec.js:93:6 › editor block with Base control › create Base block manually in block builder UI
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:99:19
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
2) [chromium] › editor-block-base-controls.spec.js:93:6 › editor block with Base control › create Base block manually in block builder UI
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:99:19
|
|
Run the tests:
tests/e2e/specs/editor-block-base-controls.spec.js#L35
2) [chromium] › editor-block-base-controls.spec.js:93:6 › editor block with Base control › create Base block manually in block builder UI
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel('“Test Base Block” (Edit)')
33 | await admin.visitAdminPage('edit.php?post_type=lazyblocks');
34 |
> 35 | await page.getByLabel('“Test Base Block” (Edit)').click();
| ^
36 |
37 | await page.waitForTimeout(500);
38 |
at manuallyAddBaseBlock (/home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:35:53)
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-base-controls.spec.js:99:19
|
|
Run the tests:
tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js#L169
1) [chromium] › editor-block-attribute-useBlockProps.spec.js:121:6 › editor block attribute useBlockProps › should render custom user block wrapper with custom attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
167 |
168 | // Frontend render.
> 169 | await expect(frontendPage.locator(expectSelector)).toBeVisible();
| ^
170 | });
171 | });
172 |
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js:169:54
|
|
Run the tests:
tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js#L169
1) [chromium] › editor-block-attribute-useBlockProps.spec.js:121:6 › editor block attribute useBlockProps › should render custom user block wrapper with custom attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
167 |
168 | // Frontend render.
> 169 | await expect(frontendPage.locator(expectSelector)).toBeVisible();
| ^
170 | });
171 | });
172 |
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js:169:54
|
|
Run the tests:
tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js#L169
1) [chromium] › editor-block-attribute-useBlockProps.spec.js:121:6 › editor block attribute useBlockProps › should render custom user block wrapper with custom attributes
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('figure.wp-block-lazyblock-test.test-custom-class[data-test="hello"][style="background-color: red; color: blue;"]:text("Hello There")')
167 |
168 | // Frontend render.
> 169 | await expect(frontendPage.locator(expectSelector)).toBeVisible();
| ^
170 | });
171 | });
172 |
at /home/runner/_work/lazy-blocks/lazy-blocks/tests/e2e/specs/editor-block-attribute-useBlockProps.spec.js:169:54
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run the tests
8 failed
[chromium] › editor-block-attribute-useBlockProps.spec.js:121:6 › editor block attribute useBlockProps › should render custom user block wrapper with custom attributes
[chromium] › editor-block-base-controls.spec.js:93:6 › editor block with Base control › create Base block manually in block builder UI
[chromium] › editor-block-base-controls.spec.js:111:6 › editor block with Base control › should render Base block correctly
[chromium] › editor-block-repeater-control.spec.js:82:6 › editor block with Repeater control › create Repeater block manually in block builder UI
[chromium] › editor-block-repeater-control.spec.js:100:6 › editor block with Repeater control › should render Repeater block correctly
[chromium] › editor-block-with-frame.spec.js:14:6 › editor block with frame and content controls › should render frame in editor when there are content control
[chromium] › editor-block-with-frame.spec.js:60:6 › editor block with frame and content controls › should render frame in editor when there are content and inspector control
[chromium] › editor-block-with-frame.spec.js:106:6 › editor block with frame and content controls › should not render frame in editor when there are only inspector control
18 passed (5.0m)
|
background
wait
wait-all
cancel
parallel
Loading