From 576e0fe27f4df75e2b662d1c5770cbc75d7f9900 Mon Sep 17 00:00:00 2001 From: mutajonathan Date: Wed, 18 Dec 2024 11:42:18 +0300 Subject: [PATCH] dealing with failing tests --- e2e/specs/dispensing.spec.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/e2e/specs/dispensing.spec.ts b/e2e/specs/dispensing.spec.ts index 6e3f50c..d1e05d2 100644 --- a/e2e/specs/dispensing.spec.ts +++ b/e2e/specs/dispensing.spec.ts @@ -11,10 +11,6 @@ test('Navigate to the dispensing page', async ({ page }) => { }); await test.step('Then I should see the active prescriptions tab', async () => { - await expect( - dispensingPage.page.getByRole('tab', { - name: /active prescriptions/i, - }), - ).toBeVisible(); + await expect(page.getByRole('tab', { name: /active prescriptions/i })).toBeVisible(); }); });