e2e: Migrates query variable CRUD tests to new framework (#21146)

* Refactor: Adds params to visit

* Refactor: Restructures exported Pages somewhat

* Refactor: Moves more into new framework but holdup because of bugs in digest

* Refactor: Finish migrating templating e2e tests to new framework

* Refactor: Changes after merge with master

* Refactor: Removes weird change

* Refactor: Adds duplication test

* Refactor: Adds move down and move up variable asserts

* Refactor: Adds some test to value select dropdown
This commit is contained in:
Hugo Häggmark
2019-12-18 06:13:58 +01:00
committed by GitHub
parent 331bc173cc
commit 841cffbe9a
27 changed files with 853 additions and 121 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ export class TestDataQueryCtrl extends QueryCtrl {
selectedPoint: any;
showLabels = false;
selectors: typeof e2e.pages.Panels.DataSource.TestData.QueryTab.selectors;
selectors: typeof e2e.pages.Dashboard.Panels.DataSource.TestData.QueryTab.selectors;
/** @ngInject */
constructor($scope: any, $injector: any) {
@@ -42,7 +42,7 @@ export class TestDataQueryCtrl extends QueryCtrl {
this.newPointTime = dateTime();
this.selectedPoint = { text: 'Select point', value: null };
this.showLabels = showLabelsFor.includes(this.target.scenarioId);
this.selectors = e2e.pages.Panels.DataSource.TestData.QueryTab.selectors;
this.selectors = e2e.pages.Dashboard.Panels.DataSource.TestData.QueryTab.selectors;
}
getPoints() {