diff --git a/tests/e2e/modules/weather_spec.js b/tests/e2e/modules/weather_spec.js index abe4e3a0..be7a46e6 100644 --- a/tests/e2e/modules/weather_spec.js +++ b/tests/e2e/modules/weather_spec.js @@ -254,6 +254,17 @@ describe("Weather module", function() { await app.client.waitForExist(`.weather table.myTableClass`, 10000); }); + + it("should render colored rows", async function() { + const weather = generateWeatherForecast(); + await setup([weather, template]); + + await app.client.waitForExist(`.weather table.myTableClass`, 10000); + + const rows = await app.client.$$('.weather table.myTableClass tr.colored'); + + expect(rows.length).to.be.equal(5); + }); }); }); });