# 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>