mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-4432] Upload Dialog overlaps Upload New Version dialog (#2138)
* fix upload dialog z-index issue * Fix MNT-21058 * remove unused import Co-authored-by: iuliaib <iulia.burca@ness.com>
This commit is contained in:
parent
076a7f6a61
commit
fbdedd2eb7
@ -262,6 +262,9 @@ describe('Viewer actions', () => {
|
||||
await uploadNewVersionDialog.uploadButton.click();
|
||||
await uploadNewVersionDialog.waitForDialogToClose();
|
||||
|
||||
await viewer.waitForViewerToOpen();
|
||||
await viewer.waitForFileTitleToBeDisplayed(docxFile);
|
||||
|
||||
await toolbar.openMoreMenu();
|
||||
expect(await toolbar.menu.cancelEditingAction.isPresent()).toBe(false, `'Cancel Editing' button shouldn't be shown`);
|
||||
expect(await toolbar.menu.editOfflineAction.isPresent()).toBe(true, `'Edit Offline' should be shown`);
|
||||
|
@ -54,6 +54,15 @@ export class Viewer extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
async waitForFileTitleToBeDisplayed(fileTitle: string): Promise<void> {
|
||||
try {
|
||||
const fileName = this.byCssText('.adf-viewer__display-name', `${fileTitle}`);
|
||||
await waitForPresence(fileName);
|
||||
} catch (error) {
|
||||
Logger.error('\n-----> catch waitForFileTitle <-----\n', error);
|
||||
}
|
||||
}
|
||||
|
||||
async waitForTxtViewerToLoad(): Promise<void> {
|
||||
try {
|
||||
await this.waitForViewerToOpen();
|
||||
|
@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
adf-file-uploading-dialog {
|
||||
z-index: 1100;
|
||||
z-index: 1000;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user