feat: introduce extended integration tests
- test both FLOSS and non-floss builds - test on Synapse, Dendrite and Conduit - remove Synapse-specific test - add static Release mode app launch test Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
56ba2341f4
commit
5f5a08f729
13 changed files with 490 additions and 30 deletions
8
scripts/integration-prepare-homeserver.sh
Executable file
8
scripts/integration-prepare-homeserver.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
IP_ADDRESS="$(drill docker | grep -m 1 -P "\d+\.\d+\.\d+.\d+" | awk -F ' ' '{print $NF}')"
|
||||
|
||||
sed -i "s/10.0.2.2/$IP_ADDRESS/g" integration_test/users.dart
|
||||
|
||||
curl -XPOST -d '{"username":"alice", "password":"AliceInWonderland", "inhibit_login":true, "auth": {"type":"m.login.dummy"}}' "http://$IP_ADDRESS:8008/_matrix/client/r0/register"
|
||||
curl -XPOST -d '{"username":"bob", "password":"JoWirSchaffenDas", "inhibit_login":true, "auth": {"type":"m.login.dummy"}}' "http://$IP_ADDRESS:8008/_matrix/client/r0/register"
|
||||
curl -XPOST -d '{"username":"trudy", "password":"HaveIBeenPwned", "inhibit_login":true, "auth": {"type":"m.login.dummy"}}' "http://$IP_ADDRESS:8008/_matrix/client/r0/register"
|
||||
Loading…
Add table
Add a link
Reference in a new issue