mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-4504] FE - [ADF] Fetch destination Folder Path from a static path (#6557)
* [AAE4504] FE - [ADF] Fetch destination Folder Path from a static path * * Added condition to check destination folder path * * Added typescript way to check * Fix attach file from local e2e * * Added unit tests to the recent changes * * Fixed comments Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { by, element } from 'protractor';
|
||||
import { by, element, browser } from 'protractor';
|
||||
import { DocumentListPage } from '../pages/document-list.page';
|
||||
import { BrowserVisibility } from '../../core/utils/browser-visibility';
|
||||
import { BrowserActions } from '../../core/utils/browser-actions';
|
||||
@@ -149,6 +149,7 @@ export class ContentNodeSelectorDialogPage {
|
||||
|
||||
const uploadButton = element(by.css('adf-upload-button input'));
|
||||
await BrowserVisibility.waitUntilElementIsPresent(uploadButton);
|
||||
await browser.sleep(500);
|
||||
await uploadButton.sendKeys(fileLocation);
|
||||
|
||||
await this.tabPage.clickTabByLabel(this.repositoryTabName);
|
||||
|
Reference in New Issue
Block a user