Add routine management features for child and parent views
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m8s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 3m8s
- Implemented routine child-mode flow tests to ensure proper functionality of routine assignment and task completion. - Created notification tests for parent view to verify routine completion notifications for children. - Developed ChildRoutineOverlay component for displaying routine tasks and handling user interactions. - Added RoutineApproveDialog component for approving or rejecting completed routines. - Created unit tests for ChildRoutineOverlay and RoutineEditView components to ensure correct behavior and rendering. - Enhanced RoutineEditView with proper handling of task addition and form submission. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -128,6 +128,15 @@ export default defineConfig({
|
||||
testMatch: [/mode_parent\/notifications\/.+\.spec\.ts/],
|
||||
},
|
||||
|
||||
{
|
||||
// Bucket: routine tests — child-mode overlay flow (confirm + cancel) and
|
||||
// parent notification appearance. Each spec creates its own isolated child.
|
||||
name: 'chromium-routines',
|
||||
use: { ...devices['Desktop Chrome'], storageState: STORAGE_STATE },
|
||||
dependencies: ['setup'],
|
||||
testMatch: [/mode_parent\/routines\/.+\.spec\.ts/],
|
||||
},
|
||||
|
||||
{
|
||||
// Bucket: parent profile button tests (permanent parent mode).
|
||||
name: 'chromium-profile-button',
|
||||
@@ -176,6 +185,7 @@ export default defineConfig({
|
||||
/mode_parent\/user-profile\//,
|
||||
/mode_parent\/chore-scheduler\//,
|
||||
/mode_parent\/notifications\//,
|
||||
/mode_parent\/routines\//,
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user