fix: resolve twoPercentShareholder form integration and error handlin… #3263
Annotations
6 errors
|
build
Process completed with exit code 1.
|
|
src/components/Employee/OnboardingFlow/OnboardingFlow.test.tsx > EmployeeOnboardingFlow > simplest happy path case > succeeds:
src/components/Employee/OnboardingFlow/OnboardingFlow.test.tsx#L157
TestingLibraryElementError: Unable to find role="heading" and name `/Federal tax withholdings/i`
Ignored nodes: comments, script, style
<body>
<div
data-live-announcer="true"
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
>
<div
aria-live="assertive"
aria-relevant="additions"
role="log"
>
<div>
2000
</div>
</div>
<div
aria-live="polite"
aria-relevant="additions"
role="log"
/>
</div>
<div>
<article
class="GSDK"
data-testid="GSDK"
>
<div
lang="en-US"
>
<div
class="_root_4e1e63"
>
<div
aria-labelledby="«rbm»"
class="_alert_4e1e63"
data-variant="error"
role="alert"
>
<div
class="_header_4e1e63"
>
<div
class="_iconLabelContainer_4e1e63"
>
<div
class="_icon_4e1e63"
>
<svg
aria-hidden="true"
fill="none"
height="36"
viewBox="0 0 36 36"
width="36"
xmlns="http://www.w3.org/2000/svg"
>
<g
opacity="0.3"
>
<path
d="M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
opacity="0.1"
>
<path
d="M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
clip-path="url(#clip0_7863_14861)"
>
<path
d="M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z"
stroke="#D92D20"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.66667"
/>
</g>
<defs>
<clippath
id="clip0_7863_14861"
>
<rect
fill="white"
height="20"
transform="translate(8 8)"
width="20"
/>
</clippath>
</defs>
</svg>
</div>
<h6
id="«rbm»"
>
There was a problem with your submission
</h6>
</div>
</div>
<div
class="_content_4e1e63"
>
<pre
class="_root_173295 _md_173295"
>
Input validation failed
┌ 2 issues found:
│ • [<root>.compensationId]: Required (invalid_type)
│ Want: string
│ Got: undefined
│ • [<root>.requestBody.version]: Required (invalid_type)
│ Want: string
│ Got: undefined
└─*
</pre>
</div>
|
|
src/components/Employee/Compensation/Compensation.test.tsx > Compensation > when employee has multiple jobs saved > should display employee type field when editing primary job and should warn if changing to other than nonexempt:
src/components/Employee/Compensation/Compensation.test.tsx#L590
TestingLibraryElementError: Unable to find an element by: [data-testid="data-view"]
Ignored nodes: comments, script, style
<body>
<div
data-live-announcer="true"
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
>
<div
aria-live="assertive"
aria-relevant="additions"
role="log"
/>
<div
aria-live="polite"
aria-relevant="additions"
role="log"
/>
</div>
<div>
<article
class="GSDK"
data-testid="GSDK"
>
<div
lang="en-US"
>
<div
class="_root_4e1e63"
>
<div
aria-labelledby="«rkh»"
class="_alert_4e1e63"
data-variant="error"
role="alert"
>
<div
class="_header_4e1e63"
>
<div
class="_iconLabelContainer_4e1e63"
>
<div
class="_icon_4e1e63"
>
<svg
aria-hidden="true"
fill="none"
height="36"
viewBox="0 0 36 36"
width="36"
xmlns="http://www.w3.org/2000/svg"
>
<g
opacity="0.3"
>
<path
d="M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
opacity="0.1"
>
<path
d="M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
clip-path="url(#clip0_7863_14861)"
>
<path
d="M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z"
stroke="#D92D20"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.66667"
/>
</g>
<defs>
<clippath
id="clip0_7863_14861"
>
<rect
fill="white"
height="20"
transform="translate(8 8)"
width="20"
/>
</clippath>
</defs>
</svg>
</div>
<h6
id="«rkh»"
>
There was a problem with your submission
</h6>
</div>
</div>
<div
class="_content_4e1e63"
>
<pre
class="_root_173295 _md_173295"
>
Input validation failed
┌ 1 issue found:
│ • [<root>.requestBody.version]: Required (invalid_type)
│ Want: string
│ Got: undefined
└─*
</pre>
</div>
</div>
</div>
<div
class="_fade_8c1d2d _fadeIn_8c1d2d"
>
<section>
<form
class="_form_
|
|
src/components/Employee/Compensation/Compensation.test.tsx > Compensation > when employee has a single job saved with flsa status that is not nonexempt > should navigate to the jobs list if the employment type is changed to hourly:
src/components/Employee/Compensation/Compensation.test.tsx#L350
TestingLibraryElementError: Unable to find an element with the text: Job title. 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
data-live-announcer="true"
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
>
<div
aria-live="assertive"
aria-relevant="additions"
role="log"
>
<div>
50.00
</div>
</div>
<div
aria-live="polite"
aria-relevant="additions"
role="log"
/>
</div>
<div>
<article
class="GSDK"
data-testid="GSDK"
>
<div
lang="en-US"
>
<div
class="_root_4e1e63"
>
<div
aria-labelledby="«re3»"
class="_alert_4e1e63"
data-variant="error"
role="alert"
>
<div
class="_header_4e1e63"
>
<div
class="_iconLabelContainer_4e1e63"
>
<div
class="_icon_4e1e63"
>
<svg
aria-hidden="true"
fill="none"
height="36"
viewBox="0 0 36 36"
width="36"
xmlns="http://www.w3.org/2000/svg"
>
<g
opacity="0.3"
>
<path
d="M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
opacity="0.1"
>
<path
d="M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
clip-path="url(#clip0_7863_14861)"
>
<path
d="M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z"
stroke="#D92D20"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.66667"
/>
</g>
<defs>
<clippath
id="clip0_7863_14861"
>
<rect
fill="white"
height="20"
transform="translate(8 8)"
width="20"
/>
</clippath>
</defs>
</svg>
</div>
<h6
id="«re3»"
>
There was a problem with your submission
</h6>
</div>
</div>
<div
class="_content_4e1e63"
>
<pre
class="_root_173295 _md_173295"
>
Input validation failed
┌ 1 issue found:
│ • [<root>.requestBody.version]: Required (invalid_type)
│ Want: string
│ Got: undefined
|
|
src/components/Employee/Compensation/Compensation.test.tsx > Compensation > when employee has a single job saved with flsa status that is not nonexempt > should navigate to the next step if the form is filled out with a non hourly employment type:
src/components/Employee/Compensation/Compensation.test.tsx#L319
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html
style=""
>
<head />
<body>
<div
data-live-announcer="true"
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
>
<div
aria-live="assertive"
aria-relevant="additions"
role="log"
>
<div>
50.00
</div>
</div>
<div
aria-live="polite"
aria-relevant="additions"
role="log"
/>
</div>
<div>
<article
class="GSDK"
data-testid="GSDK"
>
<div
lang="en-US"
>
<div
class="_root_4e1e63"
>
<div
aria-labelledby="«rbf»"
class="_alert_4e1e63"
data-variant="error"
role="alert"
>
<div
class="_header_4e1e63"
>
<div
class="_iconLabelContainer_4e1e63"
>
<div
class="_icon_4e1e63"
>
<svg
aria-hidden="true"
fill="none"
height="36"
viewBox="0 0 36 36"
width="36"
xmlns="http://www.w3.org/2000/svg"
>
<g
opacity="0.3"
>
<path
d="M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
opacity="0.1"
>
<path
d="M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
clip-path="url(#clip0_7863_14861)"
>
<path
d="M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z"
stroke="#D92D20"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.66667"
/>
</g>
<defs>
<clippath
id="clip0_7863_14861"
>
<rect
fill="white"
height="20"
transform="translate(8 8)"
width="20"
/>
</clippath>
</defs>
</svg>
</div>
<h6
id="«rbf»"
>
There was a problem with your submission
</h6>
</div>
</div>
<div
class="_content_4e1e63"
>
<pre
class="_root_173295 _md_173295"
>
Input validation failed
┌ 1 issue found:
│ • [<root>.requestBody.version]:
|
|
src/components/Employee/Compensation/Compensation.test.tsx > Compensation > when employee a single job saved with nonexempt flsa status > should allow user to edit the job and set flsa status to value other than nonexempt with no warning:
src/components/Employee/Compensation/Compensation.test.tsx#L233
TestingLibraryElementError: Unable to find an element with the text: Job title. 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
data-live-announcer="true"
style="border: 0px; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; white-space: nowrap;"
>
<div
aria-live="assertive"
aria-relevant="additions"
role="log"
>
<div>
50.00
</div>
</div>
<div
aria-live="polite"
aria-relevant="additions"
role="log"
/>
</div>
<div>
<article
class="GSDK"
data-testid="GSDK"
>
<div
lang="en-US"
>
<div
class="_root_4e1e63"
>
<div
aria-labelledby="«r8q»"
class="_alert_4e1e63"
data-variant="error"
role="alert"
>
<div
class="_header_4e1e63"
>
<div
class="_iconLabelContainer_4e1e63"
>
<div
class="_icon_4e1e63"
>
<svg
aria-hidden="true"
fill="none"
height="36"
viewBox="0 0 36 36"
width="36"
xmlns="http://www.w3.org/2000/svg"
>
<g
opacity="0.3"
>
<path
d="M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
opacity="0.1"
>
<path
d="M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z"
stroke="#D92D20"
stroke-width="1.66667"
/>
</g>
<g
clip-path="url(#clip0_7863_14861)"
>
<path
d="M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z"
stroke="#D92D20"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.66667"
/>
</g>
<defs>
<clippath
id="clip0_7863_14861"
>
<rect
fill="white"
height="20"
transform="translate(8 8)"
width="20"
/>
</clippath>
</defs>
</svg>
</div>
<h6
id="«r8q»"
>
There was a problem with your submission
</h6>
</div>
</div>
<div
class="_content_4e1e63"
>
<pre
class="_root_173295 _md_173295"
>
Input validation failed
┌ 1 issue found:
│ • [<root>.requestBody.version]: Required (invalid_type)
│ Want: string
│ Got: undefined
|