Skip to content

fix head

fix head #3

Triggered via push August 18, 2024 15:43
Status Failure
Total duration 2m 21s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
src/lib/__tests__/authorization.test.tsx > should view protected resource if user role is matching: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/lib/__tests__/authorization.test.tsx:12:3
src/lib/__tests__/authorization.test.tsx > should not view protected resource if user role does not match and show fallback message instead: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/lib/__tests__/authorization.test.tsx:32:3
src/lib/__tests__/authorization.test.tsx > should view protected resource if policy check passes: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/lib/__tests__/authorization.test.tsx:54:3
src/lib/__tests__/authorization.test.tsx > should not view protected resource if policy check fails and show fallback message instead: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/lib/__tests__/authorization.test.tsx:70:3
src/components/seo/__tests__/head.test.tsx > should add proper page title and meta description: apps/nextjs-pages/src/components/seo/__tests__/head.test.tsx#L11
AssertionError: expected '' to deeply equal 'Hello World | Bulletproof React' Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - Hello World | Bulletproof React ❯ src/components/seo/__tests__/head.test.tsx:11:46 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
src/features/auth/components/__tests__/login-form.test.tsx > should login new user and call onSuccess cb which should navigate the user to the app: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/features/auth/components/__tests__/login-form.test.tsx:16:3
src/features/auth/components/__tests__/register-form.test.tsx > should register new user and call onSuccess cb which should navigate the user to the app: apps/nextjs-pages/src/testing/test-utils.tsx#L37
Error: The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal. ❯ initialCheck node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:14:11 ❯ Proxy.waitForElementToBeRemoved node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js:31:3 ❯ waitForLoadingToFinish src/testing/test-utils.tsx:37:3 ❯ Module.renderApp src/testing/test-utils.tsx:71:9 ❯ src/features/auth/components/__tests__/register-form.test.tsx:11:3
all-cli-checks
Process completed with exit code 1.
e2e
No files were found with the provided path: playwright-report/ mocked-db.json. No artifacts will be uploaded.