1d689888b0
* Updated package json but not updated source files * Update eslint plugin * updated files
26 lines
775 B
TypeScript
26 lines
775 B
TypeScript
import { e2e } from '@grafana/e2e';
|
|
|
|
e2e.scenario({
|
|
describeName: 'Explore',
|
|
itName: 'Basic path through Explore.',
|
|
addScenarioDataSource: true,
|
|
addScenarioDashBoard: false,
|
|
skipScenario: false,
|
|
scenario: () => {
|
|
e2e.pages.Explore.visit();
|
|
e2e.pages.Explore.General.container().should('have.length', 1);
|
|
e2e.pages.Explore.General.runButton().should('have.length', 1);
|
|
|
|
e2e.components.DataSource.TestData.QueryTab.scenarioSelectContainer()
|
|
.should('be.visible')
|
|
.within(() => {
|
|
e2e.components.Select.input().should('be.visible').click();
|
|
|
|
cy.contains('CSV Metric Values').scrollIntoView().should('be.visible').click();
|
|
});
|
|
|
|
const canvases = e2e().get('canvas');
|
|
canvases.should('have.length', 1);
|
|
},
|
|
});
|