Skip to content

Commit

Permalink
chore: fix nightly build - Smart-cost test (evcc-io#15043)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneNulschDE authored Jul 25, 2024
1 parent 5e608fb commit 54fafd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/smart-cost-only.evcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ tariffs:
type: fixed
price: 0.4 # EUR/kWh
zones:
- hours: 0-1
- hours: 1-6
price: 0.2
2 changes: 1 addition & 1 deletion tests/smart-cost.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test.describe("smart cost limit", async () => {
await page.getByTestId("loadpoint-settings-modal").getByLabel("Close").click();
await expect(page.getByTestId("loadpoint-settings-modal")).not.toBeVisible();
await expect(page.getByTestId("vehicle-status-charger")).toHaveText("Charging…");
await expect(page.getByTestId("vehicle-status-smartcost")).toHaveText("40.0 ct ≤ 40.0 ct");
await expect(page.getByTestId("vehicle-status-smartcost")).toHaveText(/[24]0\.0 ct 40\.0 ct/);
});
test("price above limit", async ({ page }) => {
await page.goto("/");
Expand Down

0 comments on commit 54fafd2

Please sign in to comment.