grafana/e2e-playwright
Ivan Ortega Alba 381cc6555d
Refactor dashboard import to separate k8s and legacy paths (#116482)
* when importing v1 dashboard, use POST

* fix es-lint

* cleanup

* Isolate legacy import api usage

* Update translations

* Improve type detection

* Refactor types and utils to avoid duplication and isolate them in legacy when needed

* Use types from manage-dashboard since it is used from other files out of import

* Avoid regressions

* Fix linting and tests

* Improve types

* Consilidate api utils checkers

* Split ImportOverview in two versions

* simplify utils

* Fix tests

* Rename to ExportFormat

* linter

* refactor tests

* add gap

* add gap on ImportForm

* Update public/app/core/utils/isRecord.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* clean up

* fix layout

* fix mock

* update kind when exporting to be DashboardWithAccessInfo

* remove type assertions; don't process built in annotations

* update E2Es to use correct dashboard kind

* update export test

* another e2e

* fix v2 dash for e2e

* check for "Dashboard" when checking for a resource

* update test

---------

Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2026-02-02 07:14:01 -07:00
..
alerting-suite Alerting: Make saved search name clickable to apply search (#116832) 2026-01-27 17:04:40 +01:00
cloud-plugins-suite Azure: Resource picker improvements (#109458) (#109520) 2025-09-02 11:02:01 +01:00
dashboard-cujs Scopes: Add RTK Query API client for caching (#115494) 2026-01-13 13:09:08 +01:00
dashboard-new-layouts Dashboard: Do not select element always (#116986) 2026-01-30 08:43:43 +01:00
dashboards Refactor dashboard import to separate k8s and legacy paths (#116482) 2026-02-02 07:14:01 -07:00
dashboards-search-suite E2E: migrate to playwright (#107241) 2025-07-11 10:31:33 +01:00
dashboards-suite Modal/Drawer: Switch to use floating-ui's focus trapping (#116017) 2026-01-09 16:47:25 +00:00
extensions Playwright: Changes needed for enterprise tests (#110424) 2025-09-03 15:45:54 +01:00
fixtures E2E: Fix trace-view-scrolling test flakiness (#111896) 2025-10-02 09:29:10 +01:00
panels-suite E2E: Use updated plugin-e2e setVisualization method (#116558) 2026-01-20 15:28:37 -06:00
plugin-e2e Chore: Add OpenFeature tests (#117055) 2026-01-30 09:45:32 +01:00
smoke-tests-suite Suggestions: Set up editPreview on panel creation too (#116156) 2026-01-15 19:54:18 +00:00
storybook E2E: fix storybook e2e playwright test (#108010) 2025-07-11 10:50:00 +00:00
test-plugins E2E: Use updated plugin-e2e setVisualization method (#116558) 2026-01-20 15:28:37 -06:00
unauthenticated Playwright: Acceptance tests (#108770) 2025-07-28 17:32:18 +01:00
utils E2E: Use updated plugin-e2e setVisualization method (#116558) 2026-01-20 15:28:37 -06:00
various-suite Suggestions: Set up editPreview on panel creation too (#116156) 2026-01-15 19:54:18 +00:00
start-server Playwright: Changes needed for enterprise tests (#110424) 2025-09-03 15:45:54 +01:00