Synchronous Fields Reset for Set Logging, Tests fixed
Some checks are pending
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run

This commit is contained in:
AG
2025-12-20 15:37:47 +02:00
parent af5c855c21
commit 77789d31ca
5 changed files with 47 additions and 27 deletions

View File

@@ -50,7 +50,7 @@ test.describe('II. Workout Management', () => {
await page.getByRole('button', { name: 'Plans' }).first().click();
await page.getByRole('button', { name: 'Create Plan' }).click();
await page.getByRole('button', { name: 'Manually' }).click();
await page.getByRole('button', { name: 'Create Plan Manually' }).click();
await expect(page.getByLabel(/Name/i)).toBeVisible({ timeout: 10000 });
await page.getByLabel(`Name`).fill('My New Strength Plan');
@@ -502,7 +502,7 @@ test.describe('II. Workout Management', () => {
// VERIFY: Should not appear in Plans Add Exercise selector
await page.getByRole('button', { name: 'Plans' }).first().click();
await page.getByRole('button', { name: 'Create Plan' }).click();
await page.getByRole('button', { name: 'Manually' }).click();
await page.getByRole('button', { name: 'Create Plan Manually' }).click();
await page.getByRole('button', { name: 'Add Exercise' }).click();
await expect(page.getByRole('button', { name: 'Archive Me' })).not.toBeVisible();
// Close sidesheet - use more robust selector and wait for stability