This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 5.0 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 03255819a4f9ca9aadb83dba89c440beed4b51cb Author: Daniel Höxtermann <[email protected]> AuthorDate: Mon Apr 14 21:20:39 2025 +0200 fix(playwright): allow screenshotting empty dashboards (#33107) (cherry picked from commit 2233c02720f30e01198e2e8a1367902d29c59729) --- superset/utils/webdriver.py | 1 - 1 file changed, 1 deletion(-) diff --git a/superset/utils/webdriver.py b/superset/utils/webdriver.py index 8493a1f364..0ad2c5eb6b 100644 --- a/superset/utils/webdriver.py +++ b/superset/utils/webdriver.py @@ -191,7 +191,6 @@ class WebDriverPlaywright(WebDriverProxy): # chart containers didn't render logger.debug("Wait for chart containers to draw at url: %s", url) slice_container_locator = page.locator(".chart-container") - slice_container_locator.first.wait_for() for slice_container_elem in slice_container_locator.all(): slice_container_elem.wait_for() except PlaywrightTimeout:
