Skip to content

Test React Canary

Test React Canary #569

Triggered via schedule November 17, 2024 00:03
Status Failure
Total duration 1m 1s
Artifacts

test-canary.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors
useSWRInfinite › should update the getKey reference with the suspense mode: test/use-swr-infinite.test.tsx#L1197
Unable to find an element with the text: data: A1,A2,A3. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> loading </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-infinite.test.tsx:1197:18)
useSWRInfinite - preload › preload the fetcher function with the suspense mode: test/use-swr-infinite-preload.test.tsx#L119
Unable to find an element with the text: data:foo. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> loading </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-infinite-preload.test.tsx:119:18)
useSWR - preload › preload the fetcher function with the suspense mode: test/use-swr-preload.test.tsx#L102
Unable to find an element with the text: data:foo. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> loading </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-preload.test.tsx:102:18)
useSWR - preload › avoid suspense waterfall by prefetching the resources: test/use-swr-preload.test.tsx#L139
TestingLibraryElementError: Unable to find an element with the text: data:foo:bar. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> loading </div> </body> at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByText (test/use-swr-preload.test.tsx:139:12)
useSWR - concurrent rendering › should pause when changing the key inside a transition: test/use-swr-concurrent-rendering.test.tsx#L61
TestingLibraryElementError: Unable to find an element with the text: isPending:0,data:swr-key-4728541. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> isPending: 0 , loading </div> </div> </body> at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByText (test/use-swr-concurrent-rendering.test.tsx:61:12)
useSWR - suspense › should render fallback: test/use-swr-suspense.test.tsx#L37
Unable to find an element with the text: SWR. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> fallback </div> </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-suspense.test.tsx:37:18)
useSWR - suspense › should render multiple SWR fallbacks: test/use-swr-suspense.test.tsx#L71
TestingLibraryElementError: Unable to find an element with the text: 3. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> fallback </div> </div> </body> at Object.getElementError (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByText (test/use-swr-suspense.test.tsx:71:12)
useSWR - suspense › should work for non-promises: test/use-swr-suspense.test.tsx#L88
Unable to find an element with the text: hello. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> fallback </div> </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-suspense.test.tsx:88:18)
useSWR - suspense › should throw errors: test/use-swr-suspense.test.tsx#L117
Unable to find an element with the text: error boundary. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> fallback </div> </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-suspense.test.tsx:117:18)
useSWR - suspense › should pause when key changes: test/use-swr-suspense.test.tsx#L206
Unable to find an element with the text: data: swr-key-8581585. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div> fallback </div> </div> </body> at waitForWrapper (node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (test/use-swr-suspense.test.tsx:206:18)