mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-4427] Embed upload progress dialog inside the upload from your d… (#6575)
* [AAE-4427] Embed upload progress dialog inside the upload from your device tab in attach file widget * Fix failing unit tesT * Add unit tests * Removed not needed condition * Make upload from your device tab same size as Repository tab * Revert renaming causing breaking change * simplify if conditions * Update js-api version * Use typescript ?. operator * Add unit test for non existing datatable entries
This commit is contained in:
@@ -40,7 +40,7 @@ export class ContentNodeSelectorDialogPage {
|
||||
tabPage: TabPage = new TabPage();
|
||||
|
||||
uploadFromLocalTabName = 'Upload from your device';
|
||||
fileServerTabName = 'File server';
|
||||
repositoryTabName = 'Repository';
|
||||
|
||||
async checkDialogIsDisplayed(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.dialog);
|
||||
@@ -151,7 +151,7 @@ export class ContentNodeSelectorDialogPage {
|
||||
await BrowserVisibility.waitUntilElementIsPresent(uploadButton);
|
||||
await uploadButton.sendKeys(fileLocation);
|
||||
|
||||
await this.tabPage.clickTabByLabel(this.fileServerTabName);
|
||||
await this.tabPage.clickTabByLabel(this.repositoryTabName);
|
||||
|
||||
await this.dataTable.waitForTableBody();
|
||||
await this.dataTable.waitTillContentLoaded();
|
||||
|
Reference in New Issue
Block a user