Skip to content

Interactivity API: Server Directive Processor for data-wp-each #95164

Interactivity API: Server Directive Processor for data-wp-each

Interactivity API: Server Directive Processor for data-wp-each #95164

Re-run triggered January 31, 2024 12:38
Status Failure
Total duration 17m 28s
Artifacts 3

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 50s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 8 notices
[chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON 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:58:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:9:3
[chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON 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:58:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:9:3
[chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON 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:58:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:9:3
[chromium] › interactivity/directive-on-window.spec.ts:21:6 › data-wp-on-window › callbacks should run whenever the specified event is dispatched: test/e2e/specs/interactivity/directive-on-window.spec.ts#L26
2) [chromium] › interactivity/directive-on-window.spec.ts:21:6 › data-wp-on-window › callbacks should run whenever the specified event is dispatched Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('counter') Expected string: "1" Received string: "0" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('counter') - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" - locator resolved to <p data-testid="counter" data-wp-text="state.counte…>0</p> - unexpected value "0" 24 | await page.setViewportSize( { width: 600, height: 600 } ); 25 | const counter = page.getByTestId( 'counter' ); > 26 | await expect( counter ).toHaveText( '1' ); | ^ 27 | } ); 28 | test( 'the event listener is removed when the element is removed', async ( { 29 | page, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-on-window.spec.ts:26:27
Playwright - 7
Process completed with exit code 1.
🎭 Playwright Run Summary
158 passed (7.8m)
🎭 Playwright Run Summary
1 skipped 147 passed (8.0m)
🎭 Playwright Run Summary
11 skipped 150 passed (7.8m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.6m)
🎭 Playwright Run Summary
1 skipped 143 passed (7.2m)
🎭 Playwright Run Summary
4 skipped 120 passed (6.2m)
🎭 Playwright Run Summary
168 passed (7.6m)
🎭 Playwright Run Summary
1 failed [chromium] › interactivity/directive-each.spec.ts:21:6 › data-wp-each › should use `item` as the defaul item name in the context 1 flaky [chromium] › interactivity/directive-on-window.spec.ts:21:6 › data-wp-on-window › callbacks should run whenever the specified event is dispatched 17 skipped 159 passed (7.3m)
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
716 KB
flaky-tests-report Expired
1.17 KB