# Login Tests

## US-001-Login-01

Test Case ID: US-001-Login-01

Title: Root Login

Description: Tests if admin can log in and see the Daily Roster information

Precondition:
- An admin with login information `root@example.com` and `password` must
exist in the database.

Test Steps:
- Type in `root@example.com` in the email field
- Type in `password` in the password field
- Click the login button
- Check if the table in the Daily Roster appears

Expected Output:
- Daily Roster should appear and the table with its information should show up.

## US-001-Login-02

Test Case ID: US-001-Login-02

Title: Non-authorized user login

Description: Tests if an unauthorized user can not login

Precondition:
- N / A

Test Steps:
- Type in `nonuser@example.org` in the email field
- Type in `password` in the password field
- Click the login button
- Check if Daily Roster is not visible

Expected Output:
- Daily Roster should not be visible

## US-001-Login-03

Test Case ID: US-001-Login-03

Title: User login

Description: Tests if an authorized user can login and see the Daily Roster

Precondition:
- A user with the login information `johnson63@example.org` and `password` must
exist in the database.

Test Steps:
- Type in `johnson63@example.org` in the email field
- Type in `password` in the password field
- Click the login button
- Check if Daily Roster is not visible

Expected Output:
- Daily Roster should not be visible