Skip to content

Commit

Permalink
e2eTesting: update selectors (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-K-B authored Apr 24, 2024
1 parent a6b44be commit e626fb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/plugin-e2e/src/e2e-selectors/versioned/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export const versionedComponents = {
PanelEditor: {
General: {
content: {
'11.1.0': 'data-testid Panel editor content',
[MIN_GRAFANA_VERSION]: 'Panel editor content',
},
},
Expand All @@ -107,6 +108,7 @@ export const versionedComponents = {
},
OptionsPane: {
content: {
'11.1.0': 'data-testid Panel editor option pane content',
[MIN_GRAFANA_VERSION]: 'Panel editor option pane content',
},
fieldLabel: {
Expand Down Expand Up @@ -162,9 +164,12 @@ export const versionedComponents = {
},
OptionsGroup: {
group: {
'11.1.0': (title?: string) => (title ? `data-testid Options group ${title}` : 'data-testid Options group'),
[MIN_GRAFANA_VERSION]: (title?: string) => (title ? `Options group ${title}` : 'Options group'),
},
toggle: {
'11.1.0': (title?: string) =>
title ? `data-testid Options group ${title} toggle` : 'data-testid Options group toggle',
[MIN_GRAFANA_VERSION]: (title?: string) => (title ? `Options group ${title} toggle` : 'Options group toggle'),
},
groupTitle: {
Expand Down

0 comments on commit e626fb8

Please sign in to comment.