Skip to content

PR #2534

PR #2534 #880

Triggered via dynamic November 2, 2023 16:00
Status Success
Total duration 3m 16s
Artifacts

codeql

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

Annotations

2 errors and 1 warning
AddressInput tests > should accept a custom validate function: src/components/common/AddressInput/index.test.tsx#L103
Error: Unable to find a label with the text of: 0x0000000000000000000000000000000000000000 is wrong Ignored nodes: comments, script, style <body> <div> <form> <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root input css-wb57ya-MuiFormControl-root-MuiTextField-root" spellcheck="false" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary Mui-error MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-18pzvfc-MuiFormLabel-root-MuiInputLabel-root" data-shrink="true" for=":r3:" id=":r3:-label" > "down" doesn't match the current chain </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary Mui-error MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedStart MuiInputBase-adornedEnd css-16549ak-MuiInputBase-root-MuiOutlinedInput-root" > <div class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-s8hmf8-MuiInputAdornment-root" > <span class="MuiSkeleton-root MuiSkeleton-circular css-lnz7yn-MuiSkeleton-root" style="width: 32px; height: 32px;" /> upside-down : </div> <input aria-invalid="true" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedStart MuiInputBase-inputAdornedEnd css-1qiaqwv-MuiInputBase-input-MuiOutlinedInput-input" id=":r3:" name="recipient" type="text" value="0x0000000000000000000000000000000000000000" /> <div class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root" > <span data-track="modals: Scan QR" > <button class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeSmall css-17toqc7-MuiSvgIcon-root" focusable="false" /> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </span> </div> <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-p7vjcx-MuiOutlinedInput-notchedOutline" > <legend class="css-14lo706" > <span> "down" doesn't match the current chain </span> </legend> </fieldset> </div> </div> <button type="submit" > Submit </button> </form> </div> </body> at waitForWrapper (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/common/AddressInput/index.test.tsx:111:18) 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 _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)
AddressInput tests > should show a spinner when validation is in progress: src/components/common/AddressInput/index.test.tsx#L121
Error: Unable to find a label with the text of: 0x0000000000000000000000000000000000000000 is wrong Ignored nodes: comments, script, style <body> <div> <form> <div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root input css-wb57ya-MuiFormControl-root-MuiTextField-root" spellcheck="false" > <label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary Mui-error MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-18pzvfc-MuiFormLabel-root-MuiInputLabel-root" data-shrink="true" for=":r4:" id=":r4:-label" > "down" doesn't match the current chain </label> <div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary Mui-error MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedStart MuiInputBase-adornedEnd css-16549ak-MuiInputBase-root-MuiOutlinedInput-root" > <div class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-s8hmf8-MuiInputAdornment-root" > <span class="MuiSkeleton-root MuiSkeleton-circular css-lnz7yn-MuiSkeleton-root" style="width: 32px; height: 32px;" /> upside-down : </div> <input aria-invalid="true" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedStart MuiInputBase-inputAdornedEnd css-1qiaqwv-MuiInputBase-input-MuiOutlinedInput-input" id=":r4:" name="recipient" type="text" value="0x0000000000000000000000000000000000000000" /> <div class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root" > <span data-track="modals: Scan QR" > <button class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root" tabindex="0" type="button" > <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeSmall css-17toqc7-MuiSvgIcon-root" focusable="false" /> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </span> </div> <fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-p7vjcx-MuiOutlinedInput-notchedOutline" > <legend class="css-14lo706" > <span> "down" doesn't match the current chain </span> </legend> </fieldset> </div> </div> <button type="submit" > Submit </button> </form> </div> </body> at waitForWrapper (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:166:27) at Object.<anonymous> (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/common/AddressInput/index.test.tsx:143:18)
Analyze (javascript)
Failed to restore: Cache service responded with 403