Selectors: Add selectors for alert rule steps (#99553)

* add selectors for alert rule steps

* refactor alert rule tests
This commit is contained in:
Erik Sundell
2025-01-27 13:57:31 +01:00
committed by GitHub
parent 103a8f0793
commit 394d081df2
3 changed files with 14 additions and 7 deletions
@@ -661,6 +661,12 @@ export const versionedComponents = {
newEvaluationGroupCreate: {
'11.1.0': 'data-testid alert-rule new-evaluation-group-create-button',
},
step: {
'11.5.0': (stepNo: string) => `data-testid alert-rule step-${stepNo}`,
},
stepAdvancedModeSwitch: {
'11.5.0': (stepNo: string) => `data-testid advanced-mode-switch step-${stepNo}`,
},
},
Alert: {
alertV2: {