mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
Add end-to-end tests for the embedded dashboard flow, validating the complete path from external app through the @superset-ui/embedded-sdk to dashboard rendering in an iframe with guest token authentication. New test infrastructure: - Minimal static HTML test app served by Node.js http server in fixture - EmbeddedPage page object for iframe interaction - API helpers for embedded config and guest token management - chromium-embedded Playwright project with dedicated test matching Tests cover: - Dashboard rendering in embedded iframe via SDK - UI config options (hideTitle, hideTab, hideChartControls) - Native filter functionality in embedded mode - allowed_domains referrer validation (403 for unauthorized origins) - Guest token authentication and data access Config changes: - Enable EMBEDDED_SUPERSET feature flag in test config - Add CORS config for embedded test app origin (localhost:9000) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>