Skip to content

438 — should anonymize user in reports

Description

Verifies that a user can be anonymised directly from the Reports → Users tab row actions. Currently skipped because the product no longer exposes "Anonymize" from /reports/users (the action lives on the user-info detail page in Settings → Teammates and requires the target user to be registered, not pending invite).

Preconditions

  • Signed-in tenant owner Octavia Wolff plus one invited employee on a 1920×1080 viewport.
  • Seeded time records covering the whole current year.
  • Reports page is open with the Users tab active.

Steps

  1. Open the date picker and switch the range to the whole current year, then close the picker with Escape. Expected: the summary header on the Users tab matches the aggregate of API time records for the year.
  2. Read the initial number of user rows in the table. Expected: the count is greater than 0.
  3. Open the row-actions menu on the first user row and click "Anonymize". Expected: the anonymize-user confirmation dialog appears.
  4. Confirm the anonymize modal. Expected: the modal closes and the table refreshes; the visible user count is the initial count minus one.
  • Spec: playwright/tests/integration/reports.spec.ts (line 383)
  • Spec: playwright/tests/integration/reports.spec.ts (line 383)