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>
11 lines
378 B
Gherkin
11 lines
378 B
Gherkin
Feature: Scan and Action Flow
|
|
As a user I want to scan items and take quick actions.
|
|
|
|
Scenario: Scan page shows scanner controls
|
|
Given I am on the "scan" page
|
|
Then I should see "Scan Barcode"
|
|
And I should see "Point your camera"
|
|
|
|
Scenario: Scan page visual appearance
|
|
Given I am on the "scan" page
|
|
Then the page should match the screenshot "scan-flow"
|