mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
GH Auto: Upstream dependencies ADF:8.1.0-14352302445 JS-API:9.1.0-14352302445 using Tag:8.1.0-14352302445 (#4508)
* [ci:force][auto-commit] Update dependencies ADF:8.1.0-14352302445 JS:9.1.0-14352302445 * Upstream viewer tests fix 1 --------- Co-authored-by: DenysVuika <503991+DenysVuika@users.noreply.github.com> Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
This commit is contained in:
@@ -64,10 +64,10 @@ export class ViewerComponent extends BaseComponent {
|
||||
}
|
||||
|
||||
async waitForViewerToOpen(waitForViewerContent?: 'wait for viewer content'): Promise<void> {
|
||||
await this.viewerLocator.waitFor({ state: 'visible', timeout: timeouts.medium });
|
||||
if (waitForViewerContent) {
|
||||
await this.waitForViewerLoaderToFinish();
|
||||
}
|
||||
await this.viewerLocator.waitFor({ state: 'visible', timeout: timeouts.medium });
|
||||
}
|
||||
|
||||
async isViewerOpened(): Promise<boolean> {
|
||||
|
Reference in New Issue
Block a user