Prometheus: Migrate remaining selectors to data-testid (#106564)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { selectors } from '@grafana/e2e-selectors';
|
||||
|
||||
import { e2e } from '../utils';
|
||||
import { addDashboard } from '../utils/flows';
|
||||
|
||||
@@ -57,7 +55,7 @@ describe('Prometheus annotations', () => {
|
||||
|
||||
// check for other parts of the annotations
|
||||
// min step
|
||||
cy.get(`#${selectors.components.DataSource.Prometheus.annotations.minStep}`);
|
||||
e2e.components.DataSource.Prometheus.annotations.minStep().should('exist');
|
||||
|
||||
// title
|
||||
e2e.components.DataSource.Prometheus.annotations.title().scrollIntoView().should('exist');
|
||||
|
||||
Reference in New Issue
Block a user