Skip to content

333 — should create 100 labels and delete all of them

Description

Verifies bulk handling of labels: 100 labels can be created via the API, displayed in the list after reload, then selected as a group and moved to the trash in a single action.

Preconditions

  • User is signed in to a freshly seeded tenant.
  • The Labels page is open and the list is empty.

Steps

  1. Seed 100 labels through the backend API.
  2. Reload the page and scroll the labels grid to make sure every label is rendered. Expected: exactly 100 label cards are present in the list.
  3. Tick the checkbox on the first label, then click the "Select all" action in the bulk toolbar. Expected: the bulk toolbar reports 100 selected items.
  4. Click "Move to trash" in the bulk toolbar. Expected: the list refreshes and shows 0 labels.
  • Spec: playwright/tests/integration/labels.spec.ts (line 132)