From fbceab707e418f983c41248483ef15c4558cad41 Mon Sep 17 00:00:00 2001 From: Felix Wiedenbach Date: Fri, 13 Sep 2019 13:54:55 +0200 Subject: [PATCH] draft for default weather forecast test cases --- tests/e2e/modules/weather_spec.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/e2e/modules/weather_spec.js b/tests/e2e/modules/weather_spec.js index 5eba03ad..3b9dcffd 100644 --- a/tests/e2e/modules/weather_spec.js +++ b/tests/e2e/modules/weather_spec.js @@ -171,4 +171,28 @@ describe("Weather module", function() { }); }); }); + + describe("Weather Forecast", function() { + let template; + + before(function() { + template = fs.readFileSync(path.join(__dirname, "..", "..", "..", "modules", "default", "weather", "forecast.njk"), "utf8"); + }); + + describe("Default configuration", function() { + before(function() { + process.env.MM_CONFIG_FILE = "tests/configs/modules/weather/forecastweather_default.js"; + }); + + it("should render days", function() {}); + + it("should render icon", function() {}); + + it("should render max temperature", function() {}); + + it("should render min temperature", function() {}); + + it("should render fading of rows", function() {}); + }); + }); });