grafana/e2e
Brendan O'Handley 639bf3036d
Prometheus: Add e2e tests for decoupling (#80333)
* update selectors for prom

* add selector to switch component, needs id instead of testid

* add testid and ids to Prom settings

* add e2e tests for prom config

* add config to editor test

* export select function

* start query editor spec

* clean up describe

* add selectors for general query editor

* add selectors to components in options in best locations

* wrap header switch in id because component doesn't accept testid nor id

* add id to wrap legend components in one selector

* update selector in shared folder component, note to change in shared library

* update selector in shared folder component, note to change in shared library

* add notes for selectors in shared folder

* add tests and file for query editor

* add selectors for metrics browser in code editor

* add selector to component to open metrics browser

* add selectors to components within the metrics browser

* add tests for metrics browser and stub resource calls

* add selectors to query builder components

* add e2e tests for query builder

* generic query builder test with hints

* add selectors for more code editor parts

* add test for code and update selector

* fix tests with selector

* remove shared folder changes and use data-testid where possible

* remove unused import

* share getResources

* create variable query editor selectors

* add selectors to the variable query editor

* add e2e tests for the Prometheus variable query editor

* fix test function

* refactor add data source method

* add annotation selectors

* add selectors to annotation components

* add annotation e2e tests

* commit for yarn i18n:extract error in drone
2024-01-22 08:42:24 -06:00
..
benchmarks Chore: consolidate e2e scripts in package.json (#74906) 2023-09-14 15:00:29 +01:00
cloud-plugins-suite Chore: Remove more stuff from the e2e object (#75513) 2023-09-27 11:33:00 +01:00
custom-plugins Sandbox: Add e2e tests to test global variables access (#76598) 2023-10-16 15:00:46 +02:00
cypress Chore: Remove compareScreenshot + blink-diff dependency from core (#77920) 2023-11-09 13:18:12 +00:00
dashboards Live: Add dashboard E2E smoke test (#79880) 2023-12-27 13:31:09 -05:00
dashboards-suite CustomVariable: Be able to edit them using scenes (#80193) 2024-01-17 19:14:01 +02:00
panels-suite Transformations: Move transformation addition into drawer (#78299) 2023-12-01 14:08:54 -06:00
shared Chore: Remove more stuff from the e2e object (#75513) 2023-09-27 11:33:00 +01:00
smoke-tests-suite Chore: Remove some hardcoded waits from e2e tests (#75515) 2023-09-27 14:25:04 +01:00
utils Chore: Remove compareScreenshot + blink-diff dependency from core (#77920) 2023-11-09 13:18:12 +00:00
various-suite Prometheus: Add e2e tests for decoupling (#80333) 2024-01-22 08:42:24 -06:00
verify/specs Chore: remove scenario wrapping in cypress tests (#74674) 2023-09-13 13:24:20 +01:00
log-reporter.js Fix: Report E2E result stack trace (#60596) 2022-12-20 20:36:18 +02:00
run-suite Chore: consolidate e2e scripts in package.json (#74906) 2023-09-14 15:00:29 +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: Move to Cypress 12 and decouple cypress from @grafana/e2e (#74084) 2023-09-08 16:51:59 +01:00
verify-release Update verify-release script (#58812) 2022-11-18 16:47:13 +00:00