colocate csp header data #4252
Annotations
3 errors and 2 warnings
Run pnpm test:coverage:
src/components/@molecules/SearchInput/SearchInput.test.tsx#L71
TestingLibraryElementError: Unable to find an element by: [data-testid="search-input-backdrop"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="sc-cwHptR jyKWiO"
data-testid="search-input-mobile"
>
<div
class="sc-aXZVg jVSoUr"
>
<div
class="_1jwf1bta17 _1jwf1bta5j _1jwf1bta71 _1jwf1btaq1 _1jwf1bta2p _1jwf1btjw1 _1jwf1btdi1"
>
<div
class="_1jwf1btjtd _1jwf1btczv _1jwf1btffj _1jwf1btjqg _1jwf1bth8d _1jwf1btjvy _1jwf1btjsd _1jwf1btdej"
>
<div
class="_1jwf1bthnd _1jwf1bti21 _1jwf1bta0v _1jwf1bta5j _1jwf1btaq1 _1jwf1btjqg"
>
<label
class="_1jwf1btjwg _1jwf1bta5j _1jwf1btamd _1jwf1bta9j _1jwf1bta8v _1jwf1btjqg _1jwf1btjw1"
for="thorin3"
id="thorin3-label"
>
<div
class="_1jwf1btcu _1jwf1btjog _1jwf1btjqg _1jwf1btjs1 _1jwf1btjsd _1jwf1btdi1 _6an2ibg _6an2ibr _6an2iba _1jwf1btjpg _1jwf1btjq7 _1jwf1btjos"
>
search.label
</div>
</label>
</div>
</div>
<div
class="_1jwf1bta5j _1jwf1btjw1 _1jwf1btjy4 _189z23ra _189z23re _189z23r9 _1jwf1btcu1 _1avz0ws0"
>
<div
class="_1jwf1btdi1 _1jwf1btd3d _1jwf1bt4ea _1jwf1btjb7 _1jwf1btjtg _1jwf1bte7 _1jwf1bta5j _1jwf1btjqg _1jwf1btjw1 _1jwf1btjy4 _1jwf1btjxp _6arcis0 _6arcis1"
>
<input
aria-labelledby="thorin3-label"
autocomplete="off"
autocorrect="off"
class="_1jwf1btdi1 _1jwf1btd3d _1jwf1bt4gf _1jwf1bt4ci _1jwf1bte7 _1jwf1btd0 _1jwf1btjwp _1jwf1btjwn _1jwf1btjwi _1jwf1btjp4 _1jwf1btjop _1jwf1btho1 _1jwf1bti2p _1jwf1btjw1 _1jwf1btjs1 _189z23r0 _189z23r4"
data-testid="search-input-box-fake"
id="thorin3"
name="clear-button"
placeholder="search.placeholder"
readonly=""
spellcheck="false"
type="text"
value=""
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div
class="_1jwf1btd4d _1jwf1btbj1 _1jwf1btjqg _1jwf1btjw4 _1jwf1btb4d _1jwf1btjya _1jwf1btjym _1jwf1btjxs _1jwf1btdj7 _1jwf1btk01 _1snez540 _1snez541"
data-testid="backdrop-surface"
/>
<div
class="sc-cPiKLX dqmwYD"
>
<div
class="sc-dLMFU gSlawU"
>
<div
class="sc-aXZVg jVSoUr"
>
<div
class="_1jwf1bta17 _1jwf1bta5j _1jwf1bta71 _1jwf1btaq1 _1jwf1bta2p _1jwf1btjw1 _1jwf1btdi1"
>
<div
class="_1jwf1btjtd _1jwf1btczv _1jwf1btffj _1jwf1btjqg _1jwf1bth8d _1jwf1btjvy _1jwf1btjsd _1jwf1btdej"
>
<div
class="_1jwf1bthnd _1jwf1bti21 _1jwf1bta0v _1jwf1bta5j _1jwf1btaq1 _1jwf1btjqg"
>
<label
class="_1jwf1btjwj _1jwf1bta5j _1jwf1btamd _1jwf1bta9j _1jwf1bta8v _1jwf1btjqg _1jwf1btjw1"
for="thorin4"
id="thorin4-label"
>
<div
class="_1jwf1btcu _1jwf1btjog _1jwf1btjqg _1jwf1btjs1 _1jwf1btjsd _1jwf1btdi1 _6an2ibg _6an2ibr _6an2iba _1jwf1btjpg _1jwf1btjq7 _1jwf1btjos"
>
search.label
</div>
</label>
</div>
</div>
<div
class="_1jwf1bta5j _1jwf1btjw1 _1jwf1btjy4 _189z23ra _189z23re _189z23r9 _1jwf1btcu1 _1avz0ws0"
>
<div
class="_1jwf1btdi1 _1jwf1btd3d _1jwf1bt4ea _1jwf1btjb7 _1jwf1btjtg _1jwf1bte7 _1jwf1bta5j _1jwf1btjqg _1jwf1btjw1 _1jwf1btjy4 _1jwf1btjxp _6arcis0"
>
<input
aria-labelledby="thorin4-label"
autocomplete="off"
autocorrect="off"
|
Run pnpm test:coverage:
src/components/pages/profile/[name]/tabs/OwnershipTab/sections/ExpirySection/components/ExpiryPanel.test.tsx#L40
TestingLibraryElementError: Found multiple elements with the text: ICON
Here are the matching elements:
Ignored nodes: comments, script, style
<div>
ICON
</div>
Ignored nodes: comments, script, style
<div>
ICON
</div>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="sc-dcJsrY hFmWqq"
data-testid="expiry-panel-expiry"
data-timestamp="3255803954000"
>
<div
class="sc-iGgWBj jUzuNY"
>
<div
class="_1jwf1bte0 _1jwf1btjog _6an2ibg _6an2ibr _6an2iba _1jwf1btjpg _1jwf1btjq7 _1jwf1btjos"
>
tabs.ownership.sections.expiry.panel.expiry.title
</div>
<div
class="sc-aXZVg bjabFw"
data-testid="question-icon"
>
<div>
ICON
</div>
</div>
</div>
<div
class="sc-kAyceB eOictD"
>
<div
class="_1jwf1bte0 _1jwf1btjog _6an2ibg _6an2ibs _6an2ibb _1jwf1btjpg _1jwf1btjq7 _1jwf1btjop"
>
Mar 3, 2073
</div>
<div
class="_1jwf1bt1r _1jwf1btjog _6an2ibg _6an2ibu _6an2ibd _1jwf1btjpj _1jwf1btjqa _1jwf1btjop"
>
21:59:14 UTC
</div>
</div>
</div>
</div>
<div>
<div
class="_1jwf1btk7v _1jwf1bta5d _1jwf1btjog _1jwf1bt9xs _1jwf1btjqj _1jwf1btjx1 _1jwf1btjvy _1jwf1btjya _1jwf1btjyp _1jwf1btjzg _1jwf1btk07 _177strc2"
data-testid="popoverContainer"
id="popoverContainer"
style="left: 0px; top: 0px; transform: translate3d(0,0,0) translate(0, -10px); --_177strc0: 36;"
>
<div
class="_1jwf1bt491 _1jwf1btjaj _1jwf1btk7v _1jwf1btjqj _1jwf1bthid _1jwf1btjw1 _1no3g7l0"
data-testid="tooltip-popover"
>
<div
class="sc-gEvEer kigLDd"
>
<div>
ICON
</div>
<div
class="_1jwf1bte7 _1jwf1btjog _6an2ibg _6an2ibu _6an2ibd _1jwf1btjpj _1jwf1btjqa _1jwf1btjop sc-eqUAAy llVzOX"
>
TOOLTIP
</div>
</div>
<div
class="_1jwf1bt6fz _1jwf1bt6g0 _1jwf1bt8fj _1jwf1bt8fk _1jwf1bt9fb _1jwf1bt9fc _1jwf1btk8d _1jwf1bt78d _1jwf1bt78e _1jwf1btjts _1jwf1btckj _1jwf1btckl _1jwf1bta6d _1jwf1btcr1 _1jwf1btbj1 _1jwf1btbj3 _1jwf1btflk _1jwf1btfll _1jwf1btjvy _1jwf1btbxp _1jwf1btbxr _1jwf1btbij _1jwf1btbil _1jwf1btd5p"
/>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19
❯ getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:20:35
❯ getMultipleElementsFoundError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:23:10
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:55:13
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/pages/profile/[name]/tabs/OwnershipTab/sections/ExpirySection/components/ExpiryPanel.test.tsx:40:19
|
Run pnpm test:coverage
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "stateful-build", "stateful-report", "stateless-build", "stateless-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading