Skip to content

feat: add link to travel guarantee page (#409) #1935

feat: add link to travel guarantee page (#409)

feat: add link to travel guarantee page (#409) #1935

Triggered via push October 28, 2024 11:42
Status Failure
Total duration 1m 5s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

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 5: 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 5 min" class="typo-body__primary _timeContainer_8ab84f" > 5 min </p> </div> <p aria-label="Rutetid 12:43" class="typo-body__tertiary--strike" color="secondary" > 12:43 </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/