From 537efbe4d1c28e37d1d797823eca98bcef818f8f Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 27 Dec 2024 12:52:38 +0530 Subject: [PATCH] fix: e2e upsell error --- tests/e2e/specs/upsell.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/upsell.spec.js b/tests/e2e/specs/upsell.spec.js index bf328e74..7c93c1f3 100644 --- a/tests/e2e/specs/upsell.spec.js +++ b/tests/e2e/specs/upsell.spec.js @@ -79,7 +79,7 @@ test.describe( 'List Page Upsell', () => { test('Import/Export', async ({ editor, page }) => { // Locate and click the "Import Job" link - const importButton = page.getByRole('link', { name: 'Import Job', exact: true }); + const importButton = page.locator('.fz-export-import-btn'); await expect(importButton).toBeVisible(); await importButton.click();