Commit Graph

263 Commits (03d928bf5da8dccd06946eace55ee26a669f891b)

Author SHA1 Message Date
Bruno Windels 2559786038
Merge pull request #41 from matrix-org/travis/fix-consent-register
Tell synapse to require consent at registration
2018-11-08 16:51:26 +00:00
Travis Ralston 1a0f09543b Tell synapse to require consent at registration
To fix issues where the tests can't correctly test terms auth.
2018-11-07 15:26:30 -07:00
Bruno Windels daa962442a
Merge pull request #39 from matrix-org/travis/fix-consent
Fix the registration process to handle m.login.terms auth
2018-11-05 08:11:02 +00:00
Travis Ralston d57a56d7a8 There is no more server notices invite on signup 2018-11-01 18:35:42 -06:00
Travis Ralston f607cb2702 Fix the registration process to handle m.login.terms auth 2018-11-01 17:55:48 -06:00
Bruno Windels 1a2254677c test leaving members disappear from memberlist 2018-10-09 15:15:03 +02:00
Bruno Windels b2bd134945
add config file instructions to run with --riot-url 2018-10-08 16:58:01 +02:00
David Baker a1cd2aeb09
Merge pull request #31 from matrix-org/bwindels/lltestsonlyrunondevelop
tests need riot develop branch to pass
2018-10-01 11:44:10 +01:00
Bruno Windels 1147508c34 list of tests we want to write 2018-09-27 18:09:27 +01:00
Tom Lant 861af62208 Make the sed usage cross-platform compatible 2018-09-27 13:21:45 +01:00
Tom Lant 04b64dbae9 Some changes to make the testing script run on mac, too, + a multithreaded server for riot 2018-09-25 18:45:08 +01:00
Bruno Windels 8ee7623d90 current tests need riot develop to set a room alias without a domain name 2018-09-25 18:01:10 +01:00
David Baker 4aad156b92
Merge pull request #29 from matrix-org/bwindels/fixroomaliasrequirements
set a room alias for a public room, as required now
2018-09-21 10:52:42 +01:00
Bruno Windels a637ad85ad set a room alias for a public room, as required now 2018-09-21 11:25:26 +02:00
Bruno Windels 64608af0b2
Merge pull request #26 from matrix-org/bwindels/disablelltests
disable LL tests on travis CI
2018-09-19 11:04:55 +02:00
Bruno Windels 13b20bb192 pass parameters through instead of hardcoding --travis 2018-09-19 10:56:39 +02:00
Bruno Windels fec1447e8f
Merge pull request #28 from matrix-org/revert-25-bwindels/fixadminapiusage
Revert "use patched synapse so admin rest api works with python 2.7.6"
2018-09-18 16:52:05 +02:00
Bruno Windels 70eb480553
Revert "use patched synapse so admin rest api works with python 2.7.6" 2018-09-18 16:51:50 +02:00
Bruno Windels 6e9721523d
Merge pull request #27 from matrix-org/revert-24-bwindels/increaseservernoticetimeout
Revert "increase timeout for server notices room"
2018-09-18 16:51:34 +02:00
Bruno Windels d47f782c21
Revert "increase timeout for server notices room" 2018-09-18 16:51:22 +02:00
Bruno Windels cf397efed5 disable LL tests on travis CI 2018-09-18 16:50:33 +02:00
Bruno Windels 1c85536414
Merge pull request #25 from matrix-org/bwindels/fixadminapiusage
use patched synapse so admin rest api works with python 2.7.6
2018-09-18 16:11:44 +02:00
Bruno Windels a84162ede8 use patched synapse so admin rest api works with python 2.7.6 2018-09-18 16:11:07 +02:00
Bruno Windels d1d886508b
Merge pull request #24 from matrix-org/bwindels/increaseservernoticetimeout
increase timeout for server notices room
2018-09-18 11:13:30 +02:00
Bruno Windels 0d86b82e3a increase timeout for server notices room 2018-09-18 11:13:02 +02:00
Bruno Windels 3de9f6efae
Merge pull request #23 from matrix-org/bwindels/restlogs
spit out logs for creating REST users to figure out what is going on …
2018-09-18 10:17:31 +02:00
Bruno Windels 42c1b95b7c spit out logs for creating REST users to figure out what is going on with the CI server 2018-09-18 10:17:03 +02:00
Bruno Windels f26c50cdaa
Merge pull request #22 from matrix-org/bwindels/lltests3
Test LL with gappy syncs
2018-09-17 12:14:13 +02:00
Bruno Windels 1906661ef9 Merge branch 'master' into bwindels/lltests3 2018-09-14 14:50:35 +02:00
Bruno Windels 320e39bd41
Merge pull request #19 from matrix-org/bwindels/lltests2
Test all members are in memberlist with LL turned on
2018-09-14 14:49:58 +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 8cff961ec8 use develop for now as LL with gappy syncs is fixed on that branch for now 2018-09-14 14:46:42 +02:00
Bruno Windels 992a0be4d0 DRY usernames 2018-09-14 14:46:25 +02:00
Bruno Windels 36708cc5db wait for next sync before inspecting memberlist
before we needed a 10s delay here to make the test work
reliable, this should be faster in the best case.
2018-09-14 14:45:40 +02:00
David Baker 58d52f9cbf
Merge pull request #17 from matrix-org/bwindels/flagsandreadme
structure flags better and document them
2018-09-14 11:45:13 +01:00
Bruno Windels 16b2f09915 Test if members joining while user is offline are received after returning online with LL enabled 2018-09-14 12:44:01 +02:00
Bruno Windels 6deb595fec add logging to rest session actions 2018-09-14 12:17:22 +02:00
Bruno Windels af255c6386 dont assert the first time in receiveMessage, as it will show an ugly assert error while everything is fine, just need to wait longer 2018-09-14 09:52:34 +02:00
Bruno Windels 9f4cf776c5 make receiveMessage more robust by checking first if the message is not already in the timeline 2018-09-13 12:04:18 +02:00
Bruno Windels 239e6a4bce add ll tests to check if all expected members are in memberlist
also move verify-device use case to timeline to reuse memberlist
query for this test.
2018-09-13 12:03:29 +02:00
Bruno Windels 5d06c65ce5 split up ll tests in several functions 2018-09-13 12:02:49 +02:00
Bruno Windels 1725e7524b split up scenarios in multiple files as lazy-loading scenarios grow 2018-09-13 10:31:15 +02:00
Bruno Windels 5ec8f6f9b4 rename tests folder to the more accurate usecases 2018-09-12 18:40:25 +02:00
Bruno Windels 923ae90576 move range and delay over to util module 2018-09-12 18:38:42 +02:00
Bruno Windels 5745e9ed0c move Logger and LogBuffer to own module 2018-09-12 18:36:02 +02:00
Bruno Windels c8fec947e4 structure flags better and document them 2018-09-12 17:27:51 +02:00
Bruno Windels e843d532eb these changes were not needed in the end 2018-09-12 16:48:40 +02:00
Bruno Windels 7bcb255a2c increase timeout here in case this wouldnt be enough for the CI server 2018-09-12 16:47:24 +02:00
Bruno Windels 29aec256df finish basic LL test to see if display names appear from lazy loaded state 2018-09-12 14:53:19 +02:00
Bruno Windels 4057ec8a6a store displayName on RestSession to use it in tests 2018-09-12 14:51:00 +02:00