[ACS-7267] The rest of list-views tests migrated to Playwright (#3711)

This commit is contained in:
Adam Świderski
2024-03-19 09:40:44 +01:00
committed by GitHub
parent 227f3fb996
commit 96a5542fe4
4 changed files with 101 additions and 145 deletions

View File

@@ -174,4 +174,20 @@ export class PaginationComponent extends BaseComponent {
async isMaxItemsPresent(): Promise<boolean> {
return this.maxItems.isVisible();
}
async isCurrentPagePresent(): Promise<boolean> {
return this.currentPage.isVisible();
}
async isTotalPagesPresent(): Promise<boolean> {
return this.totalPages.isVisible();
}
async isPreviousButtonPresent(): Promise<boolean> {
return this.previousButton.isVisible();
}
async isNextButtonPresent(): Promise<boolean> {
return this.nextButton.isVisible();
}
}