Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
aa7d2c6a
Unverified
Commit
aa7d2c6a
authored
Apr 22, 2020
by
Torkel Ödegaard
Committed by
GitHub
Apr 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: Fixed e2e test issue due to change in testdata scenario change logic (#23774)
parent
49a90cd7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
public/app/plugins/datasource/testdata/query_ctrl.ts
+3
-2
No files found.
public/app/plugins/datasource/testdata/query_ctrl.ts
View file @
aa7d2c6a
...
@@ -88,8 +88,6 @@ export class TestDataQueryCtrl extends QueryCtrl {
...
@@ -88,8 +88,6 @@ export class TestDataQueryCtrl extends QueryCtrl {
scenarioChanged
()
{
scenarioChanged
()
{
this
.
scenario
=
_
.
find
(
this
.
scenarioList
,
{
id
:
this
.
target
.
scenarioId
});
this
.
scenario
=
_
.
find
(
this
.
scenarioList
,
{
id
:
this
.
target
.
scenarioId
});
this
.
target
.
stringInput
=
this
.
scenario
.
stringInput
;
this
.
showLabels
=
showLabelsFor
.
includes
(
this
.
target
.
scenarioId
);
if
(
this
.
target
.
scenarioId
===
'manual_entry'
)
{
if
(
this
.
target
.
scenarioId
===
'manual_entry'
)
{
this
.
target
.
points
=
this
.
target
.
points
||
[];
this
.
target
.
points
=
this
.
target
.
points
||
[];
...
@@ -121,6 +119,9 @@ export class TestDataQueryCtrl extends QueryCtrl {
...
@@ -121,6 +119,9 @@ export class TestDataQueryCtrl extends QueryCtrl {
delete
this
.
target
.
stringInput
;
delete
this
.
target
.
stringInput
;
}
}
this
.
target
.
stringInput
=
this
.
scenario
.
stringInput
??
undefined
;
this
.
showLabels
=
showLabelsFor
.
includes
(
this
.
target
.
scenarioId
);
this
.
refresh
();
this
.
refresh
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment