grafana/e2e
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
..
benchmarks Chore: consolidate e2e scripts in package.json (#74906) 2023-09-14 15:00:29 +01:00
cypress Frontend: use custom conditions for development and build (#111685) 2025-12-18 11:47:38 +01:00
dashboards Refactor dashboard import to separate k8s and legacy paths (#116482) 2026-02-02 07:14:01 -07:00
dashboards-search-suite chore(unified): remove unifiedStorageSearchSprinkles feature toggle (#116139) 2026-01-13 11:24:13 +01:00
extensions [Enterprise] Consolidate extensions folders and keep them around (#98486) 2025-02-17 14:00:21 +01:00
internal E2E: Use standalone Image Renderer for tests instead of plugin (#112266) 2025-10-14 09:21:54 +02:00
old-arch Suggestions: improve styling for new version (#114381) 2025-12-02 11:36:46 -08:00
shared Dashboards: Enable scenes by default (#93818) 2024-09-30 10:49:02 +01:00
utils Add v2beta1 api version: Consolidate schema breaking changes (#108172) 2025-07-30 15:01:27 +02:00
log-reporter.js Fix: Report E2E result stack trace (#60596) 2022-12-20 20:36:18 +02:00
main.go Actions: Introduce A11y test (#106806) 2025-06-19 08:20:03 +02:00
pa11yci.conf.js UserAdmin: Inform about enterprise user features (#106632) 2025-06-30 17:23:11 +02:00
run-suite E2E: Remove cypress dashboards-suite (#109038) 2025-08-05 10:09:49 +01:00
start-and-run-suite Revert "Chore: Wrap custom configuration in development environment check" (#70831) 2023-06-28 15:23:45 +03:00
tsconfig.json Chore: Remove @grafana/tsconfig (#109186) 2025-08-06 15:34:34 +01:00
verify-release Update verify-release script (#58812) 2022-11-18 16:47:13 +00:00