50 Playwright E2E tests across 13 spec files covering all routes and user flows (items CRUD, check-out/in, locations, labels, scanning, search/filter). Uses vitest as runner with playwright-core for browser automation (bun-compatible alternative to @playwright/test). Includes Gherkin .feature files as living documentation, test support infrastructure (IDB seeding, item factories, assertion helpers, layout measurement), and HANDOFF.md covering project state, deployment, and open design decisions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
557 B
Gherkin
15 lines
557 B
Gherkin
Feature: Label Generation Flow
|
|
As a user I want to generate batches of IDs and download label PDFs.
|
|
|
|
Scenario: Generate a batch of IDs
|
|
Given I am on the "labels" page
|
|
And I should see "Available IDs"
|
|
When I select "10 IDs" from "Batch Size"
|
|
And I click the "Generate" button
|
|
Then I should not see "Available IDs"
|
|
# After generation, the count should have increased
|
|
|
|
Scenario: Labels page shows batch options
|
|
Given I am on the "labels" page
|
|
Then I should see "Generate ID Batch"
|
|
And I should see "Print Label Sheet"
|