fix: enable swap app card only on supported networks #180
This workflow graph cannot be shown
A graph will be generated the next time this workflow is run.
Annotations
6 errors
Error
every step must define a `uses` or `run` key
|
AppsPage > Bookmarked Safe apps Page > shows Bookmarked safe apps section:
src/tests/pages/apps.test.tsx#L89
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
style=""
>
<div>
<div
class="container"
tabindex="0"
>
<mock-icon />
<h6
class="MuiTypography-root MuiTypography-h6 title css-dh47xt-MuiTypography-root"
>
How to build on
<i>
Safe
</i>
?
</h6>
<a
class="MuiTypography-root MuiTypography-body2 MuiLink-root MuiLink-underlineAlways link css-p35e85-MuiTypography-root-MuiLink-root"
href="https://help.safe.global/en/articles/145503-how-to-create-a-safe-app-with-safe-apps-sdk-and-list-it"
rel="noreferrer noopener"
target="_blank"
>
<span
class="MuiBox-root css-14f7ucs"
>
<span>
Learn more about Safe Apps SDK
</span>
</span>
</a>
<button
class="MuiButtonBase-root MuiFab-root MuiFab-extended MuiFab-sizeSmall MuiFab-secondary MuiFab-root MuiFab-extended MuiFab-sizeSmall MuiFab-secondary openButton css-6a6htw-MuiButtonBase-root-MuiFab-root"
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-11dtfly-MuiSvgIcon-root"
data-testid="KeyboardDoubleArrowUpRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M6.7 18.29c.39.39 1.02.39 1.41 0L12 14.42l3.88 3.88c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 12.3a.9959.9959 0 0 0-1.41 0L6.7 16.88c-.39.39-.39 1.02 0 1.41z"
/>
<path
d="M6.7 11.7c.39.39 1.02.39 1.41 0L12 7.83l3.88 3.88c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 5.71a.9959.9959 0 0 0-1.41 0L6.7 10.29c-.39.39-.39 1.02 0 1.41z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
<div
class="container MuiBox-root css-0"
>
<h3
class="MuiTypography-root MuiTypography-h3 title css-aklxrh-MuiTypography-root"
>
Explore the
ecosystem
</h3>
<p
class="MuiTypography-root MuiTypography-body1 subtitle css-1pqjor9-MuiTypography-root"
>
Connect to your favourite web3 applications with your Safe Account, securely and efficiently.
</p>
</div>
<div
class="tabs MuiBox-root css-0"
>
<div
class="MuiTabs-root tabs css-tkn350-MuiTabs-root"
>
<div
class="MuiTabs-scrollableX MuiTabs-hideScrollbar css-oqr85h"
style="width: 99px; height: 99px; position: absolute; top: -9999px; overflow: scroll;"
/>
<div
class="MuiTabs-scroller MuiTabs-hideScrollbar MuiTabs-scrollableX css-69z67c-MuiTabs-scroller"
style="margin-bottom: 0px;"
>
<div
class="MuiTabs-flexContainer css-heg063-MuiTabs-flexContainer"
role="tablist"
>
<a
aria-selected="true"
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary Mui-selected tab css-1lj962s-MuiButtonBase-root-MuiTab-root"
href="/apps?safe=matic%3A0x0000000000000000000000000000000000000000"
role="tab"
tabindex="0"
>
<p
class="MuiTypography-root MuiTypography-body2 label css-11hvqlg-MuiTypography-root"
>
All apps
</p>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</a>
<a
aria-selected="false"
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-1lj962s-MuiButtonBase-root-MuiTab-root"
href="/apps/custom?safe=matic%3A0x0000000000000000000000000000000000000000"
role="tab"
tabindex="-1"
>
<p
class="MuiTypography-root MuiTypography-body2 label css-fvh28f-MuiTypography-root"
>
My custom apps
</p>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</a>
</div>
<span
class="MuiTabs-indicator css-1n74ku9-MuiTabs-indicator"
style="left: 0px; width: 0px;"
/>
</div>
</div>
</div>
<main>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 filterContainer css-mhc70k-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-12 MuiGrid-grid-md-6 MuiGrid-grid-lg-6 css-1fyyp8j-MuiGrid-root"
>
<div
aria-label="Search Safe App by name"
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-13tvjrz-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiInputBase-root MuiFilledInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart MuiInputBase-hiddenLabel css-jpndn-MuiInputBase-root-MuiFilledInput-root"
>
<div
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-filled MuiInputAdornment-hiddenLabel MuiInputAdornment-sizeSmall css-9mc7sf-MuiInputAdornment-root"
>
<span
class="notranslate"
>
</span>
<mock-icon
aria-hidden="true"
classname="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeMedium css-1g6zr22-MuiSvgIcon-root"
focusable="false"
/>
</div>
<input
aria-invalid="false"
class="MuiInputBase-input MuiFilledInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputHiddenLabel MuiInputBase-inputAdornedStart css-1hu92n5-MuiInputBase-input-MuiFilledInput-input"
id="search-by-name"
placeholder="Search by name or category"
type="text"
value=""
/>
</div>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-6 MuiGrid-grid-md-3 MuiGrid-grid-lg-3 css-10voxkt-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth css-q8hpuo-MuiFormControl-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-18pzvfc-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
id="select-safe-app-category-label"
>
Category
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-1hkk10c-MuiInputBase-root-MuiOutlinedInput-root"
>
<div
aria-controls=":rq:"
aria-expanded="false"
aria-haspopup="listbox"
aria-labelledby="select-safe-app-category-label safe-app-category-selector"
class="MuiSelect-select MuiSelect-outlined MuiSelect-multiple MuiInputBase-input MuiOutlinedInput-input css-v3fr9k-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
id="safe-app-category-selector"
role="combobox"
tabindex="0"
>
Select category
</div>
<input
aria-hidden="true"
aria-invalid="false"
class="MuiSelect-nativeInput css-yf8vq0-MuiSelect-nativeInput"
tabindex="-1"
value=""
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiSelect-iconOutlined css-4sntem-MuiSvgIcon-root-MuiSelect-icon"
data-testid="ArrowDropDownIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M7 10l5 5 5-5z"
/>
</svg>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-p7vjcx-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-14lo706"
>
<span>
Category
</span>
</legend>
</fieldset>
</div>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-6 MuiGrid-grid-md-3 MuiGrid-grid-lg-3 css-10voxkt-MuiGrid-root"
>
<div
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
data-mui-internal-clone-element="true"
>
<label
class="MuiFormLabel-root MuiFormLabel-colorPrimary optimizedWithBatchLabel css-31wyxa-MuiFormLabel-root"
>
Optimized with
</label>
<label
class="MuiFormControlLabel-root MuiFormControlLabel-labelPlacementEnd css-1y3rz09-MuiFormControlLabel-root"
>
<span
class="MuiButtonBase-root MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium PrivateSwitchBase-root MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium css-5gpa3u-MuiButtonBase-root-MuiCheckbox-root"
>
<input
class="PrivateSwitchBase-input css-1m9pwf3"
data-indeterminate="false"
type="checkbox"
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-17ceore-MuiSvgIcon-root"
data-testid="CheckBoxOutlineBlankIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</span>
<span
class="MuiTypography-root MuiTypography-body1 MuiFormControlLabel-label css-1pqjor9-MuiTypography-root"
>
<div
class="MuiBox-root css-axw7ok"
>
<span>
Batch transactions
</span>
<mock-icon />
</div>
</span>
</label>
</div>
</div>
</div>
<p
class="MuiTypography-root MuiTypography-body2 css-14w2scn-MuiTypography-root"
>
All apps
(
5
)
</p>
<ul
class="safeAppsContainer"
data-testid="apps-list"
>
<li>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 container css-1bq3jbz-MuiPaper-root"
>
<div
class="MuiCardHeader-root header css-185gdzj-MuiCardHeader-root"
>
<div
class="MuiCardHeader-avatar css-1ssile9-MuiCardHeader-avatar"
>
<div
class="iconContainer"
>
<img
alt="Native swaps are here!"
height="24"
src="/images/common/swap.svg"
width="24"
/>
</div>
</div>
<div
class="MuiCardHeader-content css-1qbkelo-MuiCardHeader-content"
/>
</div>
<div
class="MuiCardContent-root content css-46bh2p-MuiCardContent-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 title css-1lv070m-MuiTypography-root"
>
Native swaps are here!
</h5>
<p
class="MuiTypography-root MuiTypography-body2 description css-13ba1nr-MuiTypography-root"
>
Experience seamless trading with better decoding and security in native swaps.
</p>
<div
class="MuiStack-root buttons css-1hezniw-MuiStack-root"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall css-196u49s-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Try now
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall css-1h8kaup-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Don't show
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</div>
</div>
</li>
<li>
<a
href="/apps/open?safe=matic%3A0x0000000000000000000000000000000000000000&appUrl=https%3A%2F%2Fcloudflare-ipfs.com%2Fipfs%2FQmX31xCdhFDmJzoVG33Y6kJtJ5Ujw8r5EJJBrsp8Fbjm7k"
rel="noreferrer"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root safeAppContainer css-i3ekvp-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardHeader-root safeAppHeader css-185gdzj-MuiCardHeader-root"
>
<div
class="MuiCardHeader-avatar css-1ssile9-MuiCardHeader-avatar"
>
<div
class="safeAppIconContainer"
>
<iframe
height="48"
loading="lazy"
referrerpolicy="strict-origin"
sandbox="allow-scripts"
srcdoc="
<body style=\"margin: 0; overflow: hidden; display: flex;\">
<img src=\"https://cloudflare-ipfs.com/ipfs/QmX31xCdhFDmJzoVG33Y6kJtJ5Ujw8r5EJJBrsp8Fbjm7k/Compound.png\" alt=\"Safe App logo\" width=\"48\" height=\"48\" />
<script>
document.querySelector('img').onerror = (e) => {
e.target.onerror = null
e.target.src = \"/images/apps/app-placeholder.svg\"
}
</script>
</body>
"
style="pointer-events: none; border: 0px;"
tabindex="-1"
title="Compound logo"
width="48"
/>
</div>
</div>
<div
class="MuiCardHeader-content css-1qbkelo-MuiCardHeader-content"
/>
<div
class="MuiCardHeader-action css-sgoict-MuiCardHeader-action"
>
<div
class="MuiBox-root css-1c1kq07"
>
<button
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-nmr6e8-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
>
<mock-icon
aria-hidden="true"
classname="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-j1da6x-MuiSvgIcon-root"
focusable="false"
/>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<span
aria-label="Copy share URL for Compound"
class=""
data-mui-internal-clone-element="true"
style="cursor: pointer;"
>
<button
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-nmr6e8-MuiButtonBase-root-MuiIconButton-root"
data-testid="copy-btn-icon"
tabindex="0"
type="button"
>
<mock-icon
aria-hidden="true"
classname="MuiSvgIcon-root MuiSvgIcon-colorBorder MuiSvgIcon-fontSizeSmall css-j1da6x-MuiSvgIcon-root"
focusable="false"
/>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</span>
<button
aria-label="Unpin Compound"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-nmr6e8-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
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>
</div>
</div>
</div>
<div
class="MuiCardContent-root safeAppContent css-46bh2p-MuiCardContent-root"
>
<h5
class="MuiTypography-root MuiTypography-h5 MuiTypography-gutterBottom safeAppTitle css-h3yivt-MuiTypography-root"
>
Compound
</h5>
<p
class="MuiTypography-root MuiTypography-body2 safeAppDescription css-13ba1nr-MuiTypography-root"
>
Money markets on the Ethereum blockchain
</p>
<div
class="MuiStack-root safeAppTagContainer css-iws07q-MuiStack-root"
/>
</div>
</div>
</a>
</li>
<li>
<a
href="/apps/open?safe=matic%3A0x0000000000000000000000000000000000000000&appUrl=https%3A%2F%2Fapp.ens.domains"
rel="noreferrer"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root safeAppContainer css-i3ekvp-MuiPaper-root-MuiCard-root"
>
<div
class="MuiCardHeader-root safeAppHeader css-185gdzj-MuiCardHeader-root"
>
<div
class="MuiCardHeader-avatar css-1ssile9-MuiCardHeader-avatar"
>
<div
class="safeAppIconContainer"
>
<iframe
height="48"
loading="lazy"
referrerpolicy="strict-origin"
sandbox="allow-scripts"
srcdoc="
<body style=\"margin: 0; overflow: hidden; display: flex;\">
<img src=\"https://app.ens.domains/android-chrome-144x144.png\" alt=\"Safe App logo\" width=\"48\" height=\"48\" />
<script>
document.querySelector('img').onerror = (e) => {
e.target.onerror = null
e.target.src = \"/images/apps/app-placeholder.svg\"
}
</script>
</body>
"
style="pointer-events: none; border: 0px;"
tabindex="-1"
title="ENS App logo"
width="48"
/>
</div>
</div>
<div
class="MuiCardHeader-content css-1qbkelo-MuiCardHeader-content"
/>
<div
class="MuiCardHeader-action css-sgoict-MuiCardHeader-action"
>
<div
class="MuiBox-root css-1c1kq07"
>
<button
...
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/tests/pages/apps.test.tsx:108:58)
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)
|
AddressInput tests > should accept a custom validate function:
src/components/common/AddressInput/index.test.tsx#L125
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="down:0x0000000000000000000000000000000000000000"
/>
<div
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
/>
<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:133: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)
at Object.worker (/home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/jest-runner/build/testWorker.js:106:12)
|
AddressInput tests > should show a spinner when validation is in progress:
src/components/common/AddressInput/index.test.tsx#L143
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="down:0x0000000000000000000000000000000000000000"
/>
<div
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
/>
<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:165:18)
|
AddressInput tests > should resolve ENS names:
src/components/common/AddressInput/index.test.tsx#L168
Error: expect(received).toBe(expected) // Object.is equality
Expected: "0x0000000000000000000000000000000000000000"
Received: "down:0x0000000000000000000000000000000000000000"
Ignored nodes: comments, script, style
<html>
<head />
<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=":r5:"
id=":r5:-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=":r5:"
name="recipient"
type="text"
value="down:0x0000000000000000000000000000000000000000"
/>
<div
class="MuiInputAdornment-root MuiInputAdornment-positionEnd MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-1laqsz7-MuiInputAdornment-root"
/>
<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>
</html>
at toBe (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/common/AddressInput/index.test.tsx:175:45)
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 /home/runner/work/safe-wallet-web/safe-wallet-web/node_modules/@testing-library/dom/dist/wait-for.js:70:9
|
AddressInput tests > should keep a bare address in the form state:
src/components/common/AddressInput/index.test.tsx#L234
Error: expect(received).toBe(expected) // Object.is equality
Expected: "0x0000000000000000000000000000000000000000"
Received: "down:0x0000000000000000000000000000000000000000"
at Object.toBe (/home/runner/work/safe-wallet-web/safe-wallet-web/src/components/common/AddressInput/index.test.tsx:264:43)
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)
|