Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
veeck committed Oct 17, 2022
1 parent b51e086 commit 9281fc7
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 1,523 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/modules/weather_current_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("Weather module", () => {
it("should render showWindDirectionAsArrow = true", async () => {
const elem = await helpers.waitForElement(".weather .normal.medium sup i.fa-long-arrow-alt-up");
expect(elem).not.toBe(null);
expect(elem.outerHTML).toContain("transform:rotate(250deg);");
expect(elem.outerHTML).toContain("transform:rotate(240deg);");
});

it("should render showHumidity = true", async () => {
Expand All @@ -85,7 +85,7 @@ describe("Weather module", () => {
});

it("should render degreeLabel = true for feels like", async () => {
await weatherFunc.getText(".weather .normal.medium.feelslike span.dimmed", "Feels like -6°C");
await weatherFunc.getText(".weather .normal.medium.feelslike span.dimmed", "Feels like 11°C");
});
});

Expand Down
Loading

0 comments on commit 9281fc7

Please sign in to comment.