fix(releases): blocking UI elements that allow for adding documents to inactive releases #27318
Annotations
8 errors
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L273
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L279
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L279
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L279
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L279
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L357
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test:
packages/sanity/src/core/releases/tool/overview/__tests__/ReleasesOverview.test.tsx#L364
TestingLibraryElementError: Found multiple elements with the text: 27
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
27
</span>
Ignored nodes: comments, script, style
<span>
27
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Calendar"
>
<div
class="sc-keTIit dQAMIR sc-jtQUzJ jfUvtt"
data-as="div"
data-ui="Flex"
style="min-height: 55px; position: sticky; top: 0px;"
>
<div
class="sc-keTIit bgfEHC sc-jtQUzJ cnmJbZ"
data-as="div"
data-ui="Flex"
>
<div
class="sc-dpBQxM kPPfgn"
data-ui="Text"
>
<span>
November
2024
</span>
</div>
<div
class="sc-keTIit jkLIgu sc-jtQUzJ dfbYMD"
data-as="div"
data-ui="Flex"
>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-left"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.5 17L11 12.5L14.5 8"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
<span
class="sc-gbwXoZ flKSeA"
>
<button
class="sc-ovuCP dpCwEQ"
data-disabled="false"
data-ui="Button"
type="button"
>
<span
class="sc-keTIit gTntFA"
data-as="span"
data-ui="Box"
>
<span
class="sc-keTIit gxoNzZ sc-jtQUzJ hXQWAT"
data-as="span"
data-ui="Flex"
>
<span
class="sc-dpBQxM bmiEuK"
data-ui="Text"
style="flex: 0 0 auto;"
>
<span>
<svg
data-sanity-icon="chevron-right"
fill="none"
height="1em"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5 8L14 12.5L10.5 17"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="1.2"
/>
</svg>
</span>
</span>
</span>
</span>
</button>
</span>
</div>
</div>
</div>
<div
class="sc-keTIit gxoNzZ"
data-as="div"
data-ui="Box"
>
<div
class="sc-keTIit lbkCos"
data-as="div"
data-calendar-grid="true"
data-ui="Box"
tabindex="0"
>
<div
aria-hidden="false"
class="sc-keTIit gxoNzZ"
data-a
|
Test
Process completed with exit code 1.
|
Loading