Chore: Add e2e selectors to alert rule page (#86909)

wip
This commit is contained in:
Erik Sundell
2024-04-25 10:00:11 +02:00
committed by GitHub
parent 4ff5a561af
commit 0140dfdddf
4 changed files with 34 additions and 3 deletions

View File

@@ -300,6 +300,15 @@ export const Components = {
groupToggle: 'data-testid group-collapse-toggle',
toggle: 'data-testid collapse-toggle',
expandedContent: 'data-testid expanded-content',
previewButton: 'data-testid alert-rule preview-button',
ruleNameField: 'data-testid alert-rule name-field',
newFolderButton: 'data-testid alert-rule new-folder-button',
newFolderNameField: 'data-testid alert-rule name-folder-name-field',
newFolderNameCreateButton: 'data-testid alert-rule name-folder-name-create-button',
newEvaluationGroupButton: 'data-testid alert-rule new-evaluation-group-button',
newEvaluationGroupName: 'data-testid alert-rule new-evaluation-group-name',
newEvaluationGroupInterval: 'data-testid alert-rule new-evaluation-group-interval',
newEvaluationGroupCreate: 'data-testid alert-rule new-evaluation-group-create-button',
},
Alert: {
/**