Økt aldersgrense (PEK-868) Magicbox -> Main #3488
Annotations
10 errors
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L140
AssertionError: expected '67' to be '64' // Object.is equality
Expected: "64"
Received: "67"
❯ src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx:140:42
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L978
TestingLibraryElementError: Unable to find an element by: [data-testid="age-picker-uttaksalder-helt-uttak-aar"]
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="r66"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-r68"
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-r68"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="r66"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-r69"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
width="1.25rem"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-r69"
>
application.global.external_link
</title>
<path
clip-rule="evenodd"
d="M20.532 3.471A.75.75 0 0 1 20.75 4v7.5a.75.75 0 0 1-1.5 0V5.81l-8.72 8.72a.75.75 0 1
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L1658
AssertionError: expected '70' to be '64' // Object.is equality
Expected: "64"
Received: "70"
❯ src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx:1658:44
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L1756
TestingLibraryElementError: Unable to find an element by: [data-testid="age-picker-uttaksalder-helt-uttak-aar"]
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.description_ufoere
</span>
</div>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="rbl"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-rbn"
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-rbn"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="rbl"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-rbo"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
width="1.25rem"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-rbo"
>
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L1818
TestingLibraryElementError: Unable to find an element with the text: beregning.avansert.rediger.radio.inntekt_vsa_gradert_uttak.ufoeretrygd.description. 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
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.description_ufoere
</span>
</div>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="rc4"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-rc6"
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-rc6"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="rc4"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-rc7"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L1894
AssertionError: expected 7 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 7
❯ src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx:1894:57
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L1961
TestingLibraryElementError: Unable to find an element by: [data-testid="inntekt-vsa-gradert-uttak-radio-nei"]
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.description_ufoere
</span>
</div>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="rd2"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-rd4"
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-rd4"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="rd2"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-rd5"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
width="1.25rem"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-rd5"
>
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L2079
TestingLibraryElementError: Unable to find an element by: [data-testid="inntekt-vsa-gradert-uttak-radio-nei"]
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.description_ufoere
</span>
</div>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="rdh"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-rdj"
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-rdj"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="rdh"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-rdk"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
width="1.25rem"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-rdk"
>
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L2171
AssertionError: expected 7 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 7
❯ src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx:2171:48
|
Run unit tests:
src/components/RedigerAvansertBeregning/__tests__/RedigerAvansertBeregning.test.tsx#L2278
TestingLibraryElementError: Unable to find an element with the text: Du må svare på om du forventer å ha inntekt samtidig. 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
class=""
>
<div>
<div
class="_container_50fcfd _container__hasMobilePadding_50fcfd"
>
<div
class="_form_50fcfd"
>
<div>
<form
id="avansert-beregning"
method="dialog"
/>
<label
class="_label_50fcfd _label__margin_50fcfd navds-label"
>
beregning.avansert.rediger.inntekt_frem_til_uttak.label
</label>
<div
class="_description_50fcfd"
>
<span
class="_descriptionText_50fcfd"
>
<span
class="nowrap"
data-testid="formatert-inntekt-frem-til-uttak"
/>
beregning.avansert.rediger.inntekt_frem_til_uttak.description
</span>
<dialog
aria-labelledby="rer"
class="navds-modal navds-modal--polyfilled navds-modal--small"
role="dialog"
>
<div
class="navds-modal__header"
>
<button
class="navds-modal__button navds-button navds-button--tertiary-neutral navds-button--small navds-button--icon-only"
type="button"
>
<span
class="navds-button__icon"
>
<svg
aria-labelledby="title-ret"
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-ret"
>
Lukk
</title>
<path
d="M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z"
fill="currentColor"
/>
</svg>
</span>
</button>
<h1
class="navds-heading navds-heading--medium"
id="rer"
>
inntekt.endre_inntekt_modal.title
</h1>
</div>
<div
class="navds-modal__body"
>
<p
class="navds-body-long navds-body-long--medium"
>
Din siste pensjonsgivende inntekt fra Skatteetaten er
<span
class="nowrap"
>
kr
</span>
fra . Se tidligere inntekter i
<a
class="navds-link navds-link--action navds-link--inline-text"
href="https://www.nav.no/pensjon/opptjening/nb/"
target="_blank"
>
Din pensjonsopptjening
<svg
aria-labelledby="title-reu"
fill="none"
focusable="false"
height="1.25rem"
role="img"
viewBox="0 0 24 24"
width="1.25rem"
xmlns="http://www.w3.org/2000/svg"
>
<title
id="title-reu"
>
application.global.external_link
</title>
|
Loading