Skip to content

Commit

Permalink
Modify the right click
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinaj committed Sep 3, 2020
1 parent 92c8359 commit d9e1cfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/testing/src/lib/core/pages/data-table/data-table-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export class DataTableItem {

async rightClickOnRow(columnName: string, columnValue: string): Promise<void> {
const row = await this.getRow(columnName, columnValue);
await BrowserActions.rightClick(row);
await browser.actions().mouseMove(row).perform();
await browser.actions().click(row, protractor.Button.RIGHT).perform();
}

async waitForFirstRow(): Promise<void> {
Expand Down

0 comments on commit d9e1cfe

Please sign in to comment.