From b52164d70d36c985b6c645f0e1fe718a91ee1285 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 23 Dec 2022 12:33:32 +0530 Subject: [PATCH] fix(playwright): view title correction Signed-off-by: Pranav C --- tests/playwright/tests/views.spec.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/playwright/tests/views.spec.ts b/tests/playwright/tests/views.spec.ts index df6707c5a5..b00f98848c 100644 --- a/tests/playwright/tests/views.spec.ts +++ b/tests/playwright/tests/views.spec.ts @@ -45,15 +45,16 @@ test.describe('Views CRUD Operations', () => { newTitle: 'CityGallery2', }); - await dashboard.viewSidebar.changeViewIcon({ - title: 'CityGallery', - icon: 'american-football', - }); await dashboard.viewSidebar.verifyView({ title: 'CityGallery2', index: 3, }); + await dashboard.viewSidebar.changeViewIcon({ + title: 'CityGallery2', + icon: 'american-football', + }); + // todo: Enable when view bug is fixed // await dashboard.viewSidebar.reorderViews({ // sourceView: "CityGrid",