Annotation query: Render query result in alert box (#83230)

* add alert to annotation result

* cleanup

* add tests

* more refactoring

* apply pr feedback

* change severity

* use toHaveAlert matcher
This commit is contained in:
Erik Sundell
2024-03-18 14:26:56 +01:00
committed by GitHub
parent 5b085976bf
commit ebcca97052
5 changed files with 187 additions and 65 deletions

View File

@@ -529,6 +529,10 @@ export const Components = {
Annotations: {
annotationsTypeInput: 'annotations-type-input',
annotationsChoosePanelInput: 'choose-panels-input',
editor: {
testButton: 'data-testid annotations-test-button',
resultContainer: 'data-testid annotations-query-result-container',
},
},
Tooltip: {
container: 'data-testid tooltip',