|
|
@ -118,8 +118,10 @@ export class CellPageObject extends BasePage { |
|
|
|
}).allInnerTexts(); |
|
|
|
}).allInnerTexts(); |
|
|
|
const cellText = typeof innerTexts === 'string' ? [innerTexts] : innerTexts; |
|
|
|
const cellText = typeof innerTexts === 'string' ? [innerTexts] : innerTexts; |
|
|
|
|
|
|
|
|
|
|
|
if (cellText.includes(text) || cellText[0].includes(text)) { |
|
|
|
if (cellText) { |
|
|
|
return; |
|
|
|
if (cellText.includes(text) || cellText[0].includes(text)) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
await this.rootPage.waitForTimeout(1000); |
|
|
|
await this.rootPage.waitForTimeout(1000); |
|
|
|
count++; |
|
|
|
count++; |
|
|
|