Skip to content

Release to production #166

Release to production

Release to production #166

Triggered via pull request June 4, 2024 13:37
Status Failure
Total duration 59s
Artifacts

pr_check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
__tests__/components/RegionalView.test.tsx > RegionalView > changes view mode when toggle button is clicked: __tests__/components/RegionalView.test.tsx#L97
TestingLibraryElementError: Unable to find an element with the text: startPage:toggleView.map. 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="sc-aYaIB kOEuzS" > <div class="sc-gEvDqW hvnroR" > <div class="sc-kYxEyd cKDzDi" > <div aria-label="common:components.PillSwitch.label" class="sc-kbhIEe bXYAEW" > <a class="sc-iHmqaY blWdCF" href="/foretag/utslappen/lista" > common:companies </a> <a class="sc-iHmqaY lpuFhY" href="/geografiskt/utslappen/karta" > common:municipalities </a> <div class="sc-ehiymJ hpkGcp" /> </div> <h2 class="sc-iGgVNO gfhHtO" > startPage:regionalView.questionTitle </h2> <div class="sc-ggpkNl hqhWAq" > <button class="sc-cmaqZA QpPMN" > common:datasets.municipalityEmissions.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.budgets.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.plans.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.consumption.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.electricCars.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.chargers.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.bikes.name </button> <button class="sc-cmaqZA drrXna" > common:datasets.procurements.name </button> </div> <div class="sc-jaXxZZ kPAEaV" > <div class="sc-ibQzxG hGAOkG" > <h5 class="sc-jXbVAB sc-jGKwVr grqYXw bXnFxD" > common:datasets.municipalityEmissions.title </h5> <button class="sc-jnOFWn hUjrNm" > <p class="sc-dZodDb hyNZHP" > startPage:toggleView.list </p> <div class="sc-eZjPq eXUfmR" > svg </div> </button> </div> <div class="sc-guJBQA eYKTha" > <div class="sc-ddjGcj doWLiN" > common:datasets.municipalityEmissions.labels </div> <div class="sc-iMTngq jmEYsv" > <div id="deckgl-wrapper" style="position: absolute; z-index: 0; left: 0px; top: 0px; width: 100%; height: 100%;" > <canvas id="deckgl-overlay" style="left: 0px; top: 0px;" /> </div> </div> </div> <div class="sc-krNkEb hzMXyp" > <p class="sc-dhKdPU sc-iHGNiK NvehL dWGosN" > common:datasets.municipalityEmissions.body </p> <p class="sc-dhKdPU sc-hwdACo NvehL bskfPP" > common:datasets
Tests
Process completed with exit code 1.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/cancel-workflow-action@0.9.1, actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.9.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/cancel-workflow-action@0.9.1, actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.9.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/