grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
61.65k stars 11.76k forks source link

DashboardScene: Migrate dashboard e2e tests to scenes #87234

Closed Sergej-Vlasov closed 2 days ago

Sergej-Vlasov commented 2 months ago

There are two aspects to this migration:

### 1. Migrate e2e test suites
- [x] `dashboard-suite` https://github.com/grafana/grafana/pull/84598
- [x] `smoke-tests-suite` https://github.com/grafana/grafana/pull/84598
- [ ] https://github.com/grafana/grafana/issues/87688
- [ ] https://github.com/grafana/grafana/issues/87724
- [ ] https://github.com/grafana/grafana/issues/88910
- [ ] https://github.com/grafana/grafana/issues/89051
- [ ] https://github.com/grafana/grafana/issues/89295
- [ ] https://github.com/grafana/grafana/issues/87178
- [ ] Adjust plugin E2E selectors
- [ ] adjust old arch e2e after `dashboardScene` is enabled by default
- [ ] investigate and come up with solution for interference between scenes and old arch tests
### 2. Improve github workflow
- [ ] https://github.com/grafana/grafana/issues/87235
- [ ] https://github.com/grafana/grafana/pull/89297
- [ ] remove github workflow because we integrated in drone
ivanortegaalba commented 1 month ago

The current work is focused on migrating panel-suite E2E collection.

At the same time, we plan to start conversations this week with Backend Services to understand where is the best place to enable the E2E as part of the build process. Drone is in the progress of being migrated to GH action so we directly run the new suite there. But this creates an inconsistency or the need to keep both ways running. This is why the sync with BS team is needed