Deps: Bump @mantine/core from 6.0.21 to 7.14.2 #4093
ci-js.yml
on: pull_request
Matrix: Upload coverage
Matrix: Linting
Matrix: Run tests
Annotations
6 errors
src/web/components/portal/__tests__/portal.jsx > Portal component tests > should render portal:
src/web/components/portal/__tests__/portal.jsx#L16
Error: Snapshot `Portal component tests > should render portal 1` mismatched
- Expected
+ Received
@@ -32,18 +32,18 @@
style="--notifications-z-index: 400; --notifications-container-width: calc(27.5rem * var(--mantine-scale));"
>
<div />
</div>
<div
- class="m_b37d9ac7 mantine-Notifications-root"
+ class="m_b37d9ac7 mantine-Notifications-root width-before-scroll-bar"
data-position="top-right"
style="--notifications-z-index: 400; --notifications-container-width: calc(27.5rem * var(--mantine-scale));"
>
<div />
</div>
<div
- class="m_b37d9ac7 mantine-Notifications-root"
+ class="m_b37d9ac7 mantine-Notifications-root width-before-scroll-bar"
data-position="bottom-right"
style="--notifications-z-index: 400; --notifications-container-width: calc(27.5rem * var(--mantine-scale));"
>
<div />
</div>
❯ src/web/components/portal/__tests__/portal.jsx:16:25
|
src/web/pages/reports/__tests__/auditreportslistpage.jsx > AuditReportsPage tests > should call commands for bulk actions:
src/web/components/testing.js#L296
TestingLibraryElementError: Found multiple elements with the role "dialog"
Here are the matching elements:
Ignored nodes: comments, script, style
<section
aria-describedby="mantine-58kepowu6-body"
aria-labelledby="mantine-58kepowu6-title"
aria-modal="true"
class="m_fd1ab0aa _content_b170d9 m_54c44539 mantine-Modal-content m_1b7284a3 mantine-Paper-root"
data-modal-content="true"
role="dialog"
style="transition-property: opacity, transform; transition-duration: 200ms; transition-timing-function: ease; opacity: 1; transform: translateY(0);"
tabindex="-1"
>
<header
class="m_b5489c3c _header_b170d9 m_d0e2b9cd mantine-Modal-header"
>
<h2
class="m_615af6c9 _title_b170d9 mantine-Modal-title"
id="mantine-58kepowu6-title"
>
<button
class="sc-fFoeYl gCgbiU dialog-title-button"
type="button"
>
Add Tag to Page Contents
</button>
</h2>
<button
class="mantine-focus mantine-active m_220c80f2 m_606cb269 _close_b170d9 mantine-Modal-close m_86a44da5 mantine-CloseButton-root m_87cf2631 mantine-UnstyledButton-root"
data-variant="subtle"
type="button"
>
<svg
fill="none"
viewBox="0 0 15 15"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
</button>
</header>
<div
class="m_5df29311 _body_b170d9 mantine-Modal-body"
id="mantine-58kepowu6-body"
>
<div
class="sc-hJRrWL blfXKg"
>
<div
class="m_8bffd616 mantine-Flex-root __m__-r3e"
style="gap: calc(0.5rem * var(--mantine-scale)); align-items: stretch; justify-content: flex-start; flex-direction: column;"
>
<div
class="_label_79e6be"
>
<p
class="mantine-focus _root_64b195 _-root_64b195 _body_64b195 m_b6d8b162 mantine-Text-root"
style="font-weight: 500;"
>
Choose Tag
</p>
</div>
<div
class="m_8bffd616 mantine-Flex-root __m__-r3h"
style="gap: var(--mantine-spacing-md); align-items: center; flex-direction: row;"
>
<div
class="_root_d9247f m_46b77525 mantine-InputWrapper-root mantine-Select-root"
data-size="md"
style="flex-grow: 1;"
>
<div
class="m_6c018570 mantine-Input-wrapper mantine-Select-wrapper"
data-disabled="true"
data-size="md"
data-variant="default"
data-with-right-section="true"
style="--input-height: var(--input-height-md); --input-fz: var(--mantine-font-size-md); --input-right-section-pointer-events: none;"
>
<input
aria-haspopup="listbox"
aria-invalid="false"
autocomplete="off"
class="_input_d9247f m_8fb7ebe7 mantine-Input-input mantine-Select-input"
data-disabled="true"
data-testid="form-select"
data-variant="default"
disabled=""
id="mantine-n117mi6w8"
itemcomponent="[object Object]"
value=""
/>
<div
class="m_82577fc2 mantine-Input-section mantine-Select-section"
data-position="right"
>
<svg
class="m_2943220b mantine-ComboboxChevron-chevron"
|
Run tests (20)
Process completed with exit code 1.
|
Run tests (18)
The job was canceled because "_20" failed.
|
Run tests (18)
The operation was canceled.
|
Upload coverage (18)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
linting-report-18
Expired
|
20.7 KB |
|
linting-report-20
Expired
|
20.7 KB |
|