feat: add enable/disable toggle for chore scheduling in ScheduleModal
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m39s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m39s
- Introduced a toggle button to enable or disable chores in the scheduler. - The toggle will be available in both types of schedulers. - Added UI design proposal and considerations for mobile dimensions. - Included E2E tests to ensure toggle state persistence and correct behavior in child view.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// spec: e2e/plans/create-child.plan.md
|
||||
|
||||
import { test, expect } from '@playwright/test'
|
||||
import { STORAGE_STATE } from '../../e2e-constants'
|
||||
import { STORAGE_STATE_CC } from '../../e2e-constants'
|
||||
|
||||
test.describe('Create Child', () => {
|
||||
test.describe.configure({ mode: 'serial' })
|
||||
@@ -68,7 +68,7 @@ test.describe('Create Child', () => {
|
||||
await expect(page).toHaveURL('/parent')
|
||||
|
||||
// 2. Tab 2: isolated browser context so removing parentAuth doesn't affect Tab 1
|
||||
const childContext = await browser.newContext({ storageState: STORAGE_STATE })
|
||||
const childContext = await browser.newContext({ storageState: STORAGE_STATE_CC })
|
||||
const tab2 = await childContext.newPage()
|
||||
|
||||
// Load the app first (to ensure localStorage is seeded from storageState),
|
||||
|
||||
Reference in New Issue
Block a user