IS-3017: Tydeliggjøre søket #1536
main.yaml
on: push
build-and-deploy
/
Bygg, test og publiser docker image
47s
build-and-deploy
/
...
/
Deploy til prod
Annotations
5 errors and 1 warning
test/components/SokPersonTest.tsx > SokPerson > should render SokPerson with fields:
test/components/SokPersonTest.tsx#L44
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name "Initialer"
Here are the accessible roles:
heading:
Name "Søk etter sykmeldt":
<h2
class="navds-heading navds-heading--medium"
/>
--------------------------------------------------
button:
Name "Hvordan søke etter sykmeldt? Hvordan søke etter sykmeldt?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Søk":
<button
class="self-end max-w-max navds-button navds-button--primary navds-button--medium"
type="submit"
/>
--------------------------------------------------
img:
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r0"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r1"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r4"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r5"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r8"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r9"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="navds-body-long navds-body-long--medium"
/>
--------------------------------------------------
textbox:
Name "Fødselsdato (obligatorisk) Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<input
aria-describedby="textField-description-r3"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r3"
size="14"
type="text"
/>
Name "Initialer (valgfritt) Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<input
aria-describedby="textField-description-r7"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r7"
size="10"
type="text"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="navds-r-p navds-box navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-4); --__ac-box-background: var(--a-surface-default);"
>
<form>
<div
class="flex gap-2 items-center"
>
<h2
class="navds-heading
|
test/components/SokPersonTest.tsx > SokPerson > should render validation error for initialer when blank and too many characters:
test/components/SokPersonTest.tsx#L60
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name "Initialer"
Here are the accessible roles:
heading:
Name "Søk etter sykmeldt":
<h2
class="navds-heading navds-heading--medium"
/>
--------------------------------------------------
button:
Name "Hvordan søke etter sykmeldt? Hvordan søke etter sykmeldt?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Søk":
<button
class="self-end max-w-max navds-button navds-button--primary navds-button--medium"
type="submit"
/>
--------------------------------------------------
img:
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-ro"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-rp"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-rs"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-rt"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r10"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r11"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="navds-body-long navds-body-long--medium"
/>
--------------------------------------------------
textbox:
Name "Fødselsdato (obligatorisk) Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<input
aria-describedby="textField-description-rr"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-rr"
size="14"
type="text"
/>
Name "Initialer (valgfritt) Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<input
aria-describedby="textField-description-rv"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-rv"
size="10"
type="text"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="navds-r-p navds-box navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-4); --__ac-box-background: var(--a-surface-default);"
>
<form>
<div
class="flex gap-2 items-center"
>
<h2
class="navds-headi
|
test/components/SokPersonTest.tsx > SokPerson > should send correct parameters:
test/components/SokPersonTest.tsx#L70
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name "Initialer"
Here are the accessible roles:
heading:
Name "Søk etter sykmeldt":
<h2
class="navds-heading navds-heading--medium"
/>
--------------------------------------------------
button:
Name "Hvordan søke etter sykmeldt? Hvordan søke etter sykmeldt?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Søk":
<button
class="self-end max-w-max navds-button navds-button--primary navds-button--medium"
type="submit"
/>
--------------------------------------------------
img:
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r14"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r15"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r18"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r19"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r1c"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r1d"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="navds-body-long navds-body-long--medium"
/>
--------------------------------------------------
textbox:
Name "Fødselsdato (obligatorisk) Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<input
aria-describedby="textField-description-r17"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r17"
size="14"
type="text"
/>
Name "Initialer (valgfritt) Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<input
aria-describedby="textField-description-r1b"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r1b"
size="10"
type="text"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="navds-r-p navds-box navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-4); --__ac-box-background: var(--a-surface-default);"
>
<form>
<div
class="flex gap-2 items-center"
>
<h2
class="nav
|
test/components/SokPersonTest.tsx > SokPerson > should show correct results:
test/components/SokPersonTest.tsx#L107
TestingLibraryElementError: Unable to find an accessible element with the role "textbox" and name "Initialer"
Here are the accessible roles:
heading:
Name "Søk etter sykmeldt":
<h2
class="navds-heading navds-heading--medium"
/>
--------------------------------------------------
button:
Name "Hvordan søke etter sykmeldt? Hvordan søke etter sykmeldt?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<button
aria-expanded="false"
class="navds-help-text__button"
type="button"
/>
Name "Søk":
<button
class="self-end max-w-max navds-button navds-button--primary navds-button--medium"
type="submit"
/>
--------------------------------------------------
img:
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r1g"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan søke etter sykmeldt?":
<svg
aria-labelledby="title-r1h"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r1k"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn fødselsdato?":
<svg
aria-labelledby="title-r1l"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r1o"
class="navds-help-text__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "Hvordan fyller jeg inn initialer?":
<svg
aria-labelledby="title-r1p"
class="navds-help-text__icon navds-help-text__icon--filled"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="navds-body-long navds-body-long--medium"
/>
--------------------------------------------------
textbox:
Name "Fødselsdato (obligatorisk) Hvordan fyller jeg inn fødselsdato? Hvordan fyller jeg inn fødselsdato?":
<input
aria-describedby="textField-description-r1j"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r1j"
size="14"
type="text"
/>
Name "Initialer (valgfritt) Hvordan fyller jeg inn initialer? Hvordan fyller jeg inn initialer?":
<input
aria-describedby="textField-description-r1n"
class="navds-text-field__input navds-body-short navds-body-short--medium"
id="textField-r1n"
size="10"
type="text"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="navds-r-p navds-box navds-box-bg"
style="--__ac-r-p-xs: var(--a-spacing-4); --__ac-box-background: var(--a-surface-default);"
>
<form>
<div
class="flex gap-2 items-center"
>
<h2
class="nav
|
build-and-deploy / Bygg, test og publiser docker image
Process completed with exit code 1.
|
build-and-deploy / Bygg, test og publiser docker image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|