diff --git a/scripts/playwright/pages/Grid.ts b/scripts/playwright/pages/Grid.ts index a22bd6eded..3d13b1fdd8 100644 --- a/scripts/playwright/pages/Grid.ts +++ b/scripts/playwright/pages/Grid.ts @@ -34,7 +34,7 @@ export class GridPage { } async verifyRowDoesNotExist({index}: {index: number}) { - return expect(await this.page.locator(`td[data-pw="cell-Title-${index}"]`)).toBeHidden(); + return expect(await this.page.locator(`td[data-pw="cell-Title-${index}"]`)).toBeFalsy(); } async deleteRow(index: number) {