Skip to content

[WIP] fix: wait for hydration via react effect #732

[WIP] fix: wait for hydration via react effect

[WIP] fix: wait for hydration via react effect #732

Triggered via pull request June 30, 2024 17:29
Status Success
Total duration 14m 22s
Artifacts

test.yml

on: pull_request
Matrix: integration
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 21 warnings, and 3 notices
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test/fs-router.test.ts#L1
1) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Test timeout of 360000ms exceeded.
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test/helpers/playwright-fixture.ts#L199
1) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('[data-ready]') ============================================================ at helpers/playwright-fixture.ts:199 197 | */ 198 | async isReady () { > 199 | return this.page.locator('[data-ready]').waitFor({ state: "attached" }); | ^ 200 | } 201 | } 202 | at PlaywrightFixture.isReady (/home/runner/work/vinxi/vinxi/test/helpers/playwright-fixture.ts:199:46) at /home/runner/work/vinxi/vinxi/test/fs-router.test.ts:68:13
[chromium] › basic.test.ts:46:2 › basic-dev › hydrates: test/basic.test.ts#L59
1) [chromium] › basic.test.ts:46:2 › basic-dev › hydrates ──────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "<span data-test-id=\"count\">1</span>" Received: "<span data-test-id=\"count\">0</span>" 57 | await app.clickElement("[data-test-id=button]"); 58 | > 59 | expect(await app.getHtml("[data-test-id=count]")).toBe( | ^ 60 | prettyHtml(`<span data-test-id="count">1</span>`), 61 | ); 62 | }); at /Users/runner/work/vinxi/vinxi/test/basic.test.ts:59:53
[chromium] › hmr.test.ts:91:2 › hmr › client hmr: test/hmr.test.ts#L1
2) [chromium] › hmr.test.ts:91:2 › hmr › client hmr ────────────────────────────────────────────── Test timeout of 360000ms exceeded.
[chromium] › hmr.test.ts:91:2 › hmr › client hmr: test/helpers/playwright-fixture.ts#L199
2) [chromium] › hmr.test.ts:91:2 › hmr › client hmr ────────────────────────────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('[data-ready]') ============================================================ at helpers/playwright-fixture.ts:199 197 | */ 198 | async isReady () { > 199 | return this.page.locator('[data-ready]').waitFor({ state: "attached" }); | ^ 200 | } 201 | } 202 | at PlaywrightFixture.isReady (/Users/runner/work/vinxi/vinxi/test/helpers/playwright-fixture.ts:199:46) at /Users/runner/work/vinxi/vinxi/test/hmr.test.ts:94:13
[chromium] › basic.test.ts:46:2 › basic-dev › hydrates: test\basic.test.ts#L59
1) [chromium] › basic.test.ts:46:2 › basic-dev › hydrates ──────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "<span data-test-id=\"count\">1</span>" Received: "<span data-test-id=\"count\">0</span>" 57 | await app.clickElement("[data-test-id=button]"); 58 | > 59 | expect(await app.getHtml("[data-test-id=count]")).toBe( | ^ 60 | prettyHtml(`<span data-test-id="count">1</span>`), 61 | ); 62 | }); at D:\a\vinxi\vinxi\test\basic.test.ts:59:53
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test\fs-router.test.ts#L1
2) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Test timeout of 360000ms exceeded.
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test\helpers\playwright-fixture.ts#L199
2) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('[data-ready]') ============================================================ at helpers\playwright-fixture.ts:199 197 | */ 198 | async isReady () { > 199 | return this.page.locator('[data-ready]').waitFor({ state: "attached" }); | ^ 200 | } 201 | } 202 | at PlaywrightFixture.isReady (D:\a\vinxi\vinxi\test\helpers\playwright-fixture.ts:199:46) at D:\a\vinxi\vinxi\test\fs-router.test.ts:68:13
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test\fs-router.test.ts#L1
2) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 360000ms exceeded.
[chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates: test\helpers\playwright-fixture.ts#L199
2) [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('[data-ready]') ============================================================ at helpers\playwright-fixture.ts:199 197 | */ 198 | async isReady () { > 199 | return this.page.locator('[data-ready]').waitFor({ state: "attached" }); | ^ 200 | } 201 | } 202 | at PlaywrightFixture.isReady (D:\a\vinxi\vinxi\test\helpers\playwright-fixture.ts:199:46) at D:\a\vinxi\vinxi\test\fs-router.test.ts:68:13
🎭 Playwright Run Summary
1 flaky [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ───────────────────────────────── 33 passed (6.6m)
🎭 Playwright Run Summary
2 flaky [chromium] › basic.test.ts:46:2 › basic-dev › hydrates ───────────────────────────────────────── [chromium] › hmr.test.ts:91:2 › hmr › client hmr ─────────────────────────────────────────────── 32 passed (7.7m)
🎭 Playwright Run Summary
2 flaky [chromium] › basic.test.ts:46:2 › basic-dev › hydrates ───────────────────────────────────────── [chromium] › fs-router.test.ts:65:2 › fs-router-dev › hydrates ───────────────────────────────── 32 passed (12.9m)
👀 (os: ubuntu-latest, node: 18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pnpm/action-setup@v2.2.2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
👀 (os: ubuntu-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
👀 (os: ubuntu-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: ubuntu-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Slow Test: test/[chromium] › fs-router.test.ts#L1
test/[chromium] › fs-router.test.ts took 6.2m
👀 (os: macos-latest, node: 18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pnpm/action-setup@v2.2.2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
👀 (os: macos-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Slow Test: test/[chromium] › hmr.test.ts#L1
test/[chromium] › hmr.test.ts took 6.2m
👀 (os: macos-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: macos-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: macos-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: macos-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pnpm/action-setup@v2.2.2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
👀 (os: windows-latest, node: 18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pnpm/action-setup@v2.2.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
👀 (os: windows-latest, node: 18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Slow Test: test\[chromium] › fs-router.test.ts#L1
test\[chromium] › fs-router.test.ts took 12.2m
👀 (os: windows-latest, node: 18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/