Users & Catalog — Test Cases
Manual tests for Manage Users and Device Catalog Overview.
TC-USER-001 — Create user with technician role
Verifies: Manage Users
Preconditions:
- Logged in as Admin (
users.create). - Test email
tc-user-001@example.comis not already a user.
Steps:
- Open Settings → Users → New.
- Enter Full Name:
TC User 001. - Enter E-mail:
tc-user-001@example.com. - Enter a password (meet minimum length).
- Set Role to
technician. - Select Save.
Expected:
- Redirect to Users index with a success message.
- The new user appears in the list.
- Edit shows role Technician (or
technician).
TC-USER-002 — Grant extra direct permission on top of role
Verifies: Manage Users, Permissions
Preconditions:
- A user exists with role
technician(use TC-USER-001 or equivalent). - Logged in as Admin (
users.edit).
Steps:
- Open Settings → Users → Edit on the test user.
- Select Show permissions on the Permissions panel.
- Find a permission the technician role does not normally include (for example
customers.viewif unchecked for extras). - Check that permission as an extra (not grayed out as “from role”).
- Select Save.
- Sign out; sign in as the test user (or verify in a second browser).
Expected:
- Save succeeds.
- The chosen permission takes effect for that user (e.g. Customers appears if
customers.viewwas granted).
TC-CAT-001 — Device type with linked item
Verifies: Device Catalog Overview
Preconditions:
- Logged in as Office or Admin with
device_types.editand at least one Item exists.
Steps:
- Open Settings → Device Types → New.
- Name:
TC Device Type 001(unique). - Save, then Edit that row.
- Link at least one existing item in the Items multi-select.
- Save.
Expected:
- Type appears on the index.
- After save, Edit shows the linked item(s) still selected.
TC-CAT-002 — Create manufacturer
Verifies: Device Catalog Overview
Preconditions:
- Logged in as Office or Admin (
manufacturers.create).
Steps:
- Open Settings → Manufacturers → New.
- Enter Name:
TC Mfr 002(unique). - Save.
Expected:
- Manufacturer appears in the list; Edit opens without error.
TC-CAT-003 — Create device model (type + manufacturer)
Verifies: Device Catalog Overview
Preconditions:
- Logged in as Office or Admin (
device_models.create). - A Device type and Manufacturer exist (use TC-CAT-001 / TC-CAT-002 or existing rows).
Steps:
- Open Settings → Device Models → New.
- Select the test Device type and Manufacturer.
- Enter Name:
TC Model 003. - Save.
Expected:
- Model appears on the index with correct type and manufacturer columns.
- Edit loads; optional checklist / EPA fields appear only when those features are enabled (environment-dependent).