test(e2e): add EPIC-04 household items E2E test coverage#491
Merged
steilerDev merged 1 commit intobetafrom Mar 6, 2026
Merged
Conversation
Adds full Playwright E2E test coverage for EPIC-04 (Household Items &
Furniture Management) which was previously only covered by a stub smoke
test. The household items pages are now fully implemented.
Changes:
- New e2e/tests/household-items/ directory with 4 spec files (80+ tests):
- household-items-list.spec.ts: list page, filters (category/status/room),
search, status badges, CRUD, pagination, responsive, dark mode, a11y
- household-item-create.spec.ts: create form, validation, navigation,
field options, responsive, dark mode
- household-item-detail.spec.ts: detail page, budget section, documents
section (Story 8.6), responsive, dark mode, 404 state
- household-item-edit.spec.ts: edit form, pre-population, save flow,
validation, navigation, responsive
- New POMs:
- e2e/pages/HouseholdItemCreatePage.ts — fully modelled create form
- e2e/pages/HouseholdItemDetailPage.ts — detail page locators
- e2e/pages/HouseholdItemsPage.ts — upgraded from stub to full POM
- Updated fixtures:
- e2e/fixtures/apiHelpers.ts — add createHouseholdItemViaApi/
deleteHouseholdItemViaApi helpers
- e2e/fixtures/testData.ts — add API.householdItems and
ROUTES.householdItemsNew constants
- Removed stub test for Household Items from stub-pages.spec.ts
(page has graduated to full feature — EPIC-04)
Co-Authored-By: Claude qa-integration-tester (Sonnet 4.6) <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 1.12.0-beta.50 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds full Playwright E2E test coverage for EPIC-04 (Household Items & Furniture Management). Prior to this PR, the only E2E coverage for household items was a single stub smoke test verifying the page loaded. EPIC-04 is now fully implemented across 4 pages (list, create, detail, edit), so this PR brings E2E coverage in line with the rest of the application.
Coverage added (80+ tests across 4 spec files)
e2e/tests/household-items/household-items-list.spec.ts(Stories 4.3, 4.8)role="search"landmarke2e/tests/household-items/household-item-create.spec.ts(Story 4.4)e2e/tests/household-items/household-item-detail.spec.ts(Stories 4.5, 4.6, 4.7, 8.6, 4.8)#documents-section-titleaccessible headinge2e/tests/household-items/household-item-edit.spec.ts(Story 4.4)Supporting changes
e2e/pages/HouseholdItemsPage.ts: Fully rewritten from stub POM to production-ready POM with all locators, search/filter methods, delete modal helpers, pagination helperse2e/pages/HouseholdItemCreatePage.ts: New POM for/household-items/newe2e/pages/HouseholdItemDetailPage.ts: New POM for/household-items/:ide2e/fixtures/apiHelpers.ts: AddedcreateHouseholdItemViaApi/deleteHouseholdItemViaApie2e/fixtures/testData.ts: AddedAPI.householdItemsandROUTES.householdItemsNewconstantse2e/tests/navigation/stub-pages.spec.ts: Removed household items stub test (page graduated to full feature — EPIC-04)Coverage Matrix
@responsiveTest plan
beta@smoketag) pass: list page load, create redirect🤖 Generated with Claude Code