sadpandajoe opened a new pull request, #38377:
URL: https://github.com/apache/superset/pull/38377

   ### SUMMARY
   
   Add Playwright E2E tests for the Dashboard List page, mirroring the existing 
chart list test patterns. Covers five operations: single delete, single export, 
bulk delete, bulk export, and import.
   
   **New files:**
   - `playwright/helpers/api/dashboard.ts` — CRUD + export/search API helpers 
with proper Rison encoding
   - `playwright/pages/DashboardListPage.ts` — Page object composing `Table` + 
`BulkSelect` + `Button` components
   - `playwright/tests/experimental/dashboard/dashboard-test-helpers.ts` — 
`createTestDashboard()` factory
   - `playwright/tests/experimental/dashboard/dashboard-list.spec.ts` — 5 test 
cases
   
   **Modified:**
   - `playwright/helpers/fixtures/testAssets.ts` — Added `trackDashboard()` 
with FK-ordered cleanup (dashboards → charts → datasets → databases)
   
   **Import test approach:** Export-then-reimport at test time (no static 
fixture needed, no environment coupling). Uses the shared `ImportModelsModal` 
UI via `ImportDatasetModal` page object.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A — test-only change
   
   ### TESTING INSTRUCTIONS
   ```bash
   cd superset-frontend
   INCLUDE_EXPERIMENTAL=true npx playwright test 
tests/experimental/dashboard/dashboard-list.spec.ts --project=chromium
   ```
   
   Requires Superset running with `--load-examples` and admin user 
authenticated via global-setup.
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to