feat(sanity): make Content Releases opt-in #29742
Annotations
10 errors
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L62
TestingLibraryElementError: Unable to find an accessible element with the role "link"
Here are the accessible roles:
button:
Name "":
<button
aria-expanded="false"
aria-haspopup="true"
class="StyledButton-sc-aaekt4-0 bhxbNA"
data-disabled="false"
data-testid="global-perspective-menu-button"
data-ui="MenuButton"
id="releases-menu"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="StyledBox-sc-1hhky9f-0 exXHgr StyledCard-sc-osnro2-0 eeHYlY"
data-as="div"
data-scheme="light"
data-tone="default"
data-ui="Card"
style="margin: -1px;"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 cPyFdt"
data-as="div"
data-ui="Flex"
>
<div
style="width: 0px; opacity: 0;"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledCard-sc-osnro2-0 jQaPBc"
data-as="div"
data-scheme="light"
data-tone="default"
data-ui="Card"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 cXHylM"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 bGghzf"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<svg
data-sanity-icon="dot"
data-testid="release-avatar-default"
fill="none"
height="1em"
style="--card-icon-color: var(--card-badge-default-icon-color);"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12.5"
cy="12.5"
fill="currentColor"
r="2.5"
stroke="currentColor"
stroke-width="1.2"
/>
</svg>
</span>
</div>
</div>
</div>
<div
class="StyledBox-sc-1hhky9f-0 ikRPOR StyledStack-sc-8dpfq2-0 eTRCsB"
data-as="div"
data-ui="Stack"
>
<div
class="StyledText-sc-11ov82j-0 gsJnDj"
data-ui="Text"
>
<span>
<span
class="SpanWithTextOverflow-sc-ol2i3b-0 DGyqG"
>
Drafts
</span>
</span>
</div>
</div>
</div>
</div>
</div>
<button
aria-expanded="false"
aria-haspopup="true"
class="StyledButton-sc-aaekt4-0 bhxbNA"
data-disabled="false"
data-testid="global-perspective-menu-button"
data-ui="MenuButton"
id="releases-menu"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 kUdApj"
data-as="span"
data-ui="Box"
>
<span
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 cZoSSP"
data-as="span"
data-ui="Flex"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L149
TestingLibraryElementError: Unable to find an element with the text: ASAP. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<svg
data-sanity-icon="dot"
data-testid="release-avatar-positive"
fill="none"
height="1em"
style="--card-icon-color: var(--card-badge-positive-icon-color);"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12.5"
cy="12.5"
fill="currentColor"
r="2.5"
stroke="currentColor"
stroke-width="1.2"
/>
</svg>
</span>
</div>
</div>
</span>
</div>
</div>
<div
class="StyledBox-sc-1hhky9f-0 ikRPOR StyledStack-sc-8dpfq2-0 eTRCsB"
data-as="div"
data-ui="Stack"
>
<div
class="StyledText-sc-11ov82j-0 gsJnDj"
data-ui="Text"
>
<span>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L162
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<svg
data-sanity-icon="dot"
data-testid="release-avatar-positive"
fill="none"
height="1em"
style="--card-icon-color: var(--card-badge-positive-icon-color);"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12.5"
cy="12.5"
fill="currentColor"
r="2.5"
stroke="currentColor"
stroke-width="1.2"
/>
</svg>
</span>
</div>
</div>
</span>
</div>
</div>
<div
class="StyledBox-sc-1hhky9f-0 ikRPOR StyledStack-sc-8dpfq2-0 eTRCsB"
data-as="div"
data-ui="Stack"
>
<div
class="StyledText-sc-11ov82j-0 gsJnDj"
data-ui="Text"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L171
TestingLibraryElementError: Unable to find an element with the text: scheduled Release. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<svg
data-sanity-icon="dot"
data-testid="release-avatar-positive"
fill="none"
height="1em"
style="--card-icon-color: var(--card-badge-positive-icon-color);"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12.5"
cy="12.5"
fill="currentColor"
r="2.5"
stroke="currentColor"
stroke-width="1.2"
/>
</svg>
</span>
</div>
</div>
</span>
</div>
</div>
<div
class="StyledBox-sc-1hhky9f-0 ikRPOR StyledStack-sc-8dpfq2-0 eTRCsB"
data-as="div"
data-ui="Stack"
>
<div
class="StyledText-sc-11ov82j-0 gsJnDj"
data-ui="Text"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L180
TestingLibraryElementError: Unable to find an element with the text: New release. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.1501395387208735; opacity: 0.5750697693604367; transform: scale(0.9745041861616262); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.1501395387208735; --motion-content-opacity: 0.1501395387208735;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L212
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.15993639421163575; opacity: 0.5799681971058179; transform: scale(0.974798091826349); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.15993639421163575; --motion-content-opacity: 0.15993639421163575;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L212
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.15993639421163575; opacity: 0.5799681971058179; transform: scale(0.974798091826349); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.15993639421163575; --motion-content-opacity: 0.15993639421163575;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L212
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.16990125923470045; opacity: 0.5849506296173502; transform: scale(0.975097037777041); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.16990125923470045; --motion-content-opacity: 0.16990125923470045;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L212
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.09557567129125422; opacity: 0.5477878356456272; transform: scale(0.9728672701387376); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.09557567129125422; --motion-content-opacity: 0.09557567129125422;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Test:
packages/sanity/src/core/perspective/navbar/__tests__/ReleasesNav.test.tsx#L212
TestingLibraryElementError: Unable to find an element with the text: active Scheduled 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div
data-portal=""
>
<div
class="StyledBox-sc-1hhky9f-0 fVdNLf StyledCard-sc-osnro2-0 biplee MotionCard-sc-ihg31s-0 hyfGBc"
data-as="div"
data-placement="bottom-end"
data-scheme="light"
data-tone="default"
data-ui="MenuButton__popover"
hidden=""
style="left: 4px; position: absolute; top: 4px; z-index: 3000; will-change: transform; --motion-content-opacity: 0.15993639421163575; opacity: 0.5799681971058179; transform: scale(0.974798091826349); transform-origin: 50% 50% 0; max-width: -8px; max-height: -8px; --motion-content-opacity: 0.15993639421163575; --motion-content-opacity: 0.15993639421163575;"
>
<div
class="StyledBox-sc-1hhky9f-0 hhDYPT StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Popover__wrapper"
>
<div
class="StyledBox-sc-1hhky9f-0 iUkGyZ StyledFlex-sc-oxesg3-0 kPMPfV"
data-as="div"
data-ui="Flex"
>
<div
aria-labelledby="releases-menu"
class="StyledBox-sc-1hhky9f-0 bFUsLJ StyledMenu-sc-xt0tnv-0 ckFANx sc-eVISfE hdXrSN"
data-as="div"
data-testid="release-menu"
data-ui="Menu"
role="menu"
tabindex="-1"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledStack-sc-8dpfq2-0 cyneTn"
data-as="div"
data-ui="Stack"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-DZDDv ilTvtL"
data-as="div"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC sc-ePOEzu CRwsV"
data-as="div"
data-ui="Box"
>
<div
class="sc-cDGbcm XgnXv"
>
<button
aria-pressed="false"
class="StyledBox-sc-1hhky9f-0 fFvGUC Selectable-sc-1w01ang-0 lzRFu"
data-as="button"
data-testid="release-published"
data-ui="MenuItem"
role="menuitem"
tabindex="-1"
type="button"
>
<span
class="StyledBox-sc-1hhky9f-0 bFUsLJ"
data-as="span"
data-ui="Box"
>
<div
class="StyledBox-sc-1hhky9f-0 fFvGUC StyledFlex-sc-oxesg3-0 fLZREU"
data-as="div"
data-ui="Flex"
>
<div
class="StyledBox-sc-1hhky9f-0 eJSLdC"
data-as="div"
data-ui="Box"
style="position: relative; z-index: 1;"
>
<div
class="StyledText-sc-11ov82j-0 xkMaC"
data-ui="Text"
>
<span>
<div
class="StyledBox-sc-1hhky9f-0 bLtIhs"
data-as="div"
data-ui="Box"
style="border-radius: 3px;"
>
|
Loading