mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[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:
committed by
Cilibiu Bogdan
parent
66f9442563
commit
fb6ba7cf6a
@@ -2,7 +2,7 @@
|
||||
* @license
|
||||
* Alfresco Example Content Application
|
||||
*
|
||||
* Copyright (C) 2005 - 2019 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
||||
*
|
||||
* This file is part of the Alfresco Example Content Application.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @license
|
||||
* Alfresco Example Content Application
|
||||
*
|
||||
* Copyright (C) 2005 - 2019 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
||||
*
|
||||
* This file is part of the Alfresco Example Content Application.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @license
|
||||
* Alfresco Example Content Application
|
||||
*
|
||||
* Copyright (C) 2005 - 2019 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
||||
*
|
||||
* This file is part of the Alfresco Example Content Application.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
|
||||
Reference in New Issue
Block a user