mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
- fix intermittent failing tests from Shared Files (#539)
- rename some methods to be more clear - use async / await - part1
This commit is contained in:
committed by
Denys Vuika
parent
262240c8ea
commit
c6f704270f
@@ -23,7 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { ElementFinder, ElementArrayFinder, by, promise } from 'protractor';
|
||||
import { ElementFinder, ElementArrayFinder, by, promise, protractor, browser } from 'protractor';
|
||||
import { Menu } from '../menu/menu';
|
||||
import { Component } from '../component';
|
||||
|
||||
@@ -61,4 +61,8 @@ export class ToolbarActions extends Component {
|
||||
.then(() => this.menu.waitForMenuToOpen())
|
||||
.then(() => this.menu);
|
||||
}
|
||||
|
||||
closeMoreMenu() {
|
||||
return browser.actions().sendKeys(protractor.Key.ESCAPE).perform();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user