Skip to content

PR #4783

PR #4783 #3820

Triggered via dynamic January 15, 2025 16:55
Status Success
Total duration 2m 18s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
DecodedTx > should render a native transfer: apps/web/src/components/tx/DecodedTx/index.test.tsx#L104
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/DecodedTx/index.test.tsx:144:42) 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)
DecodedTx > should render a transfer with custom data details: apps/web/src/components/tx/DecodedTx/index.test.tsx#L154
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/DecodedTx/index.test.tsx:182:42) 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)
DecodedTx > should render an ERC20 transfer: apps/web/src/components/tx/DecodedTx/index.test.tsx#L193
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null Ignored nodes: comments, script, style <html> <head> <meta content="" name="emotion-insertion-point" /> </head> <body> <div> <div class="MuiStack-root css-1sazv7p-MuiStack-root" > <div class="MuiBox-root css-583cgn" > <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" > Interact with </p> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" data-testid="tx-data-row" > <div class="MuiTypography-root MuiTypography-body2 css-17vdyq3-MuiTypography-root" > <div class="container" > <div class="avatarContainer" style="width: 26px; height: 26px;" > <div class="icon" style="background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0ib3B0aW1pemVTcGVlZCIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0Ij48cGF0aCBmaWxsPSJoc2woNTkgNjElIDI4JSkiIGQ9Ik0wLDBIOFY4SDB6Ii8+PHBhdGggZmlsbD0iaHNsKDUyIDQyJSA0OCUpIiBkPSJNMSwwaDF2MWgtMXpNNiwwaDF2MWgtMXpNMiwwaDF2MWgtMXpNNSwwaDF2MWgtMXpNMSwxaDF2MWgtMXpNNiwxaDF2MWgtMXpNMCwyaDF2MWgtMXpNNywyaDF2MWgtMXpNMCwzaDF2MWgtMXpNNywzaDF2MWgtMXpNMSwzaDF2MWgtMXpNNiwzaDF2MWgtMXpNMiwzaDF2MWgtMXpNNSwzaDF2MWgtMXpNMCw0aDF2MWgtMXpNNyw0aDF2MWgtMXpNMyw0aDF2MWgtMXpNNCw0aDF2MWgtMXpNMCw1aDF2MWgtMXpNNyw1aDF2MWgtMXpNMSw2aDF2MWgtMXpNNiw2aDF2MWgtMXpNMyw2aDF2MWgtMXpNNCw2aDF2MWgtMXpNMiw3aDF2MWgtMXpNNSw3aDF2MWgtMXoiLz48cGF0aCBmaWxsPSJoc2woMTk0IDgzJSA0OCUpIiBkPSJNMCwwaDF2MWgtMXpNNywwaDF2MWgtMXpNMiwyaDF2MWgtMXpNNSwyaDF2MWgtMXpNMSw3aDF2MWgtMXpNNiw3aDF2MWgtMXoiLz48L3N2Zz4=); width: 26px; height: 26px;" /> </div> <div class="MuiBox-root css-1lchl8k" > <div class="addressContainer" > <div class="MuiBox-root css-b5p5gz" > <span aria-label="Copy to clipboard" class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <span> 0x3430d04E42a722c5Ae52C5Bffbf1F230C2677600 </span> </span> </div> <span aria-label="Copy to clipboard" class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <button aria-label="Copy to clipboard" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-xyrzjn-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <mock-icon aria-hidden="" class="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-gvpe62-MuiSvgIcon-root" data-testid="copy-btn-icon" focusable="false" /> </button> </span> <div class="MuiBox-root css-yjghm1" /> </div> </div> </div> </div> </div> </div> </div> <div class="MuiBox-root css-0" > <div class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAccordion-root MuiAccordion-rounded Mui-expanded MuiAccordion-gutters css-1gdgqta-MuiPaper-root-MuiAccordion-root" style="--Paper-shadow: none;" > <h3 class="MuiAccordion-heading css-cy7rkm-MuiAccordion-heading" > <button aria-expanded="true" class="MuiButtonBase-root MuiAccordionSummary-root Mui-expanded MuiAccordionSummary-gutters accordion css-10sjung-MuiButtonBase-root-MuiAccordionSummary-root" data-testid="decoded-tx-summary" tabindex="0" type="button" > <span class="MuiAccordionSummary-content Mui-expanded MuiAccordionSummary-contentGutters css-1r0e0ir-MuiAccordionSummary-content" > Advanced details <span class="" data-mui-internal-clone-element="true" > <mock-icon aria-hidden="" class="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-17ibv3e-MuiSvgIcon-root" focusable="false" /> </span> <div class="MuiBox-root css-i9gxme" /> </span> <span class="MuiAccordionSummary-expandIconWrapper Mui-expanded css-1wqf3nl-MuiAccordionSummary-expandIconWrapper" > <svg aria-hidden="true" class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1dhtbeh-MuiSvgIcon-root" data-testid="ExpandMoreIcon" focusable="false" viewBox="0 0 24 24" > <path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z" /> </svg> </span> </button> </h3> <div class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-qr6njo-MuiCollapse-root" style="min-height: 0px; height: auto; transition-duration: 0ms;" > <div class="MuiCollapse-wrapper MuiCollapse-vertical css-1x6hinx-MuiCollapse-wrapper" > <div class="MuiCollapse-wrapperInner MuiCollapse-vertical css-1i4ywhz-MuiCollapse-wrapperInner" > <div class="MuiAccordion-region" role="region" > <div class="MuiAccordionDetails-root css-w74p4c-MuiAccordionDetails-root" data-testid="decoded-tx-details" > <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" > safeTxGas: </p> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" data-testid="tx-data-row" > <div class="MuiBox-root css-rurw5h" > 0 </div> </div> </div> <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" > baseGas: </p> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" data-testid="tx-data-row" > 0 </div> </div> <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" > refundReceiver: </p> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" data-testid="tx-data-row" > <div class="container" > <div class="MuiBox-root css-1lchl8k" > <div class="addressContainer" > <div class="MuiBox-root css-b5p5gz" > <span aria-label="Copy to clipboard" class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <span> 0x0000...0000 </span> </span> </div> <span aria-label="Copy to clipboard" class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <button aria-label="Copy to clipboard" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-xyrzjn-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <mock-icon aria-hidden="" class="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-gvpe62-MuiSvgIcon-root" data-testid="copy-btn-icon" focusable="false" /> </button> </span> <div class="MuiBox-root css-yjghm1" /> </div> </div> </div> </div> </div> <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" > Raw data: </p> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" data-testid="tx-data-row" > <div class="MuiBox-root css-70qvj9" data-testid="tx-data-row" > <div> 68 bytes </div> <span aria-label="Copy to clipboard" class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <button aria-label="Copy to clipboard" class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-xyrzjn-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <mock-icon aria-hidden="" class="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-gvpe62-MuiSvgIcon-root" data-testid="copy-btn-icon" focusable="false" /> </button> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html> at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:326:15) at toBeInTheDocument (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/DecodedTx/index.test.tsx:236:46) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/@testing-library/dom/dist/wait-for.js:124:77) at checkRealTimersCallback (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/@testing-library/dom/dist/wait-for.js:118:16) at Timeout.task [as _onTimeout] (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) at listOnTimeout (node:internal/timers:581:17) at processTimers (node:internal/timers:519:7)
DecodedTx > should render a multisend transaction: apps/web/src/components/tx/DecodedTx/index.test.tsx#L247
Error: expect(received).toBeGreaterThan(expected) Expected: > 1 Received: 0 at Object.toBeGreaterThan (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/DecodedTx/index.test.tsx:335:62) 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 _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)
DecodedTx > should render a function call without parameters: apps/web/src/components/tx/DecodedTx/index.test.tsx#L338
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/DecodedTx/index.test.tsx:369:43) 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 _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)
ReviewSignMessageOnChain > can handle messages with EIP712Domain type in the JSON-RPC payload: apps/web/src/components/tx-flow/flows/SignMessageOnChain/ReviewSignMessageOnChain.test.tsx#L20
Error: Property `useProposeTx` does not exist in the provided object at ModuleMocker.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx-flow/flows/SignMessageOnChain/ReviewSignMessageOnChain.test.tsx:21:10) 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 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 - 43 + Received + 0 @@ -259,53 +259,10 @@ </div> <div class="MuiBox-root css-kz5wc9" /> <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" - > - Value: - </p> - </div> - <div - class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" - 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" - /> - <p - class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root" - > - ETH - </p> - <p - class="MuiTypography-root MuiTypography-body1 css-v6lhhw-MuiTypography-root" - data-testid="token-amount" - > - 0 - </p> - </div> - </div> - </div> - <div class="MuiBox-root css-0" > <p class="MuiTypography-root MuiTypography-body1 css-111k8jw-MuiTypography-root" > 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 - 45 + Received + 2 @@ -94,11 +94,11 @@ class="avatarContainer" style="width: 24px; height: 24px;" > <div class="icon" - style="background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0ib3B0aW1pemVTcGVlZCIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0Ij48cGF0aCBmaWxsPSJoc2woMjE4IDk2JSA0OSUpIiBkPSJNMCwwSDhWOEgweiIvPjxwYXRoIGZpbGw9ImhzbCgzMDQgNTclIDEzJSkiIGQ9Ik0xLDBoMXYxaC0xek02LDBoMXYxaC0xek0zLDBoMXYxaC0xek00LDBoMXYxaC0xek0wLDFoMXYxaC0xek03LDFoMXYxaC0xek0yLDFoMXYxaC0xek01LDFoMXYxaC0xek0xLDJoMXYxaC0xek02LDJoMXYxaC0xek0yLDNoMXYxaC0xek01LDNoMXYxaC0xek0xLDRoMXYxaC0xek02LDRoMXYxaC0xek0yLDRoMXYxaC0xek01LDRoMXYxaC0xek0zLDRoMXYxaC0xek00LDRoMXYxaC0xek0wLDVoMXYxaC0xek03LDVoMXYxaC0xek0zLDVoMXYxaC0xek00LDVoMXYxaC0xek0xLDZoMXYxaC0xek02LDZoMXYxaC0xek0zLDZoMXYxaC0xek00LDZoMXYxaC0xek0xLDdoMXYxaC0xek02LDdoMXYxaC0xek0zLDdoMXYxaC0xek00LDdoMXYxaC0xeiIvPjxwYXRoIGZpbGw9ImhzbCgyNjMgODQlIDQyJSkiIGQ9Ik0zLDNoMXYxaC0xek00LDNoMXYxaC0xek0wLDRoMXYxaC0xek03LDRoMXYxaC0xek0xLDVoMXYxaC0xek02LDVoMXYxaC0xeiIvPjwvc3ZnPg==); width: 24px; height: 24px;" + style="background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0ib3B0aW1pemVTcGVlZCIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0Ij48cGF0aCBmaWxsPSJoc2woOTIgOTYlIDQzJSkiIGQ9Ik0wLDBIOFY4SDB6Ii8+PHBhdGggZmlsbD0iaHNsKDMxMCA4NCUgMzglKSIgZD0iTTEsMGgxdjFoLTF6TTYsMGgxdjFoLTF6TTIsMGgxdjFoLTF6TTUsMGgxdjFoLTF6TTMsMGgxdjFoLTF6TTQsMGgxdjFoLTF6TTAsMWgxdjFoLTF6TTcsMWgxdjFoLTF6TTEsMWgxdjFoLTF6TTYsMWgxdjFoLTF6TTIsMWgxdjFoLTF6TTUsMWgxdjFoLTF6TTMsMWgxdjFoLTF6TTQsMWgxdjFoLTF6TTAsMmgxdjFoLTF6TTcsMmgxdjFoLTF6TTIsMmgxdjFoLTF6TTUsMmgxdjFoLTF6TTMsMmgxdjFoLTF6TTQsMmgxdjFoLTF6TTMsM2gxdjFoLTF6TTQsM2gxdjFoLTF6TTAsNGgxdjFoLTF6TTcsNGgxdjFoLTF6TTEsNGgxdjFoLTF6TTYsNGgxdjFoLTF6TTIsNGgxdjFoLTF6TTUsNGgxdjFoLTF6TTEsNWgxdjFoLTF6TTYsNWgxdjFoLTF6TTIsNWgxdjFoLTF6TTUsNWgxdjFoLTF6TTMsNWgxdjFoLTF6TTQsNWgxdjFoLTF6TTIsNmgxdjFoLTF6TTUsNmgxdjFoLTF6TTMsNmgxdjFoLTF6TTQsNmgxdjFoLTF6TTMsN2gxdjFoLTF6TTQsN2gxdjFoLTF6Ii8+PHBhdGggZmlsbD0iaHNsKDM1MSA2MSUgNjUlKSIgZD0iTTMsNGgxdjFoLTF6TTQsNGgxdjFoLTF6TTAsNWgxdjFoLTF6TTcsNWgxdjFoLTF6TTAsN2gxdjFoLTF6TTcsN2gxdjFoLTF6Ii8+PC9zdmc+); width: 24px; height: 24px;" /> </div> <div class="inline MuiBox-root css-1lchl8k" > @@ -113,11 +113,11 @@ class="" data-mui-internal-clone-element="true" style="cursor: pointer;" > <span> - 0xDa5e...EE6b + 0xE20C...5f67 </span> </span> </div> <span aria-label="Copy to clipboard" @@ -147,53 +147,10 @@ </div> </div> <div class="MuiBox-root css-kz5wc9" /> - <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" - > - Value: - </p> - </div> - <div - class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root" - 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" - /> - <p - class="MuiTypography-root MuiTypography-body1 css-w5uidf-MuiTypography-root" - > - ETH - </p> - <p - class="MuiTypography-root MuiTypography-body1 css-v6lhhw-MuiTypography-root" - data-testid="token-amount" - > - 0 - </p> - </div> - </div> - </div> <div class="MuiBox-root css-0" > <p class="MuiTypography-root MuiTypography-body1 css-111k8jw-MuiTypography-root" 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: Property `useProposeTx` does not exist in the provided object at ModuleMocker.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:35:10) 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 an error screen: apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx#L59
Error: Property `useProposeTx` does not exist in the provided object at ModuleMocker.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:60:10) 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)
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636