Skip to content

Commit fc08513

Browse files
fix typo
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
1 parent e4ba2b1 commit fc08513

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

e2e/tests/ui/pages/Pagination.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)