Skip to content

feat(Safenet): Safenet feature flag #16421

feat(Safenet): Safenet feature flag

feat(Safenet): Safenet feature flag #16421

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Jan 22, 2025 in 0s

Test suite run failed

Failed tests: 2/1793. Failed suites: 1/242.

Details

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

  ● ConfirmationView › should display a confirmation screen for a SETTINGS_CHANGE transaction

    expect(received).toMatchSnapshot()

    Snapshot name: `ConfirmationView should display a confirmation screen for a SETTINGS_CHANGE transaction 1`

    - Snapshot  -  8
    + Received  + 12

    @@ -279,18 +279,22 @@
                              data-testid="tx-data-row"
                            >
                              <div
                                class="MuiBox-root css-axw7ok"
                              >
    -                           <img
    -                             alt="ETH"
    -                             class="image"
    -                             height="26"
    -                             loading="lazy"
    -                             referrerpolicy="no-referrer"
    -                             src="/images/common/token-placeholder.svg"
    -                           />
    +                           <div
    +                             class="container"
    +                           >
    +                             <img
    +                               alt="ETH"
    +                               class="image"
    +                               height="26"
    +                               loading="lazy"
    +                               referrerpolicy="no-referrer"
    +                               src="/images/common/token-placeholder.svg"
    +                             />
    +                           </div>
                                <p
                                  class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root"
                                >
                                  ETH
                                </p>

      116 |     )
      117 |
    > 118 |     expect(container).toMatchSnapshot()
          |                       ^
      119 |   })
      120 |
      121 |   it("should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper", () => {

      at Object.toMatchSnapshot (src/components/tx/confirmation-views/ConfirmationView.test.tsx:118:23)

  ● ConfirmationView › should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper

    expect(received).toMatchSnapshot()

    Snapshot name: `ConfirmationView should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper 1`

    - Snapshot  -  8
    + Received  + 12

    @@ -168,18 +168,22 @@
                              data-testid="tx-data-row"
                            >
                              <div
                                class="MuiBox-root css-axw7ok"
                              >
    -                           <img
    -                             alt="ETH"
    -                             class="image"
    -                             height="26"
    -                             loading="lazy"
    -                             referrerpolicy="no-referrer"
    -                             src="/images/common/token-placeholder.svg"
    -                           />
    +                           <div
    +                             class="container"
    +                           >
    +                             <img
    +                               alt="ETH"
    +                               class="image"
    +                               height="26"
    +                               loading="lazy"
    +                               referrerpolicy="no-referrer"
    +                               src="/images/common/token-placeholder.svg"
    +                             />
    +                           </div>
                                <p
                                  class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root"
                                >
                                  ETH
                                </p>

      131 |     )
      132 |
    > 133 |     expect(container).toMatchSnapshot()
          |                       ^
      134 |   })
      135 | })
      136 |

      at Object.toMatchSnapshot (src/components/tx/confirmation-views/ConfirmationView.test.tsx:133:23)

Annotations

Check failure on line 113 in apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx

See this annotation in the file changed.

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

ConfirmationView > should display a confirmation screen for a SETTINGS_CHANGE transaction

Error: expect(received).toMatchSnapshot()

Snapshot name: `ConfirmationView should display a confirmation screen for a SETTINGS_CHANGE transaction 1`

- Snapshot  -  8
+ Received  + 12

@@ -279,18 +279,22 @@
                          data-testid="tx-data-row"
                        >
                          <div
                            class="MuiBox-root css-axw7ok"
                          >
-                           <img
-                             alt="ETH"
-                             class="image"
-                             height="26"
-                             loading="lazy"
-                             referrerpolicy="no-referrer"
-                             src="/images/common/token-placeholder.svg"
-                           />
+                           <div
+                             class="container"
+                           >
+                             <img
+                               alt="ETH"
+                               class="image"
+                               height="26"
+                               loading="lazy"
+                               referrerpolicy="no-referrer"
+                               src="/images/common/token-placeholder.svg"
+                             />
+                           </div>
                            <p
                              class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root"
                            >
                              ETH
                            </p>
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx:118:23)
    at Promise.then.completed (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/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-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 121 in apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx

See this annotation in the file changed.

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

ConfirmationView > should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper

Error: expect(received).toMatchSnapshot()

Snapshot name: `ConfirmationView should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper 1`

- Snapshot  -  8
+ Received  + 12

@@ -168,18 +168,22 @@
                          data-testid="tx-data-row"
                        >
                          <div
                            class="MuiBox-root css-axw7ok"
                          >
-                           <img
-                             alt="ETH"
-                             class="image"
-                             height="26"
-                             loading="lazy"
-                             referrerpolicy="no-referrer"
-                             src="/images/common/token-placeholder.svg"
-                           />
+                           <div
+                             class="container"
+                           >
+                             <img
+                               alt="ETH"
+                               class="image"
+                               height="26"
+                               loading="lazy"
+                               referrerpolicy="no-referrer"
+                               src="/images/common/token-placeholder.svg"
+                             />
+                           </div>
                            <p
                              class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root"
                            >
                              ETH
                            </p>
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx:133:23)
    at Promise.then.completed (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/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-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/testWorker.js:106:12)