# Create Shifts Tests

## US-015-CreateShifts-01

Test Case ID: US-015-CreateShifts-01

Title: Admin Create Shifts

Description: Admin can create a shift

Precondition:
- An admin in the database with credentials `root@example.com` and `password`

Test Steps:
- Log into the system with `admin@example.com` and `password`
- Navigate to the Manage Shifts page with the nav bar
- Click the Add button
- In Shift Name, enter `D1`
- Change the color to the preset Orange
- Change Start Time to `9:00`
- Change End Time to `5:00`
- Click Submit

Expected Output
- The Shift should contain the chosen color, name, and hours.

## US-015-CreateShifts-02

Test Case ID: US-015-CreateShifts-02

Title: Admin Cannot Create Shift Without Name

Description: Admin cannot create a shift without a name

PreconditioN:
- An admin in the database with credentials `admin@example.com` and `password`

Test Steps:
- Log into the system with `admin@example.com` and `password`
- Navigate to the Manage Shifts page with the nav bar
- Click the Add button
- In the Shift Name page, click submit.

Expected Output
- The shift should not exist in the Manage Shifts page