[ACA-2874] improve the execution time of actions-available tests (#1307)

* some refactoring trying to improve the execution time of actions-available tests

* copyright update
This commit is contained in:
Adina Parpalita
2020-01-17 16:49:58 +02:00
committed by Cilibiu Bogdan
parent 66f9442563
commit fb6ba7cf6a
42 changed files with 1283 additions and 1979 deletions

View File

@@ -276,11 +276,11 @@ export class DataTable extends Component {
async selectMultipleItems(names: string[], location: string = ''): Promise<void> {
await this.clearSelection();
await browser.actions().sendKeys(protractor.Key.COMMAND).perform();
await Utils.pressCmd();
for (const name of names) {
await this.selectItem(name, location);
}
await browser.actions().sendKeys(protractor.Key.NULL).perform();
await Utils.releaseKeyPressed();
}
async clearSelection(): Promise<void> {