Skip to content

Optimistic keys

Optimistic keys #4541

Triggered via pull request July 11, 2024 04:28
Status Success
Total duration 3m 32s
Artifacts

tests.yml

on: pull_request
Matrix: End-to-End Tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 46 warnings, and 3 notices
src/routes/handle/test.ts:5:1 › handle fetch remembers server-side variables: e2e/react/src/routes/handle/test.ts#L24
1) src/routes/handle/test.ts:5:1 › handle fetch remembers server-side variables ================== page.waitForSelector: Timeout 1000ms exceeded. =========================== logs =========================== waiting for locator('[data-size="51"]') to be visible ============================================================ 22 | timeout: 1000, 23 | }) > 24 | | ^ 25 | // make sure the and variables line up 26 | await expect(page.textContent('#result')).resolves.toContain(dataUsers[1].avatarURL) 27 | await expect(getVariables()).resolves.toEqual({ userID: '2', size: 51 }) at file:///home/runner/work/houdini/houdini/e2e/react/src/routes/handle/test.ts:24:14
src/routes/optimistic-keys/test.ts:5:1 › @optimisticKey: e2e/react/src/routes/optimistic-keys/test.ts#L19
2) src/routes/optimistic-keys/test.ts:5:1 › @optimisticKey ======================================= Error: expect(received).toBe(expected) // Object.is equality Expected: "optimistic value 1" Received: "https://variety.com/wp-content/uploads/2022/03/Bruce-Willis.jpg?w=1000&h=562&crop=1" 17 | 18 | // the value in the last row should be 'optimistic value 1' > 19 | expect(await getValue()).toBe('optimistic value 1') | ^ 20 | 21 | // click on the last list in the row 22 | await page.click('[data-test-action="update"]') at file:///home/runner/work/houdini/houdini/e2e/react/src/routes/optimistic-keys/test.ts:19:28
src/routes/pagination/query/connection-backwards/test.ts:5:3 › backwards cursor paginatedQuery › loadPreviousPage: e2e/react/src/utils/testsHelper.ts#L117
3) src/routes/pagination/query/connection-backwards/test.ts:5:3 › backwards cursor paginatedQuery › loadPreviousPage Error: Not the right number of responses (selector: button[id=previous], Waited 9999ms.) Expected: 1 Received: 0 at src/utils/testsHelper.ts:117 115 | time_waiting += tim_inc 116 | > 117 | // if we have responses... Take the last one and double the number before saying, "OK we waited enough" | ^ 118 | if (timing.length > 0 && timing[timing.length - 1] * 2 < time_waiting) { 119 | waited_enough = true 120 | } at expect_n_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:117:110) at expect_1_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:24:19) at file:///home/runner/work/houdini/houdini/e2e/react/src/routes/pagination/query/connection-backwards/test.ts:12:5
src/routes/pagination/query/connection-bidirectional/spec.ts:5:3 › bidirectional cursor paginated query › backwards and then forwards: e2e/react/src/utils/testsHelper.ts#L117
4) src/routes/pagination/query/connection-bidirectional/spec.ts:5:3 › bidirectional cursor paginated query › backwards and then forwards Error: Not the right number of responses (selector: button[id=previous], Waited 9999ms.) Expected: 1 Received: 0 at src/utils/testsHelper.ts:117 115 | time_waiting += tim_inc 116 | > 117 | // if we have responses... Take the last one and double the number before saying, "OK we waited enough" | ^ 118 | if (timing.length > 0 && timing[timing.length - 1] * 2 < time_waiting) { 119 | waited_enough = true 120 | } at expect_n_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:117:110) at expect_1_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:24:19) at file:///home/runner/work/houdini/houdini/e2e/react/src/routes/pagination/query/connection-bidirectional/spec.ts:14:5
src/routes/pagination/query/connection-forwards/test.ts:5:3 › forwards cursor paginatedQuery › loadNextPage: e2e/react/src/utils/testsHelper.ts#L117
5) src/routes/pagination/query/connection-forwards/test.ts:5:3 › forwards cursor paginatedQuery › loadNextPage Error: Not the right number of responses (selector: button[id=next], Waited 9999ms.) Expected: 1 Received: 0 at src/utils/testsHelper.ts:117 115 | time_waiting += tim_inc 116 | > 117 | // if we have responses... Take the last one and double the number before saying, "OK we waited enough" | ^ 118 | if (timing.length > 0 && timing[timing.length - 1] * 2 < time_waiting) { 119 | waited_enough = true 120 | } at expect_n_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:117:110) at expect_1_gql (file:///home/runner/work/houdini/houdini/e2e/react/src/utils/testsHelper.ts:24:19) at file:///home/runner/work/houdini/houdini/e2e/react/src/routes/pagination/query/connection-forwards/test.ts:12:5
🎭 Playwright Run Summary
1 passed (6.7s)
🎭 Playwright Run Summary
5 flaky src/routes/handle/test.ts:5:1 › handle fetch remembers server-side variables =================== src/routes/optimistic-keys/test.ts:5:1 › @optimisticKey ======================================== src/routes/pagination/query/connection-backwards/test.ts:5:3 › backwards cursor paginatedQuery › loadPreviousPage src/routes/pagination/query/connection-bidirectional/spec.ts:5:3 › bidirectional cursor paginated query › backwards and then forwards src/routes/pagination/query/connection-forwards/test.ts:5:3 › forwards cursor paginatedQuery › loadNextPage 15 passed (24.9s)
🎭 Playwright Run Summary
114 passed (1.1m)
Verify Init
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Verify Init
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
Verify Init
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/
Verify Init
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/
Verify Init
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/
Verify Init
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/
Formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Formatting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Formatting
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/
Formatting
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/
Formatting
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/
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
Tests
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/
Tests
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/
Tests
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/
Tests
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/
End-to-End Linter
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
End-to-End Linter
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
End-to-End Linter
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/
End-to-End Linter
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/
End-to-End Linter
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/
End-to-End Linter
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/
End-to-End Linter: e2e/kit/src/routes/nested-argument-fragments-masking/spec.ts#L3
'expect_1_gql' is defined but never used
End-to-End Linter: e2e/kit/src/routes/nested-argument-fragments-masking/spec.ts#L3
'expect_to_be' is defined but never used
End-to-End Tests (ubuntu-latest, e2e-svelte)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
End-to-End Tests (ubuntu-latest, e2e-svelte)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
End-to-End Tests (ubuntu-latest, e2e-svelte)
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/
End-to-End Tests (ubuntu-latest, e2e-svelte)
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/
End-to-End Tests (ubuntu-latest, e2e-svelte)
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/
End-to-End Tests (ubuntu-latest, e2e-svelte)
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/
End-to-End Tests (ubuntu-latest, e2e-react)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
End-to-End Tests (ubuntu-latest, e2e-react)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
Slow Test: e2e/react/src/routes/pagination/query/connection-forwards/test.ts#L1
e2e/react/src/routes/pagination/query/connection-forwards/test.ts took 17.1s
Slow Test: e2e/react/src/routes/pagination/query/connection-backwards/test.ts#L1
e2e/react/src/routes/pagination/query/connection-backwards/test.ts took 17.0s
End-to-End Tests (ubuntu-latest, e2e-react)
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/
End-to-End Tests (ubuntu-latest, e2e-react)
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/
End-to-End Tests (ubuntu-latest, e2e-react)
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/
End-to-End Tests (ubuntu-latest, e2e-react)
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/
End-to-End Tests (ubuntu-latest, e2e-kit)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/action-setup@v2.0.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
End-to-End Tests (ubuntu-latest, e2e-kit)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2.0.1, 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/
End-to-End Tests (ubuntu-latest, e2e-kit)
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/
End-to-End Tests (ubuntu-latest, e2e-kit)
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/
End-to-End Tests (ubuntu-latest, e2e-kit)
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/
End-to-End Tests (ubuntu-latest, e2e-kit)
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/