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:
Alfresco Build
2025-04-11 14:58:38 +02:00
committed by GitHub
parent de9b74619d
commit 215881b0cd
3 changed files with 37 additions and 37 deletions

View File

@@ -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> {