Deploy to production #155
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.list. 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 dAnPPc"
>
<div
class="sc-gEvDqW hvnroR"
>
<div
class="sc-gfopwy kMdwjQ"
>
<div
aria-label="common:components.PillSwitch.label"
class="sc-kYxEyd kohxPc"
>
<a
class="sc-eyvHYj kZNtGP"
href="/foretag/utslappen/lista"
>
common:companies
</a>
<a
class="sc-eyvHYj kZNtGP"
href="/geografiskt/utslappen/karta"
>
common:municipalities
</a>
<div
class="sc-bpUCxw bpHulF"
/>
</div>
<h2
class="sc-iGgVNO bCfePM"
>
startPage:regionalView.questionTitle
</h2>
<div
class="sc-brPMkR fpCxwk"
>
<button
class="sc-iMWBWc hpHGXN"
>
common:datasets.municipalityEmissions.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.budgets.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.plans.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.consumption.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.electricCars.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.chargers.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.bikes.name
</button>
<button
class="sc-iMWBWc lncmXN"
>
common:datasets.procurements.name
</button>
</div>
<div
class="sc-guJBQA iOUGpc"
>
<div
class="sc-hZDzol jqxScW"
>
<h5
class="sc-dhKdPU sc-fTFkHh fEBSzt kilsqf"
>
common:datasets.municipalityEmissions.title
</h5>
<button
class="sc-cmaqZA iKktyq"
>
<p
class="sc-kAkozD bxAlkQ"
>
startPage:toggleView.map
</p>
<div
class="sc-gFVuLS kAMfBy"
>
svg
</div>
</button>
</div>
<div
class="sc-ktJcvw fNjmVp"
>
<table
class="sc-klVQSN jRUqRN"
>
<thead>
<tr>
<th
class="sc-ddjGcj udjXU"
colspan="1"
>
<span
class="sc-dSCuSI bDUcrl"
data-sorting="asc"
>
startPage:regionalView.ranking
svg
</span>
</th>
<th
class="sc-ddjGcj udjXU"
colspan="1"
>
<span
class="sc-dSCuSI bDUcrl"
data-sorting="false"
>
common:municipality
</span>
</th>
<th
class="sc-ddjGcj udjX
|
Tests
Process completed with exit code 1.
|
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/
|
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/
|