|
|
@ -18,9 +18,9 @@ export class CheckboxCellPageObject extends BasePage { |
|
|
|
return await this.get({ index, columnHeader }).locator('.nc-cell').click(); |
|
|
|
return await this.get({ index, columnHeader }).locator('.nc-cell').click(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async isChecked({ index, columnHeader }: { index?: number; columnHeader: string }) { |
|
|
|
// async isChecked({ index, columnHeader }: { index?: number; columnHeader: string }) {
|
|
|
|
return await this.get({ index, columnHeader }).locator('.nc-cell-hover-show').isVisible(); |
|
|
|
// return await this.get({ index, columnHeader }).locator('.nc-cell-hover-show').isVisible();
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
async verifyChecked({ index, columnHeader }: { index?: number; columnHeader: string }) { |
|
|
|
async verifyChecked({ index, columnHeader }: { index?: number; columnHeader: string }) { |
|
|
|
await expect(this.get({ index, columnHeader }).locator('.nc-cell-hover-show')).not.toBeVisible(); |
|
|
|
await expect(this.get({ index, columnHeader }).locator('.nc-cell-hover-show')).not.toBeVisible(); |
|
|
|