mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
grafana/e2e: Update add dashboard flow (#58360)
* Update variable editor e2e flow - Use correct selector for Variables - Add variable query form - Add label for variable apply button * Use data-testid instead of aria-label * Add jsdoc
This commit is contained in:
@@ -204,7 +204,11 @@ export class VariableEditorEditorUnConnected extends PureComponent<Props, State>
|
||||
Run query
|
||||
{loading && <Icon className="spin-clockwise" name="sync" size="sm" style={{ marginLeft: '2px' }} />}
|
||||
</Button>
|
||||
<Button variant="primary" onClick={this.onApply}>
|
||||
<Button
|
||||
variant="primary"
|
||||
onClick={this.onApply}
|
||||
data-testid={selectors.pages.Dashboard.Settings.Variables.Edit.General.applyButton}
|
||||
>
|
||||
Apply
|
||||
</Button>
|
||||
</HorizontalGroup>
|
||||
|
||||
Reference in New Issue
Block a user