mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
added test for calendar recurring event with checks the correct date displayed (related to #2752)
This commit is contained in:
@@ -68,6 +68,12 @@ describe("Calendar module", function () {
|
||||
it("should show the recurring birthday event 6 times", () => {
|
||||
testElementLength(".calendar .event", 6);
|
||||
});
|
||||
|
||||
it('should contain text "Mar 25th"', () => {
|
||||
const elem = document.querySelector(".calendar");
|
||||
expect(elem).not.toBe(null);
|
||||
expect(elem.textContent).toContain("Mar 25th");
|
||||
});
|
||||
});
|
||||
|
||||
describe("Changed port", function () {
|
||||
|
Reference in New Issue
Block a user