IS-2621: Add stansdato datepicker #7099
main.yaml
on: push
build-and-deploy
/
Bygg, test og publiser docker image
2m 58s
build-and-deploy
/
...
/
Deploy til prod
Annotations
2 errors
test/manglendemedvirkning/StansTest.tsx > Manglendemedvirkning Stans > StansSkjema > Stanser med riktige verdier:
test/manglendemedvirkning/StansTest.tsx#L140
AssertionError: expected { personident: '19026900010', …(4) } to have deep property 'document' of [ { …(2) }, { …(2) }, { …(2) }, …(3) ], but got [ { type: 'HEADER_H1', …(1) }, …(5) ]
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="navds-r-p navds-box navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-6); --__ac-box-background: var(--a-surface-default);"
>
<form
class="[&>*]:mb-4"
>
<h2
class="navds-heading navds-heading--medium"
>
Skriv innstilling til NAY
</h2>
<div
class="navds-date__wrapper"
>
<div
class="navds-form-field navds-form-field--medium navds-date__field"
>
<label
class="navds-form-field__label navds-label"
for="datepicker-input-rt"
>
Velg dato avslaget gjelder fra
</label>
<div
class="navds-date__field-wrapper"
>
<input
autocomplete="off"
class="navds-date__field-input navds-text-field__input navds-body-short navds-body-short--medium"
id="datepicker-input-rt"
name="stansdato"
size="11"
value="03.10.2024"
/>
<button
class="navds-date__field-button"
tabindex="0"
type="button"
>
<svg
aria-labelledby="title-ru"
fill="none"
focusable="false"
height="1em"
pointer-events="none"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-ru"
>
Åpne datovelger
</title>
<path
clip-rule="evenodd"
d="M9 2.25a.75.75 0 0 1 .75.75v1.25h4.5V3a.75.75 0 0 1 1.5 0v1.25h3.75c.69 0 1.25.56 1.25 1.25v13c0 .69-.56 1.25-1.25 1.25h-15c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h3.75V3A.75.75 0 0 1 9 2.25M15.75 7a.75.75 0 0 1-1.5 0V5.75h-4.5V7a.75.75 0 0 1-1.5 0V5.75h-3.5v3.5h14.5v-3.5h-3.5zm-11 11.25v-7.5h14.5v7.5zm2-5.25a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75m4 0a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75m4.75-.75a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5zM10.75 16a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75m4.75-.75a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 0-1.5zM6.75 16a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
</button>
</div>
<div
aria-live="polite"
aria-relevant="additions removals"
class="navds-form-field__error"
id="datepicker-input-error-rt"
/>
</div>
<div
aria-hidden="true"
class="navds-popover navds-date__popover navds-popover--hidden"
data-index="0"
data-placement="bottom-start"
id="rs"
role="dialog"
style="position: absolute; left: 0px; top: 0px; transform: translate(12px, 4px);"
>
<div
class="rdp navds-date"
>
<div
class="rdp-months"
>
<div
class="rdp-month rdp-caption_start rdp-caption_end"
>
<div
class="navds-date__caption"
>
<
|
build-and-deploy / Bygg, test og publiser docker image
Process completed with exit code 1.
|