IS-2598: Edit text in vedtaksbrev #6889
main.yaml
on: push
build-and-deploy
/
Bygg, test og publiser docker image
2m 51s
build-and-deploy
/
...
/
Deploy til prod
Annotations
4 errors and 1 warning
test/frisktilarbeid/FattVedtakTest.tsx > FattVedtakSkjema > validerer fra-dato og begrunnelse:
test/frisktilarbeid/FattVedtakTest.tsx#L124
TestingLibraryElementError: Unable to find an element with the text: Vennligst angi begrunnelse. 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>
<div
class="navds-r-p navds-box flex flex-col [&>*]:mb-4 navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-6); --__ac-box-background: var(--a-surface-default);"
>
<h2
class="mb-1 navds-heading navds-heading--medium"
>
Fatt vedtak
</h2>
<form
class="flex flex-col gap-8"
>
<div
class="flex flex-col gap-6"
>
<div
class="navds-date__wrapper"
>
<div
class="navds-form-field navds-form-field--medium navds-date__field navds-text-field--error navds-date__field--error"
>
<label
class="navds-form-field__label navds-label"
for="datepicker-input-r27"
>
Friskmeldingen gjelder fra
</label>
<div
class="navds-form-field__description navds-body-short navds-body-short--medium"
id="datepicker-input-description-r27"
>
Dette er datoen vedtaket starter
</div>
<div
class="navds-date__field-wrapper"
>
<input
aria-describedby="datepicker-input-description-r27 datepicker-input-error-r27"
aria-invalid="true"
autocomplete="off"
class="navds-date__field-input navds-text-field__input navds-body-short navds-body-short--medium"
id="datepicker-input-r27"
size="11"
value=""
/>
<button
class="navds-date__field-button"
tabindex="0"
type="button"
>
<svg
aria-labelledby="title-r28"
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-r28"
>
Å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-r27"
>
<p
class="navds-error-message navds-label"
>
Vennligst angi dato
</p>
</div>
</div>
<div
aria-hidden="true"
class
|
test/frisktilarbeid/FattVedtakTest.tsx > FattVedtakSkjema > fatter vedtak med verdier fra skjema:
test/frisktilarbeid/FattVedtakTest.tsx#L153
AssertionError: expected { fom: '2024-08-20', …(3) } to deeply equal { fom: '2024-08-20', …(3) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="navds-r-p navds-box flex flex-col [&>*]:mb-4 navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-6); --__ac-box-background: var(--a-surface-default);"
>
<h2
class="mb-1 navds-heading navds-heading--medium"
>
Fatt vedtak
</h2>
<form
class="flex flex-col gap-8"
>
<div
class="flex flex-col gap-6"
>
<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-r2u"
>
Friskmeldingen gjelder fra
</label>
<div
class="navds-form-field__description navds-body-short navds-body-short--medium"
id="datepicker-input-description-r2u"
>
Dette er datoen vedtaket starter
</div>
<div
class="navds-date__field-wrapper"
>
<input
aria-describedby="datepicker-input-description-r2u"
autocomplete="off"
class="navds-date__field-input navds-text-field__input navds-body-short navds-body-short--medium"
id="datepicker-input-r2u"
size="11"
value="20.08.2024"
/>
<button
class="navds-date__field-button"
tabindex="0"
type="button"
>
<svg
aria-labelledby="title-r2v"
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-r2v"
>
Å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-r2u"
/>
</div>
<div
aria-hidden="true"
class="navds-popover navds-date__popover navds-popover--hidden"
data-index="0"
data-placement="bottom-start"
id="r2t"
role="dialog"
style="position: absolute; left: 0px; top: 0px
|
test/frisktilarbeid/FattVedtakTest.tsx > FattVedtakSkjema > fatter vedtak med setning om maksdato når tom-dato er maksdato:
test/frisktilarbeid/FattVedtakTest.tsx#L195
AssertionError: expected { fom: '2024-08-20', …(3) } to deeply equal { fom: '2024-08-20', …(3) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="navds-r-p navds-box flex flex-col [&>*]:mb-4 navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-6); --__ac-box-background: var(--a-surface-default);"
>
<h2
class="mb-1 navds-heading navds-heading--medium"
>
Fatt vedtak
</h2>
<form
class="flex flex-col gap-8"
>
<div
class="flex flex-col gap-6"
>
<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-r3m"
>
Friskmeldingen gjelder fra
</label>
<div
class="navds-form-field__description navds-body-short navds-body-short--medium"
id="datepicker-input-description-r3m"
>
Dette er datoen vedtaket starter
</div>
<div
class="navds-date__field-wrapper"
>
<input
aria-describedby="datepicker-input-description-r3m"
autocomplete="off"
class="navds-date__field-input navds-text-field__input navds-body-short navds-body-short--medium"
id="datepicker-input-r3m"
size="11"
value="20.08.2024"
/>
<button
class="navds-date__field-button"
tabindex="0"
type="button"
>
<svg
aria-labelledby="title-r3n"
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-r3n"
>
Å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-r3m"
/>
</div>
<div
aria-hidden="true"
class="navds-popover navds-date__popover navds-popover--hidden"
data-index="0"
data-placement="bottom-start"
id="r3l"
role="dialog"
style="position: absolute; left: 0px; top: 0px
|
build-and-deploy / Bygg, test og publiser docker image
Process completed with exit code 1.
|
build-and-deploy / Bygg, test og publiser docker image:
src/sider/frisktilarbeid/FerdigbehandletVedtak.tsx#L29
'isOppgaveAvsluttetNow' is defined but never used
|