Browse Source

test: retry logic correction

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5106/head
Raju Udava 2 years ago
parent
commit
9a002879d0
  1. 2
      tests/playwright/pages/Dashboard/common/Cell/index.ts

2
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;
}
}

Loading…
Cancel
Save