010 gas price lookup #51
Annotations
2 errors and 1 warning
|
Verify
Process completed with exit code 1.
|
|
src/pages/HistoryPage.test.tsx > HistoryPage > should refresh gas price on date change in edit mode when lookup is available:
src/BikeTracking.Frontend/src/pages/HistoryPage.test.tsx#L427
TestingLibraryElementError: Unable to find an element with the text: Source: U.S. Energy Information Administration (EIA). 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>
<main
class="history-page"
>
<header
class="history-page-header"
>
<h1>
Ride History
</h1>
</header>
<section
aria-label="Date range filters"
class="history-page-filters"
>
<div
class="history-page-filter-field"
>
<label
for="history-from-date"
>
From
</label>
<input
id="history-from-date"
type="date"
value=""
/>
</div>
<div
class="history-page-filter-field"
>
<label
for="history-to-date"
>
To
</label>
<input
id="history-to-date"
type="date"
value=""
/>
</div>
<div
class="history-page-filter-actions"
>
<button
type="button"
>
Apply Filter
</button>
<button
class="history-page-clear-button"
disabled=""
type="button"
>
Clear Filter
</button>
</div>
</section>
<section
aria-label="Ride summaries"
class="history-page-summaries"
>
<article
aria-label="This Month summary"
class="mileage-summary-card"
>
<div
class="mileage-summary-header"
>
<span
aria-hidden="true"
class="mileage-summary-indicator mileage-summary-indicator-this-month"
/>
<h2>
This Month
</h2>
</div>
<p
class="mileage-summary-miles"
>
5.0 mi
</p>
<p
class="mileage-summary-count"
>
1 ride
</p>
</article>
<article
aria-label="This Year summary"
class="mileage-summary-card"
>
<div
class="mileage-summary-header"
>
<span
aria-hidden="true"
class="mileage-summary-indicator mileage-summary-indicator-this-year"
/>
<h2>
This Year
</h2>
</div>
<p
class="mileage-summary-miles"
>
5.0 mi
</p>
<p
class="mileage-summary-count"
>
1 ride
</p>
</article>
<article
aria-label="All Time summary"
class="mileage-summary-card"
>
<div
class="mileage-summary-header"
>
<span
aria-hidden="true"
class="mileage-summary-indicator mileage-summary-indicator-all-time"
/>
<h2>
All Time
</h2>
</div>
<p
class="mileage-summary-miles"
>
5.0 mi
</p>
<p
class="mileage-summary-count"
>
1 ride
</p>
</article>
</section>
<section
aria-label="Visible total miles"
class="history-page-total"
>
<h2>
Total Miles (Visible)
</h2>
<p>
5.0 mi
</p>
</section>
<section
aria-label="Ride history grid"
class="history-page-grid"
>
<table
aria-label="Ride history table"
class="history-page-table"
>
<thead>
<tr>
<th
scope="col"
>
Dateddddd
|
|
Verify:
src/BikeTracking.Api.Tests/Endpoints/RidesEndpointsTests.cs#L631
Parameter 'WebApplication app' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
|