mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-820] add tests for Copy content (#899)
* add tests for Copy content * fix * forgot some ids * update expected favorites number
This commit is contained in:
committed by
Denys Vuika
parent
f0a3f6f630
commit
b61b54d5e9
@@ -102,6 +102,13 @@ export class CopyMoveDialog extends Component {
|
||||
return this.dataTable.element(by.cssContainingText('.adf-name-location-cell', folderName));
|
||||
}
|
||||
|
||||
async doubleClickOnRow(name: string) {
|
||||
const item = this.getRow(name);
|
||||
await Utils.waitUntilElementClickable(item);
|
||||
await browser.actions().mouseMove(item).perform();
|
||||
await browser.actions().click().click().perform();
|
||||
}
|
||||
|
||||
async selectLocation(location: 'Personal Files' | 'File Libraries') {
|
||||
await this.locationDropDown.click();
|
||||
await this.waitForDropDownToOpen();
|
||||
|
Reference in New Issue
Block a user