Skip to content

Commit

Permalink
max timeout 30s or it doesn't make sense
Browse files Browse the repository at this point in the history
  • Loading branch information
CopyDemon committed Oct 23, 2024
1 parent 2b24093 commit a96ca43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idaes_ui/fv/fsvis.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ async def _async_save_diagram(

async with async_playwright() as p:
browser = await p.chromium.launch(
headless=True, args=["--no-sandbox"], timeout=500000
headless=True, args=["--no-sandbox"], timeout=3000000
)
context = await browser.new_context(viewport={"width": 1920, "height": 1080})
page = await context.new_page()
Expand All @@ -438,7 +438,7 @@ async def _async_save_diagram(

# Click download btn on UI pop modal
async with page.expect_download() as download_info:
await page.click(".control-button", timeout=6000000)
await page.click(".control-button", timeout=3000000)

# Get download value
download = await download_info.value
Expand Down

0 comments on commit a96ca43

Please sign in to comment.