Skip to content

010 — should create two additional items and bulk archive them

Description

Verifies that two additional items can be selected together in the grid and bulk-archived in one action, and that the grid empties afterwards.

Preconditions

  • Signed in as the owner of a freshly provisioned organization
  • A client and a project (with the project belonging to that client) already exist
  • Two additional items have been seeded via the API
  • The Additional Items page is open on the "Additional items" tab and has been reloaded so both items are visible

Steps

  1. Confirm the grid contains 2 additional items.
  2. Click the "Select all" checkbox in the grid header. Expected: The selection bar shows "2" items selected.
  3. Click "Archive" in the bulk-action bar. Expected: The archive-confirmation modal appears with a bulk-archive message.
  4. Confirm the archive in the modal. Expected: An "Archived" popup appears and the grid contains 0 additional items.
  • Spec: playwright/tests/integration/additionalItem.spec.ts (line 377)