From 901ac2b7c615e7cc30aefe18c834b587195e506c Mon Sep 17 00:00:00 2001 From: Victor Galan Date: Tue, 10 Dec 2024 12:44:31 +0100 Subject: [PATCH] LPD-43946 Fragment sets differs between ce and dxp so just use the name of the moved fragment set --- .../sidebar.spec.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/modules/test/playwright/tests/layout-content-page-editor-web/sidebar.spec.ts b/modules/test/playwright/tests/layout-content-page-editor-web/sidebar.spec.ts index c1cbf2a3b31331..346f126527af5c 100644 --- a/modules/test/playwright/tests/layout-content-page-editor-web/sidebar.spec.ts +++ b/modules/test/playwright/tests/layout-content-page-editor-web/sidebar.spec.ts @@ -699,20 +699,7 @@ test.describe('Fragments Panel', () => { await widgetPagePage.openAddPanel(); - [ - 'Accounts', - 'Business Intelligence & Reporting', - 'Collaboration', - 'Commerce', - 'Community', - 'Content Management', - 'News', - 'Object', - 'Sample', - 'Search', - ].forEach(async (set, index) => { - await expect(widgetSets.nth(index)).toContainText(set); - }); + await expect(widgetSets.nth(0)).toContainText(firstWidgetSet); }); test(