|
|
@ -85,9 +85,8 @@ export class SelectOptionCellPageObject extends BasePage { |
|
|
|
if (multiSelect) { |
|
|
|
if (multiSelect) { |
|
|
|
return await expect(this.cell.get({ index, columnHeader })).toContainText(option, { useInnerText: true }); |
|
|
|
return await expect(this.cell.get({ index, columnHeader })).toContainText(option, { useInnerText: true }); |
|
|
|
} |
|
|
|
} |
|
|
|
return await expect( |
|
|
|
const text = await (await this.cell.get({ index, columnHeader }).locator('.ant-tag')).allInnerTexts(); |
|
|
|
this.cell.get({ index, columnHeader }).locator('.ant-select-selection-item > .ant-tag') |
|
|
|
return expect(text).toContain(option); |
|
|
|
).toHaveText(option, { useInnerText: true }); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async verifyNoOptionsSelected({ index, columnHeader }: { index: number; columnHeader: string }) { |
|
|
|
async verifyNoOptionsSelected({ index, columnHeader }: { index: number; columnHeader: string }) { |
|
|
|