feat: recovery dashboard widget #4658
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action)
failed
Nov 13, 2023 in 0s
Test suite run failed
Failed tests: 2/1137. Failed suites: 1/159.
Details
Created failed tests' annotations. To disable them, see documentation.
● AddressInput tests › should accept a custom validate function
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"
>
"off" 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;"
/>
far-off
:
</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>
"off" doesn't match the current chain
</span>
</legend>
</fieldset>
</div>
</div>
<button
type="submit"
>
Submit
</button>
</form>
</div>
</body>
109 | })
110 |
> 111 | await waitFor(() => expect(utils.getByLabelText(`${TEST_ADDRESS_A} is wrong`, { exact: false })).toBeDefined())
| ^
112 |
113 | act(() => {
114 | fireEvent.change(input, { target: { value: `${mockChain.shortName}:${TEST_ADDRESS_B}` } })
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at Object.<anonymous> (src/components/common/AddressInput/index.test.tsx:111:18)
● AddressInput tests › should show a spinner when validation is in progress
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"
>
"off" 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;"
/>
far-off
:
</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>
"off" doesn't match the current chain
</span>
</legend>
</fieldset>
</div>
</div>
<button
type="submit"
>
Submit
</button>
</form>
</div>
</body>
141 | })
142 |
> 143 | await waitFor(() => expect(utils.getByLabelText(`${TEST_ADDRESS_A} is wrong`, { exact: false })).toBeDefined())
| ^
144 | })
145 |
146 | it('should resolve ENS names', async () => {
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:166:27)
at Object.<anonymous> (src/components/common/AddressInput/index.test.tsx:143:18)
Loading