Skip to content

Add e2e tests for lazy loading scenarios #7287

@bwindels

Description

@bwindels

to register many users without having to spin up a browser for each, use shared secret registration which lets you register users directly via API if you know the secret in the synapse config.

https://github.com/matrix-org/synapse/blob/master/docs/admin_api/register_api.rst

Test scenarios:

  • Bob creates room, Charly{1..10} join, Bob types 20 messages, Alice joins and checks she sees all charlys with correct display name in the memberlist & timeline.
  • Bob joins room. Alice joins room & waits for members to load and then goes offline. Charly joins. Now Bob says more than sync limit (e.g. 20 messages). Alice comes back online again, and gets a gappy sync response. She then looks for Charly in the memberlist. (Should repro LL members can get out of sync with server on limited sync response  #7211)
  • [ ] basic e2e encryption in LL room not doing this for now
  • [ ] search for a username in the memberlist that was active before timeline we're aware off, also @mention ...?
  • back-paginate and check correct display names are set in timeline

2 remaining things:

  • creating rest users fails with 500 on CI server
  • the gappy sync test showed a problem where the timeline isn't rendered when coming back online

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions