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
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
f750436b64
update module clock_es
2021-09-26 22:09:41 +02:00
Karsten Hassel
974de179e0
refactor tests in 3 categories unit, e2e and electron
2021-09-13 23:07:34 +02:00
rejas
53720ae8ae
Fix some eslint issues in the tests
2021-07-14 10:41:29 +02:00
Karsten Hassel
e3a5bbf661
use expect where missing
2021-06-14 21:07:38 +02:00
Karsten Hassel
ee23c5f72c
update clock tests, remove testSequencer
2021-06-14 19:21:21 +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
ef2ff50089
Use es6 notation in clock module
2021-04-17 16:29:38 +02:00
Karsten Hassel
7ba76020d8
fix e2e tests after spectron update
2021-02-07 00:20:30 +01:00
Karsten Hassel
059b87bbb4
bump electron to v11
2021-01-30 21:58:49 +01: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
702b98f510
Cleanup imports
2019-06-04 10:43:06 +02:00
Rodrigo Ramírez Norambuena
d34b493b7d
Fix clock_es_spec running before the clock_spec
2017-08-05 22:30:38 -04:00
Rodrigo Ramírez Norambuena
00e3ef757c
Merge remote-tracking branch 'roramirez_github/develop' into showWeek-test-es-language
2017-07-25 10:53:50 -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
947c2e556d
Add test e2e showWeek feature in spanish language.
2017-04-09 15:32:15 -03:00
Rodrigo Ramírez Norambuena
3773d40201
Refactoring some e2e tests. Now is use a global-setup instead of
...
repeat repeat code to setup tests enviroment.
2017-02-19 21:06:38 -03:00
Rodrigo Ramírez Norambuena
e62df3b3b1
Increment timeout e2e test to 20000 ms
2017-02-12 15:42:00 -03:00
Chris van Marle
5fc16bdbfb
Fix sabado in clock_es_spec.js test
...
Fixes #712
2017-02-11 13:41:00 +01:00
Rodrigo Ramírez Norambuena
c6f5c120ba
add tests clock module variant language es
2017-02-01 14:12:27 -03:00