Skip to content

Feat: Use Safe auth kit #9140

Feat: Use Safe auth kit

Feat: Use Safe auth kit #9140

Triggered via pull request February 9, 2024 13:43
@schmanuschmanu
synchronize #3101
Status Success
Total duration 16s
Artifacts

cla.yml

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

Annotations

4 errors and 2 warnings
SocialSignerLogin > should render continue with connected account when on gnosis chain: src/features/socialwallet/components/SocialSigner/__tests__/SocialSignerLogin.test.tsx#L20
Error: expect(received).not.toBeNull() Received: null Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="MuiBox-root css-1iyvruu" > <span data-track="mpc-wallet: Continue with Google button" > <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth css-9x2as0-MuiButtonBase-root-MuiButton-root" data-testid="google-connect-btn" tabindex="0" type="button" > <span class="MuiLinearProgress-root MuiLinearProgress-colorSecondary MuiLinearProgress-indeterminate loginProgress css-gdiqdj-MuiLinearProgress-root" role="progressbar" > <span class="MuiLinearProgress-bar MuiLinearProgress-barColorSecondary MuiLinearProgress-bar1Indeterminate css-14fb5ue-MuiLinearProgress-bar1" /> <span class="MuiLinearProgress-bar MuiLinearProgress-barColorSecondary MuiLinearProgress-bar2Indeterminate css-j0ip97-MuiLinearProgress-bar2" /> </span> <div class="MuiBox-root css-8v90jo" > <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-17ceore-MuiSvgIcon-root" focusable="false" /> Continue with Google </div> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </span> </div> </div> </body> </html> at toBeNull (/home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/components/SocialSigner/__tests__/SocialSignerLogin.test.tsx:56:69) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
SocialSignerLogin > should display a Continue as button and call onLogin when clicked: src/features/socialwallet/components/SocialSigner/__tests__/SocialSignerLogin.test.tsx#L109
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: null Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="MuiBox-root css-1iyvruu" > <span data-track="mpc-wallet: Continue with Google button" > <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-fullWidth css-9x2as0-MuiButtonBase-root-MuiButton-root" data-testid="google-connect-btn" tabindex="0" type="button" > <span class="MuiLinearProgress-root MuiLinearProgress-colorSecondary MuiLinearProgress-indeterminate loginProgress css-gdiqdj-MuiLinearProgress-root" role="progressbar" > <span class="MuiLinearProgress-bar MuiLinearProgress-barColorSecondary MuiLinearProgress-bar1Indeterminate css-14fb5ue-MuiLinearProgress-bar1" /> <span class="MuiLinearProgress-bar MuiLinearProgress-barColorSecondary MuiLinearProgress-bar2Indeterminate css-j0ip97-MuiLinearProgress-bar2" /> </span> <div class="MuiBox-root css-8v90jo" > <mock-icon aria-hidden="true" classname="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-17ceore-MuiSvgIcon-root" focusable="false" /> Continue with Google </div> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </button> </span> </div> </div> </body> </html> at __EXTERNAL_MATCHER_TRAP__ (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/expect/build/index.js:326:15) at toBeInTheDocument (/home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/components/SocialSigner/__tests__/SocialSignerLogin.test.tsx:142:65) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
SafeAuthKit Onboard module > should call eth_accounts when eth_requestAccounts gets called: src/features/socialwallet/services/__tests__/SocialLoginModule.test.ts#L88
Error: Provider is unavailable at /home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/services/SocialLoginModule.ts:94:19 at new Promise (<anonymous>) at Object.request (/home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/services/SocialLoginModule.ts:49:20) at Object.request (/home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/services/__tests__/SocialLoginModule.test.ts:119:36) at processTicksAndRejections (node:internal/process/task_queues:95:5)
useInitSafeAuth > should only init once: src/features/socialwallet/hooks/__tests__/useInitSafeAuth.test.ts#L102
Error: expect(jest.fn()).not.toHaveBeenCalled() Expected number of calls: 0 Received number of calls: 1 1: {"buildEnv": "production", "chainConfig": {"chainId": "0x7", "rpcTarget": "https://dramatic-statistic.info"}, "enableLogging": true} Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> at toHaveBeenCalled (/home/runner/work/safe-wallet-web/safe-wallet-web/src/features/socialwallet/hooks/__tests__/useInitSafeAuth.test.ts:110:41) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:127:77) at checkRealTimersCallback (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:121:16) at Timeout.task [as _onTimeout] (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
CLAAssistant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: contributor-assistant/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/