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>
22 lines
645 B
Gherkin
22 lines
645 B
Gherkin
Feature: Settings
|
|
As a user I want to view app settings and database statistics.
|
|
|
|
Background:
|
|
Given I am on the "settings" page
|
|
|
|
Scenario: Settings page shows sections
|
|
Then the page title should be "Settings"
|
|
And I should see "Database"
|
|
And I should see "Sync"
|
|
And I should see "About"
|
|
|
|
Scenario: Database stats show counts
|
|
Then I should see "Items"
|
|
And I should see "Locations"
|
|
|
|
Scenario: About section shows version
|
|
Then I should see "SolidHaus v0.1.0"
|
|
And I should see "Data is stored locally"
|
|
|
|
Scenario: Settings visual appearance
|
|
Then the page should match the screenshot "settings-page"
|