mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Improve a datatable e2e method (#7470)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user