Skip to content

329 — should create new label with all data

Description

Verifies that a user can create a new label by filling in every field (title, description, color), and that the resulting label card and detail view display all the values exactly as entered.

Preconditions

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

Steps

  1. Click the "Add label" button to open the new-label form.
  2. Type the generated label title into the Title field.
  3. Type the generated description into the Description field.
  4. Pick the generated color from the color picker.
  5. Click "Create" to submit the form. Expected: a "Created" confirmation toast appears.
  6. Look at the label card in the list. Expected: the card shows the entered title, the entered description, and the chosen color, and exactly one label is present.
  7. Click the label card to open its detail modal. Expected: the modal shows the same title, the same description, and the same color that were submitted.
  • Spec: playwright/tests/integration/labels.spec.ts (line 49)