This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9695249976 fix(screenshots): Change default for 
`SCREENSHOT_PLAYWRIGHT_WAIT_EVENT` to `domcontentloaded` (#34114)
9695249976 is described below

commit 9695249976343a0763b100c110757867a0dcf41a
Author: Evan Rusackas <e...@preset.io>
AuthorDate: Thu Jul 10 12:33:40 2025 +0300

    fix(screenshots): Change default for `SCREENSHOT_PLAYWRIGHT_WAIT_EVENT` to 
`domcontentloaded` (#34114)
---
 superset/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/config.py b/superset/config.py
index 0e336b34ea..a2e92c52bf 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -797,7 +797,7 @@ SCREENSHOT_WAIT_FOR_ERROR_MODAL_INVISIBLE = 5
 # Event that Playwright waits for when loading a new page
 # Possible values: "load", "commit", "domcontentloaded", "networkidle"
 # Docs: 
https://playwright.dev/python/docs/api/class-page#page-goto-option-wait-until
-SCREENSHOT_PLAYWRIGHT_WAIT_EVENT = "load"
+SCREENSHOT_PLAYWRIGHT_WAIT_EVENT = "domcontentloaded"
 # Default timeout for Playwright browser context for all operations
 SCREENSHOT_PLAYWRIGHT_DEFAULT_TIMEOUT = int(
     timedelta(seconds=60).total_seconds() * 1000

Reply via email to