mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
0f6ae272e9
* e2e: Fix running any suite locally * Fixed issue with testFiles filter when specifying suite name * unrelated * fixed import paths to shared * Moving dashboards to root
26 lines
800 B
TypeScript
26 lines
800 B
TypeScript
import { e2e } from '@grafana/e2e';
|
|
|
|
e2e.scenario({
|
|
describeName: 'Explore',
|
|
itName: 'Basic path through Explore.',
|
|
addScenarioDataSource: false,
|
|
addScenarioDashBoard: false,
|
|
skipScenario: false,
|
|
scenario: () => {
|
|
e2e.pages.Explore.visit();
|
|
e2e.pages.Explore.General.container().should('have.length', 1);
|
|
e2e.components.RefreshPicker.runButtonV2().should('have.length', 1);
|
|
|
|
e2e.components.DataSource.TestData.QueryTab.scenarioSelectContainer()
|
|
.should('be.visible')
|
|
.within(() => {
|
|
e2e().get('input[id*="test-data-scenario-select-"]').should('be.visible').click();
|
|
});
|
|
|
|
cy.contains('CSV Metric Values').scrollIntoView().should('be.visible').click();
|
|
|
|
const canvases = e2e().get('canvas');
|
|
canvases.should('have.length', 1);
|
|
},
|
|
});
|