Add max width to submit button. (#423) #1982
Annotations
2 errors and 1 warning
src/components/departure-time/__tests__/departure-time.test.tsx > departure time component > should show relative time if activated, and difference between realtime and aimed for delay 7:
src/components/departure-time/__tests__/departure-time.test.tsx#L152
TestingLibraryElementError: Unable to find a label with the text of: Rutetid Nå
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_significantDifferenceContainer_8ab84f"
>
<div
class="_significantDifference_8ab84f"
>
<p
aria-label="Sanntid 7 min"
class="typo-body__primary _timeContainer_8ab84f"
>
7 min
</p>
</div>
<p
aria-label="Rutetid 13:15"
class="typo-body__tertiary--strike"
color="secondary"
>
13:15
</p>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ getByLabelText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/departure-time/__tests__/departure-time.test.tsx:152:21
|
Test
Process completed with exit code 1.
|
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|