Commit graph

38 commits

Author SHA1 Message Date
Bruno Windels
cf397efed5 disable LL tests on travis CI 2018-09-18 16:50:33 +02:00
Bruno Windels
5e8a3db985
Merge pull request #16 from matrix-org/bwindels/lltests
Test timeline messages have correct display name with lazy loading
2018-09-14 14:49:32 +02:00
Bruno Windels
c8fec947e4 structure flags better and document them 2018-09-12 17:27:51 +02:00
Bruno Windels
3db32c93d4 past rest creator to scenario to also be able to call createSessionRange 2018-09-11 18:32:18 +02:00
Bruno Windels
4a4b1f65aa wait for the message to be sent 2018-09-11 18:28:50 +02:00
Bruno Windels
40577109c2 Merge branch 'master' into bwindels/lltests 2018-09-11 17:21:30 +02:00
Bruno Windels
48d95c228a creator instead of factory, as it does registration and authentication 2018-09-11 15:02:02 +02:00
Bruno Windels
afc678fea0 pass rest session creator to scenario 2018-09-11 14:46:25 +02:00
Bruno Windels
2321e43fd8 commander inverts the meaning of program args by itself ... nice, I guess 2018-08-23 10:04:37 +02:00
Bruno Windels
0e56250bc2 didnt mean to commit this 2018-08-15 12:21:08 +02:00
Bruno Windels
8507cf8258 add argument for passing riot server, makes local testing easier 2018-08-15 11:26:46 +02:00
Bruno Windels
377a20fffa bring indentation in line with other front-end projects 2018-08-14 12:53:16 +02:00
Bruno Windels
2c983f8cee fix composer issue and more 2018-08-09 14:23:09 +02:00
Bruno Windels
af0c0c0afe add test scenario for e2e encryption 2018-08-08 18:30:48 +02:00
Bruno Windels
a78c095cf6 add support for changing the room settings 2018-08-08 11:45:26 +02:00
Bruno Windels
4e7df2126b move step logging to tests, DRY; put test scenario in separate file, less globals 2018-08-07 17:58:58 +02:00
Bruno Windels
5fe3861190 create second user and join room first user creates 2018-08-07 17:23:01 +02:00
Bruno Windels
4c0ab117bf move outputting steps to session to scope it to username 2018-08-07 17:16:27 +02:00
Bruno Windels
6b843eacfc move log buffers into session, start logging implicitely 2018-08-07 17:09:43 +02:00
Bruno Windels
7c91ecab7e create session object to scope a user, move helper methods there 2018-08-07 16:45:34 +02:00
Bruno Windels
3876577218 log when using external chrome! 2018-07-31 14:48:05 +02:00
Bruno Windels
a5c8911445 output document html on error and dont make a screenshot on submit 2018-07-31 11:48:54 +02:00
Bruno Windels
5129bb57b6 log all requests with their response code 2018-07-31 10:35:21 +02:00
Bruno Windels
5cd52e2ebd show browser logs on error 2018-07-31 10:35:21 +02:00
Bruno Windels
976f041bba remove test exit, and use port we are semi-sure is free 2018-07-31 10:35:21 +02:00
Bruno Windels
e8f626ba18 exit on error 2018-07-31 10:35:21 +02:00
Bruno Windels
edf37e3592 add support for passing chrome path as env var 2018-07-31 10:35:21 +02:00
Bruno Windels
a6304ce83e now the output isn't overwhelming anymore, output what's happening at every step 2018-07-27 13:43:12 +02:00
Bruno Windels
1643b9552e test default server setup for signup 2018-07-23 11:20:07 +02:00
Bruno Windels
5934bebafb change test user name 2018-07-23 10:36:03 +02:00
Bruno Windels
515e34cfde turn headless back on 2018-07-20 18:59:45 +02:00
Bruno Windels
a74a753a05 working consent test by accepting server notices invite and clicking on link, also create room 2018-07-20 18:51:25 +02:00
Bruno Windels
9a2d32e642 accept terms when joining 2018-07-10 19:26:47 +02:00
Bruno Windels
9c5e43a693 cleanup 2018-07-09 18:40:25 +02:00
Bruno Windels
d4682eb5e6 apply code style 2018-07-09 18:35:47 +02:00
Bruno Windels
400327a0f1 add test for joining preexisting room 2018-07-09 18:21:05 +02:00
Bruno Windels
5c4f92952f move tests to separate file 2018-07-09 17:51:02 +02:00
Bruno Windels
b76c3a1842 don't use jest and just run test code sequentially
since a lot of tests will be interdepent and need to happen in order,
it seems easier to not use a test runner enforcing tests to be semi-independent
and instead just run the code and have some logging code to see where
a problem occurs
2018-07-09 17:43:21 +02:00