matrix-org / matrix-react-end-to-end-tests

End to end tests for the matrix react web app
2 stars 2 forks source link

Use polling with short interval and long timeout for receiving messages instead of eavesdropping incoming sync responses #35

Closed bwindels closed 5 years ago

bwindels commented 6 years ago

eavesdropping sync responses doesn't work well, the receive message use cases is the slowest thing in the tests as it stands, and eavesdropping doesn't work at all for e2e I think, so always timeing out after 5s and then seeing the message is indeed in the timeline. Rather poll every 100ms or so if it is in the timeline, and timeout after 5 or 10s.

bwindels commented 6 years ago

Dupe of #21 apparently