optimize: add settings version for optimistic locking issue #459
4 fail, 222 pass in 2m 36s
Annotations
Check warning on line 0 in BankingInformationSettings component should display pane headings
github-actions / Jest Unit Test Results
BankingInformationSettings component should display pane headings (BankingInformationSettings component should display pane headings) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toHaveLength(expected)
Expected length: 2
Received length: 1
Received array: [<span class="paneTitleLabel">ui-organizations.settings.bankingInformation</span>]
at Object.toHaveLength (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingInformationSettings/BankingInformationSettings.test.js:40:23)
at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
Check warning on line 0 in BankingInformationSettings component should save banking options
github-actions / Jest Unit Test Results
BankingInformationSettings component should save banking options (BankingInformationSettings component should save banking options) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "ui-organizations.settings.bankingInformation"
Here are the accessible roles:
region:
Name "ui-organizations.settings.bankingInformation":
<div
aria-labelledby="paneHeaderbanking-information-pane-title"
class="paneHeader"
data-test-pane-header="true"
id="paneHeaderbanking-information"
role="region"
tabindex="-1"
/>
--------------------------------------------------
heading:
Name "ui-organizations.settings.bankingInformation":
<h2
class="paneTitle"
data-test-pane-header-title="true"
/>
--------------------------------------------------
checkbox:
Name "ui-organizations.settings.bankingInformation.enable":
<input
aria-invalid="false"
checked=""
class="input"
id="checkbox-5"
name="value"
type="checkbox"
value=""
/>
--------------------------------------------------
alert:
Name "":
<div
role="alert"
/>
--------------------------------------------------
button:
Name "ui-organizations.settings.accountTypes.save.button":
<button
class="button primary mega"
disabled=""
id="clickable-save-contact-person-footer"
type="submit"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<section
class="pane focusIndicator"
id="banking-information"
>
<div
aria-labelledby="paneHeaderbanking-information-pane-title"
class="paneHeader"
data-test-pane-header="true"
id="paneHeaderbanking-information"
role="region"
tabindex="-1"
>
<div
class="paneHeaderCenter"
>
<div
class="paneHeaderCenterInner"
id="paneHeaderbanking-information-pane-title"
>
<h2
class="paneTitle"
data-test-pane-header-title="true"
>
<span
class="paneTitleLabel"
>
ui-organizations.settings.bankingInformation
</span>
</h2>
</div>
</div>
</div>
<div
class="paneContent hasPadding"
id="banking-information-content"
tabindex="-1"
>
<div
class="row"
>
<div
class="col-xs-12"
>
<div
class="checkbox"
data-test-checkbox="true"
>
<label
class="label label checkboxInteractionStylesControl"
for="checkbox-5"
>
<span
class="inner checkboxInteractionStyles"
>
<input
aria-invalid="false"
checked=""
class="input"
id="checkbox-5"
name="value"
type="checkbox"
value=""
/>
<span
class="checkboxIcon"
>
<svg
height="10"
viewBox="0 0 14 14"
width="10"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.395 4.617L5.63 9.383 3.605 7.358"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
stroke-width="1.5"
/>
</svg>
</span>
<span
class="labelText"
>
ui-organizations.settings.bankingInformation.enable
</span>
</span>
</label>
<div
role="alert"
/>
</div>
</div>
</div>
</div>
<div
class="paneFooter"
>
<div
class="paneFooterContent"
>
<span
class="renderStart"
data-test-pane-footer-start="true"
/>
<span
data-test-pane-footer-end="true"
>
<button
class="button primary mega"
disabled=""
id="clickable-save-contact-person-footer"
type="submit"
>
<span
class="inner"
>
ui-organizations.settings.accountTypes.save.button
</span>
</button>
</span>
</div>
</div>
</section>
<div />
</div>
</body>
at Object.getElementError (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingInformationSettings/BankingInformationSettings.test.js:72:29)
at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
Check warning on line 0 in BankingInformationSettingsForm component should render component
github-actions / Jest Unit Test Results
BankingInformationSettingsForm component should render component (BankingInformationSettingsForm component should render component) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toHaveLength(expected)
Expected length: 2
Received length: 1
Received array: [<div aria-labelledby="paneHeaderbanking-information-pane-title" class="paneHeader" data-test-pane-header="true" id="paneHeaderbanking-information" role="region" tabindex="-1"><div class="paneHeaderCenter"><div class="paneHeaderCenterInner" id="paneHeaderbanking-information-pane-title"><h2 class="paneTitle" data-test-pane-header-title="true"><span class="paneTitleLabel">ui-organizations.settings.bankingInformation</span></h2></div></div></div>]
at Object.toHaveLength (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingInformationSettings/BankingInformationSettingsForm.test.js:30:86)
at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
Check warning on line 0 in BankingInformationSettingsForm component should save banking options
github-actions / Jest Unit Test Results
BankingInformationSettingsForm component should save banking options (BankingInformationSettingsForm component should save banking options) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "ui-organizations.settings.bankingInformation"
Here are the accessible roles:
region:
Name "ui-organizations.settings.bankingInformation":
<div
aria-labelledby="paneHeaderbanking-information-pane-title"
class="paneHeader"
data-test-pane-header="true"
id="paneHeaderbanking-information"
role="region"
tabindex="-1"
/>
--------------------------------------------------
heading:
Name "ui-organizations.settings.bankingInformation":
<h2
class="paneTitle"
data-test-pane-header-title="true"
/>
--------------------------------------------------
checkbox:
Name "ui-organizations.settings.bankingInformation.enable":
<input
aria-invalid="false"
checked=""
class="input"
id="checkbox-5"
name="value"
type="checkbox"
value=""
/>
--------------------------------------------------
alert:
Name "":
<div
role="alert"
/>
--------------------------------------------------
button:
Name "ui-organizations.settings.accountTypes.save.button":
<button
class="button primary mega"
disabled=""
id="clickable-save-contact-person-footer"
type="submit"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<section
class="pane focusIndicator"
id="banking-information"
>
<div
aria-labelledby="paneHeaderbanking-information-pane-title"
class="paneHeader"
data-test-pane-header="true"
id="paneHeaderbanking-information"
role="region"
tabindex="-1"
>
<div
class="paneHeaderCenter"
>
<div
class="paneHeaderCenterInner"
id="paneHeaderbanking-information-pane-title"
>
<h2
class="paneTitle"
data-test-pane-header-title="true"
>
<span
class="paneTitleLabel"
>
ui-organizations.settings.bankingInformation
</span>
</h2>
</div>
</div>
</div>
<div
class="paneContent hasPadding"
id="banking-information-content"
tabindex="-1"
>
<div
class="row"
>
<div
class="col-xs-12"
>
<div
class="checkbox"
data-test-checkbox="true"
>
<label
class="label label checkboxInteractionStylesControl"
for="checkbox-5"
>
<span
class="inner checkboxInteractionStyles"
>
<input
aria-invalid="false"
checked=""
class="input"
id="checkbox-5"
name="value"
type="checkbox"
value=""
/>
<span
class="checkboxIcon"
>
<svg
height="10"
viewBox="0 0 14 14"
width="10"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.395 4.617L5.63 9.383 3.605 7.358"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
stroke-width="1.5"
/>
</svg>
</span>
<span
class="labelText"
>
ui-organizations.settings.bankingInformation.enable
</span>
</span>
</label>
<div
role="alert"
/>
</div>
</div>
</div>
</div>
<div
class="paneFooter"
>
<div
class="paneFooterContent"
>
<span
class="renderStart"
data-test-pane-footer-start="true"
/>
<span
data-test-pane-footer-end="true"
>
<button
class="button primary mega"
disabled=""
id="clickable-save-contact-person-footer"
type="submit"
>
<span
class="inner"
>
ui-organizations.settings.accountTypes.save.button
</span>
</button>
</span>
</div>
</div>
</section>
<div />
</div>
</body>
at Object.getElementError (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (/home/runner/work/ui-organizations/ui-organizations/src/Settings/BankingInformationSettings/BankingInformationSettingsForm.test.js:36:29)
at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)