Fixed some tests
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user