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:
+2
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user