Browse Source

test: pagination selector

pull/6573/head
mertmit 1 year ago
parent
commit
3ea6cebb7b
  1. 2
      tests/playwright/pages/Dashboard/Grid/index.ts

2
tests/playwright/pages/Dashboard/Grid/index.ts

@ -327,7 +327,7 @@ export class GridPage extends BasePage {
} }
async verifyActivePage({ pageNumber }: { pageNumber: string }) { 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() { async waitLoading() {

Loading…
Cancel
Save