Files
Trilium/docs/Developer Guide/Developer Guide/Old documentation/Testing/Integration testing/Setting up authentication.md
2025-05-02 20:51:13 +03:00

12 lines
537 B
Markdown
Vendored

# Setting up authentication
There is a setup test that stores the authentication token so that it can be reused throughout all the tests.
If tests fail due to being stuck on login, then it must be run.
To run it manually press “all” near the “Status:” text on top-left of the window
<figure class="image"><img src="1_Setting up authentication_.png"></figure>
Then check “setup” and look for `auth.setup.ts` and press its corresponding Run button:
<figure class="image"><img src="Setting up authentication_.png"></figure>