[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:
Urse Daniel
2021-05-15 09:41:46 +03:00
committed by GitHub
parent 076a7f6a61
commit fbdedd2eb7
3 changed files with 13 additions and 1 deletions

View File

@@ -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();