Joe Li 2ce3b10b8b test(auth): add comprehensive test coverage for OAuth/LDAP APP_ROOT fix
Significantly improved test quality from 6/10 to 9/10 by adding comprehensive test coverage:

 Critical Improvements:
- Fixed SupersetClient mock issue using jest.spyOn() pattern
- Enabled critical regression test that verifies no double-prefixing occurs
- Added full APP_ROOT test coverage for Register component

📊 Test Statistics:
- Login tests: increased from 8 to 28 tests (250% increase)
- Register tests: increased from 3 to 7 tests (133% increase)
- Total: 35 comprehensive tests (218% increase from 11)

🧪 New Test Categories Added:

1. Edge Cases:
   - Empty providers array handling
   - Invalid provider objects (null names, missing icons)
   - Special characters in provider names
   - Very long provider names
   - Mixed auth types
   - Null/undefined configurations

2. Integration Tests:
   - Full login flow with session storage verification
   - Loading state during form submission
   - Form validation (required fields)
   - Password visibility toggle
   - Form reset on navigation

3. User Interaction Tests:
   - Keyboard navigation for accessibility
   - Tab order verification
   - Uses @testing-library/user-event for better simulation

4. Error State Tests:
   - Network error handling
   - Malformed bootstrap data
   - Missing sessionStorage handling
   - OAuth providers with malformed URLs
   - Error message display from session storage

This ensures the OAuth/LDAP APP_ROOT fix is thoroughly tested and prevents regressions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 09:28:21 -07:00
2024-04-15 11:21:42 -06:00
2025-09-12 09:21:37 +01:00

Superset

License Latest Release on Github Build Status PyPI version Coverage Status PyPI Get on Slack Documentation

Superset logo (light)

A modern, enterprise-ready business intelligence web application.

Why Superset? | Supported Databases | Installation and Configuration | Release Notes | Get Involved | Contributor Guide | Resources | Organizations Using Superset

Why Superset?

Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.

Superset provides:

  • A no-code interface for building charts quickly
  • A powerful, web-based SQL Editor for advanced querying
  • A lightweight semantic layer for quickly defining custom dimensions and metrics
  • Out of the box support for nearly any SQL database or data engine
  • A wide array of beautiful visualizations to showcase your data, ranging from simple bar charts to geospatial visualizations
  • Lightweight, configurable caching layer to help ease database load
  • Highly extensible security roles and authentication options
  • An API for programmatic customization
  • A cloud-native architecture designed from the ground up for scale

Screenshots & Gifs

Video Overview

superset-video-1080p.webm


Large Gallery of Visualizations


Craft Beautiful, Dynamic Dashboards


No-Code Chart Builder


Powerful SQL Editor


Supported Databases

Superset can query data from any SQL-speaking datastore or data engine (Presto, Trino, Athena, and more) that has a Python DB-API driver and a SQLAlchemy dialect.

Here are some of the major database solutions that are supported:

redshift google-bigquery snowflake trino presto databricks druid firebolt timescale postgresql mysql mssql-server db2 sqlite sybase mariadb vertica oracle firebird greenplum clickhouse exasol monet-db apache-kylin hologres netezza pinot teradata yugabyte databend starrocks doris oceanbase sap-hana denodo ydb TDengine

A more comprehensive list of supported databases along with the configuration instructions can be found here.

Want to add support for your datastore or data engine? Read more here about the technical requirements.

Installation and Configuration

Try out Superset's quickstart guide or learn about the options for production deployments.

Get Involved

Contributor Guide

Interested in contributing? Check out our CONTRIBUTING.md to find resources around contributing along with a detailed guide on how to set up a development environment.

Resources

  • Superset "In the Wild" - open a PR to add your org to the list!
  • Feature Flags - the status of Superset's Feature Flags.
  • Standard Roles - How RBAC permissions map to roles.
  • Superset Wiki - Tons of additional community resources: best practices, community content and other information.
  • Superset SIPs - The status of Superset's SIPs (Superset Improvement Proposals) for both consensus and implementation status.

Understanding the Superset Points of View

Repo Activity

Performance Stats of apache/superset - Last 28 days
Languages
Python 38%
TypeScript 37.8%
Jupyter Notebook 21.3%
HTML 2.3%
JavaScript 0.3%
Other 0.2%