Tests added from Eduardo de Valle to NoDataCard.test.tsx #213
Annotations
2 errors and 3 warnings
test/NoDataCard.test.tsx > NoDataCard Component > renders image on medium and larger screens:
test/NoDataCard.test.tsx#L23
TestingLibraryElementError: Unable to find an element with the alt text: No Data Image
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col items-center justify-center"
>
<img
alt="NoDataSVG"
class="hidden md:block"
height="70"
src="/NoData.svg"
width="100"
/>
<p
class="text-center text-sm font-medium text-grayText"
>
No data available
</p>
</div>
</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
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ test/NoDataCard.test.tsx:23:33
|
unit-test
Process completed with exit code 1.
|
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
e2e-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
e2e-test
Unexpected input(s) 'headless', valid inputs are ['record', 'auto-cancel-after-failures', 'config', 'config-file', 'env', 'browser', 'command', 'start', 'start-windows', 'build', 'install', 'install-command', 'runTests', 'wait-on', 'wait-on-timeout', 'parallel', 'group', 'tag', 'working-directory', 'headed', 'publish-summary', 'summary-title', 'spec', 'project', 'command-prefix', 'ci-build-id', 'cache-key', 'quiet', 'component']
|