fix(ui-date-input): fix DateInput2 not working at all with NVDA #4149
pr-validation.yml
on: pull_request
Lint commit msg + code
6m 25s
Vitest unit tests
6m 27s
Cypress component tests
8m 30s
Legacy unit tests
5m 14s
Annotations
2 errors
packages/ui-date-input/src/DateInput2/__new-tests__/DateInput2.test.tsx > <DateInput2 /> > should show calendar table when calendar button is clicked:
packages/ui-date-input/src/DateInput2/__new-tests__/DateInput2.test.tsx#L146
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div
aria-hidden="true"
>
<label
class="css-183j57y-formFieldLayout"
data-cid="TextInput"
for="TextInput_5"
>
<span
class="css-d89gko-grid"
>
<span
class="css-1r50q5-gridRow"
>
<span
class="css-1iqa4xu-gridCol"
>
<span
class="css-10gayoi-formFieldLabel"
>
Choose a date
</span>
</span>
<span
class="css-1sbhkbz-gridCol"
>
<span
class="css-jwt7s2-textInput__facade"
>
<div>
<span
class="css-1rgo9ya-textInput__layout"
>
<span
class="css-1dq8buo-textInput__innerWrapper"
>
<span
class="css-1mc61uf-textInput__inputLayout"
>
<span
class="css-1dq8buo-textInput__innerWrapper"
>
<input
class="css-1mqsi7t-textInput"
id="TextInput_5"
placeholder="M/D/YYYY"
type="text"
value=""
/>
</span>
<span
class="css-6eqebe-textInput__afterElement"
>
<span
class="css-1ihz85b-position"
data-cid="Position Popover"
data-position="Popover_5"
>
<button
aria-expanded="true"
class="css-mrq3n7-view--inlineBlock-baseButton"
cursor="pointer"
data-cid="BaseButton IconButton"
data-popover-trigger="true"
data-position-target="Popover_5"
dir="ltr"
tabindex="0"
type="button"
>
<span
class="css-9dsekb-baseButton__content"
>
<span
class="css-qi8ml9-baseButton__childrenLayout"
>
<span
class="css-5udsuu-baseButton__iconOnly"
>
<span
class="css-quqv7u-baseButton__iconSVG"
>
<svg
aria-hidden="true"
class="css-1uh2md0-inlineSVG-svgIcon"
data-cid="InlineSVG SVGIcon"
focusable="false"
height="1em"
name="IconCalendarMonth"
role="presentation"
rotate="0"
style="width: 1em; height: 1em;"
viewBox="0 0 1920 1920"
width="1em"
>
<g
role="presentation"
>
|
Vitest unit tests
Process completed with exit code 1.
|