Skip to content

fix(deps): update all non-major dependencies #4908

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #4908

Triggered via pull request April 2, 2024 13:25
Status Failure
Total duration 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/__tests__/App.tsx > <App /> > renders: src/__tests__/App.tsx#L9
AssertionError: promise rejected "TestingLibraryElementError: Unable to fin…" instead of resolving ❯ src/__tests__/App.tsx:9:23 Caused by: TestingLibraryElementError: Unable to find an element with the text: Apple. 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 class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> ❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/__tests__/App.tsx:9:23
src/pages/__tests__/Details.tsx > <Details /> > redirect to home screen if fruit is not found: src/pages/__tests__/Details.tsx#L21
AssertionError: expected "spy" to be called 1 times, but got 0 times Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> </html> ❯ src/pages/__tests__/Details.tsx:21:38 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
src/pages/__tests__/Details.tsx > <Details /> > renders: src/pages/__tests__/Details.tsx#L19
AssertionError: promise rejected "TestingLibraryElementError: Unable to fin…" instead of resolving ❯ src/pages/__tests__/Details.tsx:19:3 Caused by: TestingLibraryElementError: Unable to find role="link" and name "Back" Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> ❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByRole node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/pages/__tests__/Details.tsx:19:3
src/pages/__tests__/Details.tsx > <Details /> > renders with mobile resolution: src/pages/__tests__/Details.tsx#L38
TestingLibraryElementError: Unable to find role="img" and name "Apple" Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> ❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByRole node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/pages/__tests__/Details.tsx:38:27
src/pages/__tests__/Gallery.tsx > <Gallery /> > renders: src/pages/__tests__/Gallery.tsx#L10
AssertionError: promise rejected "TestingLibraryElementError: Unable to fin…" instead of resolving ❯ src/pages/__tests__/Gallery.tsx:10:23 Caused by: TestingLibraryElementError: Unable to find role="img" and name "Apple" Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> ❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByRole node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/pages/__tests__/Gallery.tsx:10:23
src/pages/__tests__/Gallery.tsx > <Gallery /> > renders with mobile resolution: src/pages/__tests__/Gallery.tsx#L19
AssertionError: promise rejected "TestingLibraryElementError: Unable to fin…" instead of resolving ❯ src/pages/__tests__/Gallery.tsx:19:23 Caused by: TestingLibraryElementError: Unable to find role="img" and name "Grape" Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="flex min-h-screen items-center justify-center" > <h1 class="text-xl" data-testid="LoadingOrError" > Failed to fetch </h1> </div> </div> </body> ❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByRole node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/pages/__tests__/Gallery.tsx:19:3
Test
Process completed with exit code 1.