it should render custom table class

This commit is contained in:
Felix Wiedenbach
2019-09-13 16:21:12 +02:00
parent 9430c70d0d
commit a774718607
2 changed files with 53 additions and 0 deletions

View File

@@ -242,5 +242,18 @@ describe("Weather module", function() {
}
});
});
describe("Configuration Options", function() {
before(function() {
process.env.MM_CONFIG_FILE = "tests/configs/modules/weather/forecastweather_options.js";
});
it("should render custom table class", async function() {
const weather = generateWeatherForecast();
await setup([weather, template]);
await app.client.waitForExist(`.weather table.myTableClass`, 10000);
});
});
});
});