As a user, I should be authenticated prior to any activity within the system, so that it can record any actions I take, as well as EVENTUALLY restricting access to certain features based on permissions.
Given an unauthenticated user in the AppTrakz application
When they click any link or attempt to take any action
Then they should be prompted to login using their account credentials
Given an unauthenticated user is viewing the login form
When they enter a username and password that matches an existing user
Then they should be authenticated into the system
And directed to the application homepage
Given an unauthenticated user is viewing the login form
When they enter a username and password that DOES NOT match an existing user
Then an error message should be displayed
And the user should be prompted to either register an account or attempt to authenticate again
As a user, I should be authenticated prior to any activity within the system, so that it can record any actions I take, as well as EVENTUALLY restricting access to certain features based on permissions.
Given an unauthenticated user in the AppTrakz application When they click any link or attempt to take any action Then they should be prompted to login using their account credentials
Given an unauthenticated user is viewing the login form When they enter a username and password that matches an existing user Then they should be authenticated into the system And directed to the application homepage
Given an unauthenticated user is viewing the login form When they enter a username and password that DOES NOT match an existing user Then an error message should be displayed And the user should be prompted to either register an account or attempt to authenticate again