|
|
@ -95,6 +95,13 @@ export class SelectOptionCellPageObject extends BasePage { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async verifyOptions({ index, columnHeader, options }: { index: number; columnHeader: string; options: string[] }) { |
|
|
|
async verifyOptions({ index, columnHeader, options }: { index: number; columnHeader: string; options: string[] }) { |
|
|
|
|
|
|
|
const selectCell = this.get({ index, columnHeader }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// check if cell active
|
|
|
|
|
|
|
|
if (!(await selectCell.getAttribute('class')).includes('active')) { |
|
|
|
|
|
|
|
await selectCell.click(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
await this.get({ index, columnHeader }).click(); |
|
|
|
await this.get({ index, columnHeader }).click(); |
|
|
|
|
|
|
|
|
|
|
|
let counter = 0; |
|
|
|
let counter = 0; |
|
|
|