From 3ea6cebb7bf899afba40afbe7fd48a69f2f92c10 Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 5 Oct 2023 04:30:57 +0000 Subject: [PATCH] test: pagination selector --- tests/playwright/pages/Dashboard/Grid/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/pages/Dashboard/Grid/index.ts b/tests/playwright/pages/Dashboard/Grid/index.ts index b11e1eb7d6..8037996f3b 100644 --- a/tests/playwright/pages/Dashboard/Grid/index.ts +++ b/tests/playwright/pages/Dashboard/Grid/index.ts @@ -327,7 +327,7 @@ export class GridPage extends BasePage { } async verifyActivePage({ pageNumber }: { pageNumber: string }) { - await expect(this.get().locator(`.nc-pagination .active`)).toHaveText(pageNumber); + await expect(this.get().locator(`.nc-pagination .ant-select-selection-item`)).toHaveText(pageNumber); } async waitLoading() {