Skip to content

fix: Hide Security&Login from settings if not a social signer #6860

fix: Hide Security&Login from settings if not a social signer

fix: Hide Security&Login from settings if not a social signer #6860

Triggered via pull request November 2, 2023 13:57
@usame-alganusame-algan
synchronize #2734
Status Success
Total duration 16s
Artifacts

cla.yml

on: pull_request_target
CLAAssistant
6s
CLAAssistant
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
SocialSignerLogin > should disable the Google Login button with a message when not on gnosis chain: src/components/common/SocialSigner/__tests__/SocialSignerLogin.test.tsx#L87
TestingLibraryElementError: Unable to find an element with the text: Currently only supported on Goerli. More network support coming soon.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="MuiBox-root css-1iyvruu" > <span data-track="create-safe: Continue to creation" > <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth Mui-disabled MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth css-c3oczq-MuiButtonBase-root-MuiButton-root" disabled="" tabindex="-1" type="button" > <div class="MuiBox-root css-10uih11" > <img alt="Profile Image" class="profileImg" referrerpolicy="no-referrer" src="test.testermann.local/profile.png" /> <div class="profileData" > <h6 class="MuiTypography-root MuiTypography-subtitle2 css-88cnts-MuiTypography-root" > Continue as Test Testermann </h6> <p class="MuiTypography-root MuiTypography-body2 css-ceebrx-MuiTypography-root" > [email protected] </p> </div> <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-s3ovlv-MuiSvgIcon-root" focusable="false" /> </div> </button> </span> </div> <p class="MuiTypography-root MuiTypography-body2 css-1bajmt9-MuiTypography-root" > <span aria-label="More network support coming soon." class="" data-mui-internal-clone-element="true" > <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-18k6suo-MuiSvgIcon-root" focusable="false" /> </span> <span> Currently only supported on Goerli </span> </p> </div> </body> at Object.getElementError (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/config.js:37:19) at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByText (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/common/SocialSigner/__tests__/SocialSignerLogin.test.tsx:98:14) 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) at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)
CLAAssistant
The following actions uses node12 which is deprecated and will be forced to run on node16: contributor-assistant/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/