mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
it should render colored rows
This commit is contained in:
parent
a774718607
commit
c630c387d6
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user