Skip to content

IS-3017: log error message søk #1571

IS-3017: log error message søk

IS-3017: log error message søk #1571

Triggered via push January 29, 2025 08:43
Status Failure
Total duration 57s
Artifacts

main.yaml

on: push
build-and-deploy  /  Bygg, test og publiser docker image
47s
build-and-deploy / Bygg, test og publiser docker image
build-and-deploy  /  ...  /  Deploy til dev
build-and-deploy / nais-deploy / Deploy til dev
build-and-deploy  /  ...  /  Deploy til prod
build-and-deploy / nais-deploy / Deploy til prod
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test/components/SokPersonTest.tsx > SokPerson > should render SokPerson with fields: test/components/SokPersonTest.tsx#L40
TestingLibraryElementError: Unable to find an element with the text: Her kan du søke opp sykmeldte personer basert på initialer og fødselsdato.. 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 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 navds-heading--medium" > Søk etter sykmeldt </h2> <div class="navds-help-text" > <button aria-expanded="false" class="navds-help-text__button" type="button" > <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" > <title id="title-r0" > Hvordan søke etter sykmeldt? </title> <circle cx="12" cy="12" fill="transparent" r="11" stroke="currentColor" stroke-width="1.5" /> <path clip-rule="evenodd" d="M9.75 9C9.75 7.75736 10.7574 6.75 12 6.75H12.1716C13.3195 6.75 14.25 7.68054 14.25 8.82843C14.25 9.37966 14.031 9.90832 13.6412 10.2981L12.6412 11.2981C11.7504 12.1889 11.25 13.3971 11.25 14.6569C11.25 15.0711 11.5858 15.4069 12 15.4069C12.4142 15.4069 12.75 15.0711 12.75 14.6569C12.75 13.7949 13.0924 12.9682 13.7019 12.3588L14.7019 11.3588C15.373 10.6877 15.75 9.77748 15.75 8.82843C15.75 6.85212 14.1479 5.25 12.1716 5.25H12C9.92893 5.25 8.25 6.92893 8.25 9V9.5C8.25 9.91421 8.58579 10.25 9 10.25C9.41421 10.25 9.75 9.91421 9.75 9.5V9ZM12 16.5C11.4477 16.5 11 16.9477 11 17.5C11 18.0523 11.4477 18.5 12 18.5C12.5523 18.5 13 18.0523 13 17.5C13 16.9477 12.5523 16.5 12 16.5Z" fill="currentColor" fill-rule="evenodd" /> </svg> <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" > <title id="title-r1" > Hvordan søke etter sykmeldt? </title> <circle cx="12" cy="12" fill="currentColor" r="11" stroke="currentColor" stroke-width="1.5" /> <path clip-rule="evenodd" d="M9.75 9C9.75 7.75736 10.7574 6.75 12 6.75H12.1716C13.3195 6.75 14.25 7.68054 14.25 8.82843C14.25 9.37966 14.031 9.90832 13.6412 10.2981L12.6412 11.2981C11.7504 12.1889 11.25 13.3971 11.25 14.6569C11.25 15.0711 11.5858 15.4069 12 15.4069C12.4142 15.4069 12.75 15.0711 12.75 14.6569C12.75 13.7949 13.0924 12.9682 13.7019 12.3588L14.7019 11.3588C15.373 10.6877 15.75 9.77748 15.75 8.82843C15.75 6.85212 14.1479 5.25 12.1716 5.25H12C9.92893 5.25 8.25 6.92893 8.25 9V9.5C8.25 9.91421 8.58579 10.25 9 10.25C9.41421 10.25 9.75 9.91421 9.75 9.5V9ZM12 16.5C11.4477 16.5 11 16.9477 11 17.5C11 18.0523 11.4477 18.5 12 18.5C12.5523 18.5 13 18.0523 13 17.5C13 16.9477 12.5523 16.5 12 16.5Z" fi
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 (valgfri) 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-heading
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 (valgfri) 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="navds
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 (valgfri) 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="navds
build-and-deploy / Bygg, test og publiser docker image
Process completed with exit code 1.