chore: fix nightly build - Smart-cost test (#15043)
This commit is contained in:
parent
5e608fb656
commit
54fafd2281
2 changed files with 2 additions and 2 deletions
|
|
@ -40,5 +40,5 @@ tariffs:
|
|||
type: fixed
|
||||
price: 0.4 # EUR/kWh
|
||||
zones:
|
||||
- hours: 0-1
|
||||
- hours: 1-6
|
||||
price: 0.2
|
||||
|
|
|
|||
|
|
@ -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("/");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue