Skip to content

UI testing as fake user #1363

@ml-evs

Description

@ml-evs

Bugs like #1361 can't be caught unless we allow our e2e tests to fake user/admin login.

This should be possible to do via the magic-link mechanism, i.e., we insert a predefined magic link in the database and let the UI tests login with it. This might be a little bit trickier to handle for local tests.

Some simple UI tests can then be written for functionality that only works when the user is logged in, e.g., the admin dashboard.

Metadata

Metadata

Labels

CIFor issues/PRs regarding the continuous integrationtestingFor issues/PRs that change how the package is testedwebappFor issues/PRs pertaining to the web interface

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions