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
Bruno Windels
048a367081
use in-memory database, faster and no need to clear before every run
2018-07-23 10:21:38 +02:00
Bruno Windels
b42a0411f3
add IDEA for better debugging to readme (unrelated to PR really)
2018-07-23 10:10:36 +02:00
Bruno Windels
978081b3c0
remove obsolete code
2018-07-23 10:09:52 +02:00
Bruno Windels
eb10296c74
disable welcomeUserId for now in riot config, flow seems broken
2018-07-23 10:09:30 +02:00
Bruno Windels
bc06d370d0
prevent stop scripts from polluting output
2018-07-23 09:41:25 +02:00
Bruno Windels
40c0967364
more readme
2018-07-20 19:08:23 +02:00
Bruno Windels
5f2fcefb4e
update instructions
2018-07-20 19:00:38 +02:00
Bruno Windels
410b32ff85
make script runnable in one terminal, without server output garbling up test results. This won't work well on CI server but makes it clear to run locally
2018-07-20 19:00:27 +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
bc1da0565e
WIP: script to run tests on CI
2018-07-20 18:50:52 +02:00
Bruno Windels
1468be0db4
add script to clear synapse db
2018-07-20 18:50:29 +02:00
Bruno Windels
7ecd7d3873
add template config file for riot installation
2018-07-20 18:50:05 +02:00
Bruno Windels
01612f71bf
dont assume current directory in scripts
2018-07-18 18:04:31 +02:00
Bruno Windels
2cb83334ed
add script to install, start and stop riot
2018-07-18 17:52:51 +02:00
Bruno Windels
dcf4be79b7
add start and stop scripts for synapse
2018-07-18 17:52:29 +02:00
Bruno Windels
fc4c425a22
do accepting terms as part of signup since we try to create a room with riot-bot after login, which fails with consent warning
2018-07-17 12:38:20 +02:00
Bruno Windels
83eebfdecc
script to install local synapse
2018-07-17 12:36:35 +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
838563f0a6
add note to README
2018-07-09 18:21:43 +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
Bruno Windels
61ac989847
add code style
2018-07-09 17:08:16 +02:00