From 9f62dbcf817d43e58443970ce84c43b45a4efe7f Mon Sep 17 00:00:00 2001 From: mohas22 Date: Tue, 23 Jul 2024 14:37:33 +0530 Subject: [PATCH] fixing failling playwright --- projects/angular-test-app/tests/e2e/MediaCo/portal.spec.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/angular-test-app/tests/e2e/MediaCo/portal.spec.js b/projects/angular-test-app/tests/e2e/MediaCo/portal.spec.js index 19c761dc..a65cbed7 100644 --- a/projects/angular-test-app/tests/e2e/MediaCo/portal.spec.js +++ b/projects/angular-test-app/tests/e2e/MediaCo/portal.spec.js @@ -131,9 +131,6 @@ test.describe('E2E test', () => { const attachmentCount = await page.locator('div[id="attachments-count"]').textContent(); await expect(Number(attachmentCount)).toBeGreaterThan(0); - - // Click text=Thank you! The next step in this case has been routed appropriately. - await page.locator('text=Thank you! The next step in this case has been routed appropriately.').click(); }, 10000); test('should enter a discount value($) and send to tech', async ({ page }) => { @@ -153,8 +150,6 @@ test.describe('E2E test', () => { await mgrDiscountInput.fill('20'); await page.locator('button:has-text("submit")').click(); - - await page.locator('text=Thank you! The next step in this case has been routed appropriately.').click(); }, 10000); test('should modify(if required) the actual services/packages to be installed and resolve the case', async ({ page }) => {