@grafana/e2e: improvements (#25708)

* Set time range when opening a dashboard

* Set UTC timezone when creating a dashboard

* Added flow for selecting options in custom select fields

* Fix flaky test
This commit is contained in:
Steven Vachon
2020-06-26 13:33:05 -04:00
committed by GitHub
parent 5d7cd2e9fc
commit fb3bec058a
17 changed files with 102 additions and 33 deletions
+1 -3
View File
@@ -7,9 +7,7 @@ export const smokeTestScenario = {
addScenarioDashBoard: true,
skipScenario: false,
scenario: () => {
e2e.getScenarioContext().then(({ lastAddedDashboardUid }: any) => {
e2e.flows.openDashboard(lastAddedDashboardUid);
});
e2e.flows.openDashboard();
e2e.pages.Dashboard.Toolbar.toolbarItems('Add panel').click();
e2e.pages.AddDashboard.addNewPanel().click();