diff --git a/idaes_ui/fv/fsvis.py b/idaes_ui/fv/fsvis.py index a520cbf..ce9f2a6 100644 --- a/idaes_ui/fv/fsvis.py +++ b/idaes_ui/fv/fsvis.py @@ -418,7 +418,7 @@ async def _async_save_diagram( async with async_playwright() as p: _log.info("launch browser, Max timeout 30s") browser = await p.chromium.launch( - headless=True, args=["--no-sandbox"], timeout=3000000 + headless=True, args=["--no-sandbox"], timeout=30000 ) context = await browser.new_context(viewport={"width": 1920, "height": 1080}) page = await context.new_page() @@ -440,7 +440,7 @@ async def _async_save_diagram( _log.info("Downloading image, Max timeout 30s") # Click download btn on UI pop modal async with page.expect_download() as download_info: - await page.click(".control-button", timeout=3000000) + await page.click(".control-button", timeout=30000) # Get download value download = await download_info.value