grafana/public/test
Laura Benz 9400ccf478
Glue: Validate target query in correlations page (#57245)
* feat: add draft version of validate button

* feat: add some styling and basics

* temp: intermediate result

* refactor: solve TODOs

* refactor: replace string in state

* refactor: replace error message style

* refactor: set validate state on change in ds

* refactor: add QueryRunner

* refactor: add QueryRunner

* temp: temporary status

* Emit PanelData to check if the query is valid

* refactor: clean up

* refactor: improve a11y of error message and adjust test

* Remove deprecated property call, change equality

* refactor: add changes from code review

* refactor: remove memory leak

* refactor: replace query runner

* refactor: adjust error handling

* refactor: move testing to related unit test

* refactor: clean up test for QueryEditorField

* refactor: clean up test for CorrelationsPage

* refactor: repair test

* refactor: clean up

* refactor: add refId in order avoid errors when running Loki queries

* refactor: replace buildQueryTransaction + set query to invalid if query is empty

* refactor: add empty query value to test cases

* refactor: end handleValidation after setIsValidQuery()

* refactor: refactor test

* refactor: fix last two tests

* refactor: modify validation

* refactor: add happy path

* refactor: clean up

* refactor: clean up tests (not final)

* refactor: further clean up

* refactor: add condition for failing

* refactor: finish clean up

* refactor: changes from code review

* refactor: add response state to condition

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* refactor: fix prettier issue

* refactor: remove unused return

* refactor: replace change in queryAnalytics.ts

* refactor: remove correlations from query analytics

* refactor: remove unnecessary test preparation

* refactor: revert changes from commit 4997327

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2023-01-12 11:43:40 +01:00
..
core Update dependency @reduxjs/toolkit to v1.9.0 (#58247) 2022-12-08 17:27:38 +00:00
helpers grafana/data: Move getPanelOptionsWithDefaults from core (#60813) 2022-12-29 05:48:22 -08:00
lib remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
matchers Chore: some type fixes (#59030) 2022-11-29 15:52:08 +00:00
mocks Glue: Validate target query in correlations page (#57245) 2023-01-12 11:43:40 +01:00
specs Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
.jshintrc feat(templating): lots of progress on template variable context specific formats, #2918, all elasticsearch / lucene use cases seem to work now 2016-03-01 08:43:54 +01:00
global-jquery-shim.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
jest-resolver.js Chore: Upgrade to jest 28 (#49679) 2022-05-30 14:14:34 +01:00
jest-setup.ts Angular: auto-migrate graph panel when angular is disabled (#59247) 2022-11-23 13:32:52 -08:00
jest-shim.ts Update dependency @types/node to v14 (#40405) 2021-10-21 16:52:26 +02:00
log-reporter.js test: Fix Jest reporter (#60810) 2022-12-29 03:14:09 -05:00
redux-rtl.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
setupTests.ts Scenes: Add query variable support (#59553) 2022-12-12 04:01:27 -08:00