You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Until we have an actual database for the authentication, we can use our currently hard-coded username and password for the test.
Context
The authentication flow currently consists of:
trying to access any page in the frontend, for example the root of the application
getting redirected to /login
entering valid credentials
being allowed on the home page
pressing the logout button
being sent back to the login page
Acceptance Criteria
We should have the following:
a Cypress test that runs as part of the e2e tests
the test should create a test user in the database if it doesn't exist yet, using the same hashing method as the normal authentication for generating the password hash stored in the DB
the test should assert that the steps described above work as expected
the test could optionally remove the created test user from DB
The text was updated successfully, but these errors were encountered:
Note: Until we have an actual database for the authentication, we can use our currently hard-coded username and password for the test.
Context
The authentication flow currently consists of:
Acceptance Criteria
We should have the following:
The text was updated successfully, but these errors were encountered: