Files
superset2/tests/unit_tests/utils
Elizabeth Thompson 7730afa27c fix(reports): fail report on tiled screenshot error instead of sending blank PDF
When take_tiled_screenshot returns None, the previous fallback immediately took
a standard element.screenshot() with no spinner check or animation wait, which
produced a blank image that silently became a blank PDF sent to recipients.

Remove the fallback: return None instead, which propagates up through
_get_screenshots() → ReportScheduleScreenshotFailedError → ERROR execution
state with owner notification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 00:10:38 +00:00
..