Fix edit button verbage #156
Annotations
3 errors
|
validate
Process completed with exit code 1.
|
|
src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx > TaskCompletionStep > shows Edit button if allowedProgressions includes 1:
src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx#L38
TestingLibraryElementError: Unable to find an element with the text: Open Editor. 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>
<div
class="mr-items-center mr-justify-center"
>
<div
class="breadcrumb mr-w-full mr-flex mr-flex-wrap mr-m-auto mr-items-center"
>
<div
class="mr-mt-2"
>
<button
class="mr-button mr-button--blue-fill mr-mb-2 mr-mr-2"
style="min-width: 10rem;"
>
I fixed it!
</button>
</div>
</div>
</div>
<div
id="external-root"
/>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ getByText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx:38:18
|
|
src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx > TaskCompletionStep > renders task completion step 1 with required props:
src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx#L18
TestingLibraryElementError: Unable to find an element with the text: Open Editor. 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>
<div
class="mr-items-center mr-justify-center"
>
<div
class="breadcrumb mr-w-full mr-flex mr-flex-wrap mr-m-auto mr-items-center"
>
<div
class="mr-mt-2"
/>
</div>
</div>
<div
id="external-root"
/>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ getByText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/TaskPane/ActiveTaskDetails/ActiveTaskControls/TaskCompletionStep/TaskCompletionStep.test.jsx:18:18
|