* fix naming and type errors #653
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Jest Unit Test Results
failed
Oct 17, 2023 in 0s
1 fail, 246 pass in 2m 18s
Annotations
github-actions / Jest Unit Test Results
AlternativeNamesFieldArray render with empty initial values clicking the add button renders the alternative names field (AlternativeNamesFieldArray render with empty initial values clicking the add button renders the alternative names field) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: AlternativeNamesField. 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>
<form>
<div>
<div
class="headline--- size-medium--- margin-medium--- font-weight-bold---"
data-test-headline="true"
>
Alternative names
</div>
<div
data-test-alternative-names-field-array="true"
id="alternative-names-form"
/>
<button
class="button--- default---"
data-test-alternative-names-field-array-add-button="true"
id="add-alternative-name-button"
type="button"
>
<span
class="inner---"
>
Add alternative name
</span>
</button>
</div>
<button
class="button--- default---"
data-testid="submit"
id="submit"
type="submit"
>
<span
class="inner---"
>
Submit
</span>
</button>
</form>
<div
id="OverlayContainer"
>
<div
class="callout---"
data-test-callout="true"
>
<div
aria-live="polite"
aria-relevant="additions"
class="calloutContainer---"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/stripes-erm-components/stripes-erm-components/lib/AlternativeNamesFieldArray/AlternativeNamesFieldArray.test.js:78:14)
Loading