Skip to main content

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.com is not already a user.

Steps:

  1. Open Settings → Users → New.
  2. Enter Full Name: TC User 001.
  3. Enter E-mail: tc-user-001@example.com.
  4. Enter a password (meet minimum length).
  5. Set Role to technician.
  6. 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:

  1. Open Settings → Users → Edit on the test user.
  2. Select Show permissions on the Permissions panel.
  3. Find a permission the technician role does not normally include (for example customers.view if unchecked for extras).
  4. Check that permission as an extra (not grayed out as “from role”).
  5. Select Save.
  6. 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.view was granted).

TC-CAT-001 — Device type with linked item​

Verifies: Device Catalog Overview

Preconditions:

  • Logged in as Office or Admin with device_types.edit and at least one Item exists.

Steps:

  1. Open Settings → Device Types → New.
  2. Name: TC Device Type 001 (unique).
  3. Save, then Edit that row.
  4. Link at least one existing item in the Items multi-select.
  5. 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:

  1. Open Settings → Manufacturers → New.
  2. Enter Name: TC Mfr 002 (unique).
  3. 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:

  1. Open Settings → Device Models → New.
  2. Select the test Device type and Manufacturer.
  3. Enter Name: TC Model 003.
  4. 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).