Reverted changes to test case for calendar

This commit is contained in:
Johan Alvinger 2020-11-25 23:31:26 +01:00
parent 3c5d50bce9
commit f288581c69

View File

@ -51,11 +51,11 @@ describe("Calendar module", function () {
process.env.MM_CONFIG_FILE = "tests/configs/modules/calendar/custom.js";
});
// it("should show the custom maximumEntries of 4", async () => {
// await app.client.waitUntilTextExists(".calendar", "TestEvent", 10000);
// const events = await app.client.$$(".calendar .event");
// return expect(events.length).equals(4);
// });
it("should show the custom maximumEntries of 4", async () => {
await app.client.waitUntilTextExists(".calendar", "TestEvent", 10000);
const events = await app.client.$$(".calendar .event");
return expect(events.length).equals(4);
});
it("should show the custom calendar symbol in each event", async () => {
await app.client.waitUntilTextExists(".calendar", "TestEvent", 10000);