Skip to content

Interactivity API: Defer hydration until node is scrolled near the viewport #95898

Interactivity API: Defer hydration until node is scrolled near the viewport

Interactivity API: Defer hydration until node is scrolled near the viewport #95898

Triggered via pull request February 6, 2024 00:27
Status Failure
Total duration 20m 57s
Artifacts 2

end2end-test.yml

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

Annotations

6 errors, 10 warnings, and 8 notices
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values: test/e2e/specs/interactivity/directive-bind.spec.ts#L218
1) [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "false", - "false", + null, ] 216 | name 217 | ); > 218 | expect( [ type, hydratedAttr ] ).toEqual( [ | ^ 219 | type, 220 | attrValue, 221 | ] ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:218:39
[chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation: test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('navigation-updated list').getByTestId('item') - Expected - 1 + Received + 0 Array [ - "alpha", "beta", "gamma", "delta", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('navigation-updated list').getByTestId('item') - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements 322 | .click(); 323 | > 324 | await expect( elements ).toHaveText( [ | ^ 325 | 'alpha', 326 | 'beta', 327 | 'gamma', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
[chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation: test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('navigation-updated list').getByTestId('item') - Expected - 1 + Received + 0 Array [ - "alpha", "beta", "gamma", "delta", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('navigation-updated list').getByTestId('item') - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements 322 | .click(); 323 | > 324 | await expect( elements ).toHaveText( [ | ^ 325 | 'alpha', 326 | 'beta', 327 | 'gamma', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
[chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation: test/e2e/specs/interactivity/directive-each.spec.ts#L324
1) [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('navigation-updated list').getByTestId('item') - Expected - 1 + Received + 0 Array [ - "alpha", "beta", "gamma", "delta", ] Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('navigation-updated list').getByTestId('item') - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements - locator resolved to 3 elements 322 | .click(); 323 | > 324 | await expect( elements ).toHaveText( [ | ^ 325 | 'alpha', 326 | 'beta', 327 | 'gamma', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-each.spec.ts:324:28
Playwright - 7
Process completed with exit code 1.
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
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 - 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 - 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 - 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 - 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/.
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 - 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/.
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/.
🎭 Playwright Run Summary
1 flaky [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values 4 skipped 119 passed (6.1m)
🎭 Playwright Run Summary
1 skipped 145 passed (7.4m)
🎭 Playwright Run Summary
3 skipped 119 passed (7.4m)
🎭 Playwright Run Summary
1 failed [chromium] › interactivity/directive-each.spec.ts:302:6 › data-wp-each › should work on navigation 176 passed (7.5m)
🎭 Playwright Run Summary
153 passed (7.7m)
🎭 Playwright Run Summary
155 passed (8.0m)
🎭 Playwright Run Summary
11 skipped 151 passed (8.2m)
🎭 Playwright Run Summary
1 skipped 186 passed (8.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
263 KB
flaky-tests-report Expired
923 Bytes