You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAIL electron tests/electron/modules/calendar_spec.js (32.671 s)
Calendar module
Test css classes
✓ has css class dayBeforeYesterday (2646 ms)
✓ has css class yesterday (2981 ms)
✓ has css class today (2666 ms)
✓ has css class tomorrow (2650 ms)
✓ has css class dayAfterTomorrow (2710 ms)
rrule
✕ Issue #3393 recurrence dates past rrule until date (2669 ms)
Exdate: LA crossover DST before midnight GMT
✕ LA crossover DST before midnight GMT should have 2 events (2669 ms)
Exdate: LA crossover DST at midnight GMT local STD
✕ LA crossover DST before midnight GMT should have 2 events (2709 ms)
Exdate: LA crossover DST at midnight GMT local DST
✕ LA crossover DST before midnight GMT should have 2 events (2670 ms)
Exdate: SYD crossover DST before midnight GMT
✕ LA crossover DST before midnight GMT should have 2 events (2822 ms)
Exdate: SYD crossover DST at midnight GMT local STD
✕ LA crossover DST before midnight GMT should have 2 events (2699 ms)
Exdate: SYD crossover DST at midnight GMT local DST
✕ SYD crossover DST at midnight GMT local DST should have 2 events (2648 ms)
● Calendar module › rrule › Issue #3393 recurrence dates past rrule until date
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 2
58 |expect(elem).not.toBeNull();
59 | const cnt = await loc.count();
> 60 | expect(cnt).toBe(1);| ^
61 | });
62 | });
63 |
at Object.toBe (tests/electron/modules/calendar_spec.js:60:16)
● Calendar module › Exdate: LA crossover DST before midnight GMT › LA crossover DST before midnight GMT should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 3
81 |expect(elem).not.toBeNull();
82 | const cnt = await loc.count();
> 83 | expect(cnt).toBe(2);| ^
84 | });
85 | });
86 |
at Object.toBe (tests/electron/modules/calendar_spec.js:83:16)
● Calendar module › Exdate: LA crossover DST at midnight GMT local STD › LA crossover DST before midnight GMT should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 4
94 |expect(elem).not.toBeNull();
95 | const cnt = await loc.count();
> 96 | expect(cnt).toBe(2);| ^
97 | });
98 | });
99 | describe("Exdate: LA crossover DST at midnight GMT local DST", () => {
at Object.toBe (tests/electron/modules/calendar_spec.js:96:16)
● Calendar module › Exdate: LA crossover DST at midnight GMT local DST › LA crossover DST before midnight GMT should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 5
106 |expect(elem).not.toBeNull();
107 | const cnt = await loc.count();
> 108 | expect(cnt).toBe(2);| ^
109 | });
110 | });
111 |
at Object.toBe (tests/electron/modules/calendar_spec.js:108:16)
● Calendar module › Exdate: SYD crossover DST before midnight GMT › LA crossover DST before midnight GMT should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 5
129 |expect(elem).not.toBeNull();
130 | const cnt = await loc.count();
> 131 | expect(cnt).toBe(2);| ^
132 | });
133 | });
134 | describe("Exdate: SYD crossover DST at midnight GMT local STD", () => {
at Object.toBe (tests/electron/modules/calendar_spec.js:131:16)
● Calendar module › Exdate: SYD crossover DST at midnight GMT local STD › LA crossover DST before midnight GMT should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 4
141 |expect(elem).not.toBeNull();
142 | const cnt = await loc.count();
> 143 | expect(cnt).toBe(2);| ^
144 | });
145 | });
146 | describe("Exdate: SYD crossover DST at midnight GMT local DST", () => {
at Object.toBe (tests/electron/modules/calendar_spec.js:143:16)
● Calendar module › Exdate: SYD crossover DST at midnight GMT local DST › SYD crossover DST at midnight GMT local DST should have 2 events
expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 3
153 |expect(elem).not.toBeNull();
154 | const cnt = await loc.count();
> 155 | expect(cnt).toBe(2);| ^
156 | });
157 | });
158 | });
at Object.toBe (tests/electron/modules/calendar_spec.js:155:16)
e2e tests:
FAIL e2e tests/e2e/modules/calendar_spec.js (116.9 s)
Calendar module
Default configuration
✓ should show the default maximumEntries of 10 (1317 ms)
✓ should show the default calendar symbol in each event (202 ms)
Custom configuration
✓ should show the custom maximumEntries of 5 (1312 ms)
✕ should show the custom calendar symbol in four events (207 ms)
✕ should show a customEvent calendar symbol in one event (19991 ms)
✕ should show a customEvent calendar eventClass in one event (20007 ms)
✕ should show two custom icons for repeating events (205 ms)
✓ should show two custom icons for day events (202 ms)
Recurring event
✓ should show the recurring birthday event 6 times (1329 ms)
Events from multiple calendars
✓ should show multiple events with the same title and start time from different calendars (1326 ms)
FullDayEvent over several days should show how many days are left from the from the starting date on
✓ should contain text 'Ends in' with the left days (1726 ms)
✓ should contain in total three events (201 ms)
FullDayEvent Single day, should show Today
✓ should contain text 'Today' (1240 ms)
✓ should contain in total two events (201 ms)
Recurring event per timezone
✓ should contain text "Mar 25th"in timezone UTC 12 (1264 ms)
✓ should contain text "Mar 25th"in timezone UTC 11 (1309 ms)
✓ should contain text "Mar 25th"in timezone UTC 10 (1243 ms)
✓ should contain text "Mar 25th"in timezone UTC 9 (1316 ms)
✓ should contain text "Mar 25th"in timezone UTC 8 (1302 ms)
✓ should contain text "Mar 25th"in timezone UTC 7 (1326 ms)
✓ should contain text "Mar 25th"in timezone UTC 6 (1323 ms)
✓ should contain text "Mar 25th"in timezone UTC 5 (1308 ms)
✓ should contain text "Mar 25th"in timezone UTC 4 (1325 ms)
✓ should contain text "Mar 25th"in timezone UTC 3 (1341 ms)
✓ should contain text "Mar 25th"in timezone UTC 2 (1358 ms)
✓ should contain text "Mar 25th"in timezone UTC 1 (1870 ms)
✓ should contain text "Mar 25th"in timezone UTC 0 (2519 ms)
✓ should contain text "Mar 25th"in timezone UTC -1 (1337 ms)
✓ should contain text "Mar 25th"in timezone UTC -2 (1305 ms)
✓ should contain text "Mar 25th"in timezone UTC -3 (1331 ms)
✓ should contain text "Mar 25th"in timezone UTC -4 (1348 ms)
✓ should contain text "Mar 25th"in timezone UTC -5 (1300 ms)
✓ should contain text "Mar 25th"in timezone UTC -6 (1273 ms)
✓ should contain text "Mar 25th"in timezone UTC -7 (1280 ms)
✓ should contain text "Mar 25th"in timezone UTC -8 (1485 ms)
✓ should contain text "Mar 25th"in timezone UTC -9 (1362 ms)
✓ should contain text "Mar 25th"in timezone UTC -10 (1345 ms)
✓ should contain text "Mar 25th"in timezone UTC -11 (1364 ms)
Changed port
✓ should return TestEvents (1300 ms)
Basic auth
✓ should return TestEvents (1374 ms)
Basic auth by default
✓ should return TestEvents (1280 ms)
Basic auth backward compatibility configuration: DEPRECATED
✓ should return TestEvents (1328 ms)
Fail Basic auth
✓ should show Unauthorized error (1318 ms)
● Calendar module › Custom configuration › should show the custom calendar symbol in four events
expect(received).resolves.toBe()
Received promise rejected instead of resolved
Rejected to value: [Error: expect(received).toHaveLength(expected)·
Expected length: 4
Received length: 5
Received object: [<span class="fas fa-fw fa-birthday-cake" />, <span class="fas fa-fw fa-birthday-cake" style="padding-left: 5px;" />, <span class="fas fa-fw fa-birthday-cake" style="padding-left: 5px;" />, <span class="fas fa-fw fa-birthday-cake" style="padding-left: 5px;" />, <span class="fas fa-fw fa-birthday-cake" style="padding-left: 5px;" />]]
58 |
59 | it("should show the custom calendar symbol in four events", async () => {
> 60 | await expect(testElementLength(".calendar .event .fa-birthday-cake", 4)).resolves.toBe(true);| ^
61 | });
62 |
63 | it("should show a customEvent calendar symbol in one event", async () => {
at expect (node_modules/expect/build/index.js:113:15)
at Object.expect (tests/e2e/modules/calendar_spec.js:60:10)
● Calendar module › Custom configuration › should show a customEvent calendar symbol in one event
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
61 | });
62 |> 63 | it("should show a customEvent calendar symbol in one event", async () => {
| ^
64 | await expect(testElementLength(".calendar .event .fa-dice", 1)).resolves.toBe(true);
65 | });
66 |
at it (tests/e2e/modules/calendar_spec.js:63:3)
at describe (tests/e2e/modules/calendar_spec.js:49:2)
at Object.describe (tests/e2e/modules/calendar_spec.js:4:1)
● Calendar module › Custom configuration › should show a customEvent calendar eventClass in one event
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
65 | });
66 |> 67 | it("should show a customEvent calendar eventClass in one event", async () => {
| ^
68 | await expect(testElementLength(".calendar .event.undo", 1)).resolves.toBe(true);
69 | });
70 |
at it (tests/e2e/modules/calendar_spec.js:67:3)
at describe (tests/e2e/modules/calendar_spec.js:49:2)
at Object.describe (tests/e2e/modules/calendar_spec.js:4:1)
● Calendar module › Custom configuration › should show two custom icons for repeating events
expect(received).resolves.toBe()
Received promise rejected instead of resolved
Rejected to value: [Error: expect(received).toHaveLength(expected)·
Expected length: 2
Received length: 3
Received object: [<span class="fas fa-fw fa-undo" />, <span class="fas fa-fw fa-undo" />, <span class="fas fa-fw fa-undo" style="padding-left: 5px;" />]]
70 |
71 | it("should show two custom icons for repeating events", async () => {
> 72 | await expect(testElementLength(".calendar .event .fa-undo", 2)).resolves.toBe(true);| ^
73 | });
74 |
75 | it("should show two custom icons for day events", async () => {
at expect (node_modules/expect/build/index.js:113:15)
at Object.expect (tests/e2e/modules/calendar_spec.js:72:10)
The text was updated successfully, but these errors were encountered:
electron tests:
e2e tests:
The text was updated successfully, but these errors were encountered: