diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ab200cd..f83c2e12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ _This release is scheduled to be released on 2022-01-01._ ### Added +- Added test for calendar recurring event with checks the correct date displayed (related to #2752). + ### Updated - ESLint version supports now ECMAScript 2018 diff --git a/tests/e2e/modules/calendar_spec.js b/tests/e2e/modules/calendar_spec.js index 4ccd3e08..a2b5fdfc 100644 --- a/tests/e2e/modules/calendar_spec.js +++ b/tests/e2e/modules/calendar_spec.js @@ -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 () {