Skip to content

Feedback page implementation and testing #81

Feedback page implementation and testing

Feedback page implementation and testing #81

Triggered via pull request April 1, 2024 06:26
Status Failure
Total duration 1m 5s
Artifacts

test.yml

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

Annotations

10 errors and 2 warnings
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > renders without crashing: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > renders correct input fields: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > allows entering phone number: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > allows entering aadhar number: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > displays error message for invalid phone number: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > displays error message for invalid aadhar number: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/login-mobile-aadhar-page/index.test.tsx > LoginMobileAadharPage component > handles login button click: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ LoginMobileAadharPage src/molecules/login-mobile-aadhar-page/index.tsx:19:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/otp-page/index.test.tsx > OtpPage component > renders without crashing: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ OtpPage src/molecules/otp-page/index.tsx:15:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/otp-page/index.test.tsx > OtpPage component > displays "OTP Verification" text: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ OtpPage src/molecules/otp-page/index.tsx:15:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
src/molecules/otp-page/index.test.tsx > OtpPage component > displays "Enter the verification code..." text: src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider ❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13 ❯ OtpPage src/molecules/otp-page/index.tsx:15:17 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/