Skip to content

feat: edit recovery flow #5961

feat: edit recovery flow

feat: edit recovery flow #5961

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Nov 23, 2023 in 0s

Test suite run failed

Failed tests: 5/1226. Failed suites: 2/174.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● RecoveryModal › component › should render the in-progress modal when there is a queue for guardians

    expect(received).toBeTruthy()

    Received: null

      76 |
      77 |       expect(queryByText('Test')).toBeTruthy()
    > 78 |       expect(queryByText('Account recovery in progress')).toBeTruthy()
         |                                                           ^
      79 |     })
      80 |
      81 |     it('should render the in-progress modal when there is a queue for owners', () => {

      at Object.toBeTruthy (src/components/recovery/RecoveryModal/index.test.tsx:78:59)

  ● RecoveryModal › component › should render the in-progress modal when there is a queue for owners

    expect(received).toBeTruthy()

    Received: null

      90 |
      91 |       expect(queryByText('Test')).toBeTruthy()
    > 92 |       expect(queryByText('Account recovery in progress')).toBeTruthy()
         |                                                           ^
      93 |     })
      94 |
      95 |     it('should render the proposal modal when there is no queue for guardians', () => {

      at Object.toBeTruthy (src/components/recovery/RecoveryModal/index.test.tsx:92:59)

  ● RecoveryModal › component › should close the modal when the user navigates away

    expect(received).toBeTruthy()

    Received: null

      143 |
      144 |       expect(queryByText('Test')).toBeTruthy()
    > 145 |       expect(queryByText('Account recovery in progress')).toBeTruthy()
          |                                                           ^
      146 |
      147 |       // Trigger the route change
      148 |       mockUseRouter.events.on.mock.calls[0][1]()

      at Object.toBeTruthy (src/components/recovery/RecoveryModal/index.test.tsx:145:59)


  ● RecoveryHeader › should render the in-progress widget if there is a queue for guardians

    expect(received).toBeTruthy()

    Received: null

      29 |     )
      30 |
    > 31 |     expect(queryByText('Account recovery in progress')).toBeTruthy()
         |                                                         ^
      32 |   })
      33 |
      34 |   it('should render the in-progress widget if there is a queue for owners', () => {

      at Object.toBeTruthy (src/components/dashboard/RecoveryHeader/index.test.tsx:31:57)

  ● RecoveryHeader › should render the in-progress widget if there is a queue for owners

    expect(received).toBeTruthy()

    Received: null

      42 |     )
      43 |
    > 44 |     expect(queryByText('Account recovery in progress')).toBeTruthy()
         |                                                         ^
      45 |   })
      46 |
      47 |   it('should render the proposal widget when there is no queue for guardians', () => {

      at Object.toBeTruthy (src/components/dashboard/RecoveryHeader/index.test.tsx:44:57)

Annotations

Check failure on line 67 in src/components/recovery/RecoveryModal/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

RecoveryModal > component > should render the in-progress modal when there is a queue for guardians

Error: expect(received).toBeTruthy()

Received: null
    at Object.toBeTruthy (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/recovery/RecoveryModal/index.test.tsx:78:59)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 81 in src/components/recovery/RecoveryModal/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

RecoveryModal > component > should render the in-progress modal when there is a queue for owners

Error: expect(received).toBeTruthy()

Received: null
    at Object.toBeTruthy (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/recovery/RecoveryModal/index.test.tsx:92:59)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 123 in src/components/recovery/RecoveryModal/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

RecoveryModal > component > should close the modal when the user navigates away

Error: expect(received).toBeTruthy()

Received: null
    at Object.toBeTruthy (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/recovery/RecoveryModal/index.test.tsx:145:59)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 21 in src/components/dashboard/RecoveryHeader/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

RecoveryHeader > should render the in-progress widget if there is a queue for guardians

Error: expect(received).toBeTruthy()

Received: null
    at Object.toBeTruthy (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/dashboard/RecoveryHeader/index.test.tsx:31:57)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 34 in src/components/dashboard/RecoveryHeader/index.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

RecoveryHeader > should render the in-progress widget if there is a queue for owners

Error: expect(received).toBeTruthy()

Received: null
    at Object.toBeTruthy (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/dashboard/RecoveryHeader/index.test.tsx:44:57)
    at Promise.then.completed (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)