Preparation display when start plan from Plans
This commit is contained in:
@@ -187,6 +187,13 @@ test.describe('Rest Timer', () => {
|
||||
// Start the plan.
|
||||
await page.getByRole('button', { name: 'Start' }).click();
|
||||
|
||||
// Expect Preparation Modal
|
||||
const modal = page.locator('.fixed.inset-0.z-50');
|
||||
await expect(modal).toBeVisible();
|
||||
await expect(modal.getByText('Ready to go')).toBeVisible();
|
||||
// Click Start in the modal (ensure we click the button inside the modal)
|
||||
await modal.getByRole('button', { name: 'Start' }).click();
|
||||
|
||||
// Timer Update: Click FAB
|
||||
const fab = page.locator('.fixed.bottom-24.right-6');
|
||||
await fab.click();
|
||||
|
||||
Reference in New Issue
Block a user