|
|
@ -322,6 +322,7 @@ export class CellPageObject extends BasePage { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async copyToClipboard({ index, columnHeader }: CellProps, ...clickOptions: Parameters<Locator['click']>) { |
|
|
|
async copyToClipboard({ index, columnHeader }: CellProps, ...clickOptions: Parameters<Locator['click']>) { |
|
|
|
|
|
|
|
await this.get({ index, columnHeader }).scrollIntoViewIfNeeded(); |
|
|
|
await this.get({ index, columnHeader }).click(...clickOptions); |
|
|
|
await this.get({ index, columnHeader }).click(...clickOptions); |
|
|
|
await (await this.get({ index, columnHeader }).elementHandle()).waitForElementState('stable'); |
|
|
|
await (await this.get({ index, columnHeader }).elementHandle()).waitForElementState('stable'); |
|
|
|
|
|
|
|
|
|
|
|