Commit Graph

83 Commits

Author SHA1 Message Date
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
Bruno Windels
c357a0158d no need to log contents of zip files 2018-07-31 11:48:54 +02:00
Bruno Windels
d738b404ca try upgrading puppeteer 2018-07-31 11:48:54 +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
e50420dd1b apply config file when starting riot, not installing, so we can support riots that were built by another process 2018-07-31 11:48:54 +02:00
Bruno Windels
31fcf08fec only allow one riot server instance simultaneously 2018-07-31 11:48:29 +02:00
Bruno Windels
5129bb57b6 log all requests with their response code 2018-07-31 10:35:21 +02:00
Bruno Windels
29d688543d stop servers on error in run script 2018-07-31 10:35:21 +02:00
Bruno Windels
758da78659 dont fail when trying to stop riot and its not running 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
c3b7e6c7cb make scripts executable, running them with sh does something weird on travis 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
20becf8735 force running scripts in bash, as it's not the default shell on Ubuntu (which is what Travis runs) 2018-07-31 10:35:21 +02:00
Bruno Windels
ebc9859cce add instruction to install without chrome download 2018-07-27 15:07:43 +02:00
Bruno Windels
5389a42bc1 use readlink instead of realpath as it seems to be more portable 2018-07-27 15:04:04 +02:00
Bruno Windels
5e1517eb4d no need for push/popd in sub-shell 2018-07-27 14:10:19 +02:00
Bruno Windels
96374f4e54 only install synapse and riot if directory is not already there 2018-07-27 14:00:01 +02:00
Bruno Windels
a4e7b14728 update README 2018-07-27 13:50:58 +02:00
Bruno Windels
b3473a7220 with no logs polluting the output, we dont need tmux anymore to split the terminal 2018-07-27 13:43:38 +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
0be2e02381 hide synapse schema update logs by redirecting stderr 2018-07-27 13:42:36 +02:00
Bruno Windels
c9461dd296 hide riot static server output 2018-07-27 13:29:59 +02:00
Bruno Windels
6ae5a7bd97
Merge pull request #1 from matrix-org/bwindels/join-with-consent
join with consent dialog
2018-07-27 12:11:51 +02:00
Bruno Windels
ba1ee86c67 wait to be visible 2018-07-23 11:21:34 +02:00
Bruno Windels
1643b9552e test default server setup for signup 2018-07-23 11:20:07 +02:00
Bruno Windels
c693d861f4 link to code style document, instead of having local copy 2018-07-23 10:36:21 +02:00
Bruno Windels
5934bebafb change test user name 2018-07-23 10:36:03 +02:00