feat(safenet): Multi-recipient token transfers #16369
Triggered via pull request
January 20, 2025 11:23
germartinez
synchronize
#4788
Status
Success
Total duration
18s
Artifacts
–
Annotations
3 errors and 1 warning
ConfirmationView > should display a confirmation screen for a SETTINGS_CHANGE transaction:
apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx#L113
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 false"
+ >
+ <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)
|
ConfirmationView > should display a confirmation with method call when the transaction type is not found in the ConfirmationView's mapper:
apps/web/src/components/tx/confirmation-views/ConfirmationView.test.tsx#L121
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 false"
+ >
+ <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)
|
SignOrExecute > should display a confirmation screen:
apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx#L34
Error: expect(received).toMatchSnapshot()
Snapshot name: `SignOrExecute should display a confirmation screen 1`
- Snapshot - 1
+ Received + 70
@@ -76,11 +76,80 @@
role="region"
>
<div
class="MuiAccordionDetails-root css-w74p4c-MuiAccordionDetails-root"
data-testid="decoded-tx-details"
- />
+ >
+ <div
+ class="MuiBox-root css-164r41r"
+ >
+ <div
+ class="MuiGrid-root MuiGrid-container css-86qz5o-MuiGrid-root"
+ >
+ <div
+ class="MuiGrid-root MuiGrid-item css-1wehkfy-MuiGrid-root"
+ data-testid="tx-row-title"
+ style="word-break: break-word;"
+ >
+ <p
+ class="MuiTypography-root MuiTypography-body1 css-shf88x-MuiTypography-root"
+ >
+ Safenet checks:
+ </p>
+ </div>
+ <div
+ class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
+ data-testid="tx-data-row"
+ >
+ <div
+ class="safenetGradientRow MuiBox-root css-0"
+ style="border-radius: calc(var(--space-1) - 1px); display: flex; align-items: stretch; flex-direction: column; justify-content: space-between;"
+ >
+ <div
+ class="MuiBox-root css-0"
+ style="display: flex; flex-direction: row; justify-content: space-between; align-items: center;"
+ >
+ <mock-icon
+ aria-hidden=""
+ class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-tqxw8e-MuiSvgIcon-root"
+ focusable="false"
+ />
+ <h5
+ class="MuiTypography-root MuiTypography-h5 css-1ukimg9-MuiTypography-root"
+ >
+ Powered by Safenet
+ </h5>
+ </div>
+ <div
+ class="MuiBox-root css-0"
+ style="border-radius: 0 0 var(--space-1) var(--space-1); margin: 0px 1px 1px 1px;"
+ >
+ <span
+ class="MuiCircularProgress-root MuiCircularProgress-indeterminate MuiCircularProgress-colorPrimary css-k0aauw-MuiCircularProgress-root"
+ role="progressbar"
+ style="width: 22px; height: 22px;"
+ >
+ <svg
+ class="MuiCircularProgress-svg css-54pwck-MuiCircularProgress-svg"
+ viewBox="22 22 44 44"
+ >
+ <circle
+ class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate css-960umw-MuiCircularProgress-circle"
+ cx="44"
+ cy="44"
+ fill="none"
+ r="20.2"
+ stroke-width="3.6"
+ />
+ </svg>
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
</div>
</div>
</div>
</div>
at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:56: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)
|
CLAAssistant
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|