Fixed some tests

This commit is contained in:
AG
2025-11-30 19:48:01 +02:00
parent eef65251d7
commit 5e92cc9a7a
6 changed files with 2 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ test.describe('III. Workout Tracking', () => {
// Expected Results:
// - The set is removed from the session history.
await expect(page.locator('div').filter({ hasText: /^1Bench Press80kg x 5$/ })).not.toBeVisible();
await expect(page.locator('div').filter({ hasText: /^1Bench Press80kg x 5$/ })).toHaveCount(0);
// - No error messages.
await expect(page.locator('text=Error')).not.toBeVisible();
});