Commit graph

111 commits

Author SHA1 Message Date
Bruno Windels
dcf96e1461 WIP for LL test 2018-09-11 18:32:32 +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
abc7c4c3ac join use cases that touch settings in one file, as selectors are similar 2018-09-11 18:30:57 +02:00
Bruno Windels
ff20bc783d support joining with a room alias for rest session 2018-09-11 18:30:17 +02:00
Bruno Windels
2be413ba6d allow clients to send messages faster, in order to speed up the test 2018-09-11 18:29:52 +02:00
Bruno Windels
be4c1cb899 support setting the room alias 2018-09-11 18:29:05 +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
827e6365bb add wrapper around multiple rest sessions 2018-09-11 16:18:27 +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
3c5e73d644 support setting the display name on rest session 2018-09-11 14:54:14 +02:00
Bruno Windels
afc678fea0 pass rest session creator to scenario 2018-09-11 14:46:25 +02:00
Bruno Windels
98aafd6abb add rest/non-browser session, which we can create a lot more off 2018-09-11 14:40:16 +02:00
David Baker
3e8b55b41e
Merge pull request #12 from matrix-org/bwindels/fixbuild
Attempt to fix the build
2018-08-23 12:08:34 +01: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
a65d6af8c5 encryption dialogs dont always appear coming back from settings... weird 2018-08-23 10:04:06 +02:00
Bruno Windels
6be5975050 dont assume new target is a new page 2018-08-23 10:03:37 +02:00
Bruno Windels
f49b85897d remove specific timeout for selectors
as these are not hard sleeps, but timeouts, its better to put them
a bit larger, as in the best case they'll return quickly anyway
and in the worst case where they need a lot of time it's still better
if the tests don't fail
2018-08-23 00:29:24 +02:00
Bruno Windels
fd67ace078 increase timeouts so the tests dont timeout on build server 2018-08-23 00:27:30 +02:00
David Baker
1e0baa823d
Merge pull request #9 from matrix-org/bwindels/commander
Add --riot-url option to run test against local dev server
2018-08-17 11:42:03 +01:00
Bruno Windels
c49f1b33fb
Merge pull request #11 from matrix-org/bwindels/increasetimeout2
increase receive message timeout
2018-08-15 15:17:42 +02:00
Bruno Windels
440b1032d5 increase receive message timeout 2018-08-15 15:17:11 +02:00
Bruno Windels
26e4645a01
Merge pull request #10 from matrix-org/bwindels/increasetimeout
Try to fix test running under travis by increasing timeout
2018-08-15 15:06:23 +02:00
Bruno Windels
4f76ad83d5 increase timeout 2018-08-15 15:05:46 +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
David Baker
956688237a
Merge pull request #8 from matrix-org/bwindels/indentation
bring indentation in line with other front-end projects
2018-08-14 14:02:41 +01:00
Bruno Windels
377a20fffa bring indentation in line with other front-end projects 2018-08-14 12:53:16 +02:00
Bruno Windels
a54f13cd68
Merge pull request #6 from matrix-org/bwindels/e2erooms
Tests for creating and writing in a e2e encrypted room
2018-08-14 12:43:06 +02:00
Bruno Windels
4c3386a2a5
Merge pull request #4 from matrix-org/bwindels/2usersjoin
Support multiple users, have 2nd user join created room
2018-08-14 12:42:50 +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
dc87e2bfe0 avoid typos 2018-08-08 12:42:34 +02:00
Bruno Windels
73c88fe603 prepare for more tests 2018-08-08 12:35:50 +02:00
Bruno Windels
c5f064e389 make receiving a bit more robust 2018-08-08 12:35:36 +02:00
Bruno Windels
1fd379b3d2 wait to receive message from other user 2018-08-08 12:17:36 +02:00
Bruno Windels
a78c095cf6 add support for changing the room settings 2018-08-08 11:45:26 +02:00
Bruno Windels
643af2d344 run synapse on custom port so it doesn't interfere with other synapses on dev machines 2018-08-07 18:44:49 +02:00
Bruno Windels
2a7438e9fb no need to double select here, might speed things up slightly 2018-08-07 18:23:58 +02:00
Bruno Windels
aaa5ee1a25 more consistent naming on session methods 2018-08-07 18:21:53 +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
David Baker
1b01867b84
Merge pull request #3 from matrix-org/bwindels/ci_script
Make tests run on CI environment
2018-08-02 13:01:47 +01:00
Bruno Windels
97fa7e03d1 dont swallow synapse startup errors 2018-07-31 14:48:05 +02:00
Bruno Windels
f57628e3d0 dont swallow riot server errors 2018-07-31 14:48:05 +02:00
Bruno Windels
3876577218 log when using external chrome! 2018-07-31 14:48:05 +02:00
Bruno Windels
9a2f309486 xhr and console logs are done for all tests now, no need to do it in signup anymore 2018-07-31 14:48:05 +02:00