File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ export class Pagination {
5454 await expect ( lastPageButton ) . not . toBeDisabled ( ) ;
5555
5656 // Verify that navigation button to first page is disabled being on the first page
57- const fistPageButton = this . _pagination . locator (
57+ const firstPageButton = this . _pagination . locator (
5858 "button[data-action='first']" ,
5959 ) ;
60- await expect ( fistPageButton ) . toBeVisible ( ) ;
61- await expect ( fistPageButton ) . toBeDisabled ( ) ;
60+ await expect ( firstPageButton ) . toBeVisible ( ) ;
61+ await expect ( firstPageButton ) . toBeDisabled ( ) ;
6262
6363 // Navigate to next page
6464 await nextPageButton . click ( ) ;
@@ -68,11 +68,11 @@ export class Pagination {
6868 await expect ( prevPageButton ) . not . toBeDisabled ( ) ;
6969
7070 // Verify that navigation button to first page is enabled after moving to next page
71- await expect ( fistPageButton ) . toBeVisible ( ) ;
72- await expect ( fistPageButton ) . not . toBeDisabled ( ) ;
71+ await expect ( firstPageButton ) . toBeVisible ( ) ;
72+ await expect ( firstPageButton ) . not . toBeDisabled ( ) ;
7373
7474 // Moving back to the first page
75- await fistPageButton . click ( ) ;
75+ await firstPageButton . click ( ) ;
7676 }
7777
7878 async validateItemsPerPage ( columnName : string , table : Table ) {
You can’t perform that action at this time.
0 commit comments