Skip to content

330 — should create new label with only required data

Description

Verifies that a label can be created with only the required field (title). When description and color are omitted, the label is saved with an empty description and the default blue color.

Preconditions

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

Steps

  1. Click "Add label" to open the new-label form.
  2. Type the generated label title into the Title field, leaving description and color untouched.
  3. Click "Create". Expected: a "Created" confirmation toast appears.
  4. Check the label card in the list. Expected: the card shows the entered title, an empty description, the default blue color rgb(137, 177, 250), and exactly one label is present.
  5. Click the label card to open its detail modal. Expected: the modal shows the same title, an empty description, and the default blue color rgb(137, 177, 250).
  • Spec: playwright/tests/integration/labels.spec.ts (line 68)