Skip to content

Commit

Permalink
Improve a datatable e2e method (#7470)
Browse files Browse the repository at this point in the history
  • Loading branch information
arditdomi committed Jan 26, 2022
1 parent e98fd2d commit 3d544be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class DataTableItem {
async clickAndEnterOnRow(columnName: string, columnValue: string): Promise<void> {
const row = await this.getRow(columnName, columnValue);
await BrowserActions.click(row);
await this.checkRowIsSelected(columnName, columnValue);
await browser.actions().sendKeys(protractor.Key.ENTER).perform();
}

Expand Down

0 comments on commit 3d544be

Please sign in to comment.