diff --git a/tests/playwright/pages/Dashboard/common/Cell/index.ts b/tests/playwright/pages/Dashboard/common/Cell/index.ts index 855fb13048..6dea2446a7 100644 --- a/tests/playwright/pages/Dashboard/common/Cell/index.ts +++ b/tests/playwright/pages/Dashboard/common/Cell/index.ts @@ -119,7 +119,7 @@ export class CellPageObject extends BasePage { const cellText = typeof innerTexts === 'string' ? [innerTexts] : innerTexts; if (cellText) { - if (cellText.includes(text) || cellText[0].includes(text)) { + if (cellText?.includes(text) || cellText[0]?.includes(text)) { return; } }