Merge remote-tracking branch 'origin/master' into UISACQCOMP-236 #1452
3 fail, 2 skipped, 603 pass in 3m 58s
Annotations
Check warning on line 0 in SendClaimsModal should render send claim modal
github-actions / Jest Unit Test Results
SendClaimsModal should render send claim modal (SendClaimsModal should render send claim modal) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: ui-receiving.modal.sendClaim.heading. 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.
<body>
<div>
<div />
</div>
<div
class="backdrop"
/>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modalRoot entering"
role="dialog"
tabindex="-1"
>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modal medium"
id="send-claim-modal"
label="stripes-acq-components.claiming.modal.sendClaim.heading"
>
<div
class="modalHeader"
>
<h1
class="headline size-small margin-none font-weight-bold modalLabel"
data-test-headline="true"
id="send-claim-modal-label"
>
stripes-acq-components.claiming.modal.sendClaim.heading
</h1>
<div
class="modalControls"
/>
</div>
<div
class="modalContent"
id="send-claim-modal-content"
>
<form>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="container"
>
<div
class="container"
data-test-datepicker-container="true"
>
<div
class="textField"
>
<label
class="label"
for="dp-1"
>
stripes-acq-components.claiming.modal.sendClaim.field.claimExpiryDate
<span
aria-hidden="true"
class="asterisk"
>
*
</span>
</label>
<div
class="formControl inputGroup"
>
<input
aria-invalid="false"
aria-required="true"
autocapitalize="off"
autocomplete="off"
autocorrect="off"
id="dp-1"
name="claimingDate"
placeholder="MM/DD/YYYY"
required=""
spellcheck="false"
type="text"
value=""
/>
<div
class="endControls"
>
<div
class="controlGroup"
>
<button
aria-haspopup="true"
aria-label="stripes-components.showOrHideDatepicker"
class="iconButton medium"
data-test-calendar-button="true"
icon="calendar"
id="datepicker-toggle-calendar-button-dp-1"
type="button"
>
<span
class="iconButtonInner mediumOffset"
data-test-calendar-button="true"
>
<span>
Icon
</span>
</span>
</button>
</div>
</div>
</div>
<div
role="alert"
/>
</div>
<input
data-test-datepicker-hidden-input="true"
hidden=""
type="text"
value=""
/>
</div>
</div>
</div>
</div>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-2"
>
stripes-acq-components.claiming.modal.sendClaim.field.internalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-2"
name="internalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-3"
>
stripes-acq-components.claiming.modal.sendClaim.field.externalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-3"
name="externalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
</div>
</form>
</div>
<div
class="modalFooter"
id="send-claim-modal-footer"
>
<div
class="modalFooterContent"
>
<span
class="renderStart"
data-test-modal-footer-start="true"
>
<button
class="button default marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.cancel
</span>
</button>
</span>
<span
class="renderEnd"
data-test-modal-footer-end="true"
style="display: flex;"
>
<button
class="button primary marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.save
</span>
</button>
</span>
</div>
</div>
</div>
</div>
</body>
at Object.getElementError (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:90:38
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/claiming/components/modals/SendClaimsModal/SendClaimsModal.test.js:35:19)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in SendClaimsModal should validate "Claim expiry date" field
github-actions / Jest Unit Test Results
SendClaimsModal should validate "Claim expiry date" field (SendClaimsModal should validate "Claim expiry date" field) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: ui-receiving.validation.dateAfter. 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.
<body>
<div>
<div />
</div>
<div
class="backdrop"
/>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modalRoot entering"
role="dialog"
tabindex="-1"
>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modal medium"
id="send-claim-modal"
label="stripes-acq-components.claiming.modal.sendClaim.heading"
>
<div
class="modalHeader"
>
<h1
class="headline size-small margin-none font-weight-bold modalLabel"
data-test-headline="true"
id="send-claim-modal-label"
>
stripes-acq-components.claiming.modal.sendClaim.heading
</h1>
<div
class="modalControls"
/>
</div>
<div
class="modalContent"
id="send-claim-modal-content"
>
<form>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="container"
>
<div
class="container"
data-test-datepicker-container="true"
>
<div
class="textField"
>
<label
class="label"
for="dp-7"
>
stripes-acq-components.claiming.modal.sendClaim.field.claimExpiryDate
<span
aria-hidden="true"
class="asterisk"
>
*
</span>
</label>
<div
class="formControl hasError hasFeedback inputGroup isFocused"
>
<input
aria-invalid="true"
aria-required="true"
autocapitalize="off"
autocomplete="off"
autocorrect="off"
error="[object Object]"
id="dp-7"
name="claimingDate"
placeholder="MM/DD/YYYY"
required=""
spellcheck="false"
type="text"
value="12/18/2024"
/>
<div
class="endControls"
>
<div
class="controlGroup"
>
<div
class="textFieldIcon"
>
<span>
Icon
</span>
</div>
<button
aria-label="stripes-components.clearFieldValue"
class="iconButton medium"
data-test-clear="true"
icon="times-circle-solid"
id="datepicker-clear-button-dp-7"
type="button"
>
<span
class="iconButtonInner mediumOffset"
data-test-clear="true"
>
<span>
Icon
</span>
</span>
</button>
<button
aria-haspopup="true"
aria-label="stripes-components.showOrHideDatepicker"
class="iconButton medium"
data-test-calendar-button="true"
icon="calendar"
id="datepicker-toggle-calendar-button-dp-7"
type="button"
>
<span
class="iconButtonInner mediumOffset"
data-test-calendar-button="true"
>
<span>
Icon
</span>
</span>
</button>
</div>
</div>
</div>
<div
role="alert"
>
<div
class="feedbackError"
>
stripes-acq-components.validation.dateAfter
</div>
</div>
</div>
<input
data-test-datepicker-hidden-input="true"
hidden=""
type="text"
value="2024-12-18"
/>
</div>
</div>
</div>
</div>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-8"
>
stripes-acq-components.claiming.modal.sendClaim.field.internalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-8"
name="internalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-9"
>
stripes-acq-components.claiming.modal.sendClaim.field.externalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-9"
name="externalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
</div>
</form>
</div>
<div
class="modalFooter"
id="send-claim-modal-footer"
>
<div
class="modalFooterContent"
>
<span
class="renderStart"
data-test-modal-footer-start="true"
>
<button
class="button default marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.cancel
</span>
</button>
</span>
<span
class="renderEnd"
data-test-modal-footer-end="true"
style="display: flex;"
>
<button
class="button primary marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.save
</span>
</button>
</span>
</div>
</div>
</div>
</div>
</body>
at Object.getElementError (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:90:38
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/claiming/components/modals/SendClaimsModal/SendClaimsModal.test.js:48:19)
at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in SendClaimsModal should submit valid form
github-actions / Jest Unit Test Results
SendClaimsModal should submit valid form (SendClaimsModal should submit valid form) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find a label with the text of: ui-receiving.piece.internalNote
<body>
<div>
<div />
</div>
<div
class="backdrop"
/>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modalRoot entering"
role="dialog"
tabindex="-1"
>
<div
aria-label="stripes-acq-components.claiming.modal.sendClaim.heading"
class="modal medium"
id="send-claim-modal"
label="stripes-acq-components.claiming.modal.sendClaim.heading"
>
<div
class="modalHeader"
>
<h1
class="headline size-small margin-none font-weight-bold modalLabel"
data-test-headline="true"
id="send-claim-modal-label"
>
stripes-acq-components.claiming.modal.sendClaim.heading
</h1>
<div
class="modalControls"
/>
</div>
<div
class="modalContent"
id="send-claim-modal-content"
>
<form>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="container"
>
<div
class="container"
data-test-datepicker-container="true"
>
<div
class="textField"
>
<label
class="label"
for="dp-27"
>
stripes-acq-components.claiming.modal.sendClaim.field.claimExpiryDate
<span
aria-hidden="true"
class="asterisk"
>
*
</span>
</label>
<div
class="formControl inputGroup isFocused"
>
<input
aria-invalid="false"
aria-required="true"
autocapitalize="off"
autocomplete="off"
autocorrect="off"
id="dp-27"
name="claimingDate"
placeholder="MM/DD/YYYY"
required=""
spellcheck="false"
type="text"
value="12/23/2024"
/>
<div
class="endControls"
>
<div
class="controlGroup"
>
<button
aria-label="stripes-components.clearFieldValue"
class="iconButton medium"
data-test-clear="true"
icon="times-circle-solid"
id="datepicker-clear-button-dp-27"
type="button"
>
<span
class="iconButtonInner mediumOffset"
data-test-clear="true"
>
<span>
Icon
</span>
</span>
</button>
<button
aria-haspopup="true"
aria-label="stripes-components.showOrHideDatepicker"
class="iconButton medium"
data-test-calendar-button="true"
icon="calendar"
id="datepicker-toggle-calendar-button-dp-27"
type="button"
>
<span
class="iconButtonInner mediumOffset"
data-test-calendar-button="true"
>
<span>
Icon
</span>
</span>
</button>
</div>
</div>
</div>
<div
role="alert"
/>
</div>
<input
data-test-datepicker-hidden-input="true"
hidden=""
type="text"
value="2024-12-23"
/>
</div>
</div>
</div>
</div>
<div
class="row"
>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-28"
>
stripes-acq-components.claiming.modal.sendClaim.field.internalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-28"
name="internalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
<div
class="col-xs"
>
<div
class="textArea fullWidth"
>
<label
class="label"
for="textarea-input-29"
>
stripes-acq-components.claiming.modal.sendClaim.field.externalNote
</label>
<div
class="inputGroup"
>
<textarea
aria-invalid="false"
class="formControl"
id="textarea-input-29"
name="externalNote"
/>
<div
role="alert"
/>
</div>
</div>
</div>
</div>
</form>
</div>
<div
class="modalFooter"
id="send-claim-modal-footer"
>
<div
class="modalFooterContent"
>
<span
class="renderStart"
data-test-modal-footer-start="true"
>
<button
class="button default marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.cancel
</span>
</button>
</span>
<span
class="renderEnd"
data-test-modal-footer-end="true"
style="display: flex;"
>
<button
class="button primary marginBottom0"
type="button"
>
<span
class="inner"
>
stripes-acq-components.FormFooter.save
</span>
</button>
</span>
</div>
</div>
</div>
</div>
</body>
at Object.getElementError (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/config.js:37:19)
at getAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:119:38)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
at getByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
at _callee2$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/claiming/components/modals/SendClaimsModal/SendClaimsModal.test.js:59:28)
at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)