mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Removes all references and usage of PhantomJS #23375. Remove direct link rendered image e2e smoke test for now. Docker: Fix installing chrome in ubuntu custom docker image. Improve handling of image renderer not available/installed #23593. Add PhantomJS breaking change and upgrading notes. Use grabpl v0.2.10. Closes #13802 Co-authored-by: Kyle Brandt <kyle@grafana.com> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
28 lines
983 B
TypeScript
28 lines
983 B
TypeScript
import { e2e } from '@grafana/e2e';
|
|
|
|
e2e.scenario({
|
|
describeName: 'Smoke tests',
|
|
itName: 'Login scenario, create test data source, dashboard, panel, and export scenario',
|
|
addScenarioDataSource: true,
|
|
addScenarioDashBoard: true,
|
|
skipScenario: false,
|
|
scenario: () => {
|
|
// @todo remove `@ts-ignore` when possible
|
|
// @ts-ignore
|
|
e2e.getScenarioContext().then(({ lastAddedDashboardUid }) => {
|
|
e2e.flows.openDashboard(lastAddedDashboardUid);
|
|
});
|
|
e2e.pages.Dashboard.Toolbar.toolbarItems('Add panel').click();
|
|
e2e.pages.AddDashboard.ctaButtons('Add Query').click();
|
|
|
|
e2e.pages.Dashboard.Panels.DataSource.TestData.QueryTab.scenarioSelect().select('CSV Metric Values');
|
|
|
|
e2e.pages.Dashboard.Panels.Visualization.Graph.VisualizationTab.xAxisSection()
|
|
.contains('Show')
|
|
.click();
|
|
|
|
// e2e.pages.Dashboard.Panels.Panel.title('Panel Title').click();
|
|
// e2e.pages.Dashboard.Panels.Panel.headerItems('Inspect').click();
|
|
},
|
|
});
|