buxxi
f25abfd2f8
Make the e2e tests wait for the app to start and close before running next test ( #2952 )
...
When trying to debug why the tests broke for
https://github.com/MichMich/MagicMirror/pull/2946 I found that the tests
does not wait for the app to start and close. So if the startup isn't
blocking that would fail.
So I added a callback for `close()` too and converted them to promises
for the `startApplication()` and `stopApplication()` and updated all the
e2e tests to await both. Will try to refactor all these callbacks to
promises in a later PR.
2022-10-29 22:34:17 +02:00
Veeck
a328ce537f
Cleanup test directory ( #2937 )
...
Moves files around and renames some so that the structure is cleaner and
more consistent
2022-10-07 12:16:37 -05:00
Karsten Hassel
f04d578704
improve tests ( #2923 )
...
use es6 syntax in all tests, split weather tests, remove callbacks
2022-10-04 10:15:24 +02:00
Karsten Hassel
0c1abad9df
fix calendar_test_recurring.ics and uncomment recurring tests
2022-09-21 21:01:43 +02:00
Karsten Hassel
fb96cc3c72
fix e2e tests not failing on errors, disable recurring-event-tests of calendar
2022-09-21 00:28:43 +02:00
Karsten Hassel
0023c64d59
use internal fetch function of node instead external node-fetch
library if node version >= v18
2022-05-27 19:46:28 +02:00
Karsten Hassel
2cfafe7bfe
improve waitForElement
2022-01-13 21:52:47 +01:00
Karsten Hassel
42b80b18f8
testing wait alternatives
2022-01-13 00:50:15 +01:00
Christopher Fenner
9e4997aa81
Merge branch 'develop' into patch-1
2022-01-12 20:39:09 +01:00
Karsten Hassel
8cb6015930
refactor tests
2022-01-10 23:27:53 +01:00
Christopher Fenner
8417590893
update test case
2022-01-09 11:10:00 +01:00
Karsten Hassel
5d8f2f5da1
iterate over timezones
2021-12-26 16:27:40 +01:00
Karsten Hassel
a954a62762
added test for calendar recurring event with checks the correct date displayed (related to #2752 )
2021-12-26 14:30:38 +01:00
Karsten Hassel
1d12e57606
move calendar tests from category electron
to e2e
2021-10-04 23:04:28 +02:00
Karsten Hassel
974de179e0
refactor tests in 3 categories unit, e2e and electron
2021-09-13 23:07:34 +02:00
karsten13
1a244726aa
run prettier
2021-06-11 22:24:21 +02:00
Karsten Hassel
65a8cb9ddb
remove unused references
2021-06-11 00:32:54 +02:00
Karsten Hassel
0e14d3d6e8
snapshot e2e
2021-06-09 00:19:43 +02:00
Karsten Hassel
67011c0c32
snapshot e2e
2021-06-08 00:47:40 +02:00
rejas
bdfd6e5e9f
Fix calendar test
2021-05-19 11:12:56 +02:00
rejas
a6879e853b
Fix tests
2021-05-19 11:12:42 +02:00
rejas
87d543eb3a
Finish test case
2021-05-02 15:07:02 +02:00
rejas
40c1521591
Add test data
2021-05-02 14:55:45 +02:00
rejas
5e6cbeb9ba
Convert some code to es6
2021-03-14 10:40:14 +01:00
rejas
bdc4ed4d86
Add specific change-port test and fix the others
2021-02-12 08:45:54 +01:00
rejas
50f3f32ba8
Add tests for custom icons
2020-07-19 11:54:03 +02:00
rejas
8fa858ca8c
Cleanup test descriptions
2020-07-18 22:16:44 +02:00
rejas
8b1d1671f7
Add test for changing the calendar symbol
2020-07-18 21:10:36 +02:00
rejas
a391445e5f
Add test setup for custom calendar configuration
2020-07-18 13:58:05 +02:00
Veeck
abb5dc5739
Run prettier over ALL files once
...
No other changes done in this commit
2020-05-11 22:22:32 +02:00
rejas
8f1a212b52
More typo fixes
2019-06-05 09:46:59 +02:00
rejas
702b98f510
Cleanup imports
2019-06-04 10:43:06 +02:00
Rodrigo Ramírez Norambuena
b80454a1f4
Added log text DEPRECATED for old method of authentication
2017-07-31 17:18:34 -04:00
Bas van Wetten
203e1cc9b9
Implemented requested change PR #2
...
Moved tests/e2e_new to tests/e2e folder
2017-07-24 22:08:12 +02:00
Rodrigo Ramírez Norambuena
6802873cd1
Add test module calendar fail basic auth
2017-03-10 16:50:25 -03:00
Rodrigo Ramírez Norambuena
b129fe908c
Test check backward backward compatibility authentication method basic
...
on calendar module
Fix travis basic-auth server
2017-03-10 04:47:57 -03:00
Rodrigo Ramírez Norambuena
f5c57e84c7
Add test calendar without auth method. Should be set by default basic.
2017-03-10 04:36:09 -03:00
Rodrigo Ramírez Norambuena
ceb4ef2642
Add test basic-auth
2017-03-10 04:33:27 -03:00
Rodrigo Ramírez Norambuena
1c235aa761
Add test default calendar
2017-03-10 04:31:26 -03:00