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
54565349
Unverified
Commit
54565349
authored
Jun 05, 2020
by
Hugo Häggmark
Committed by
GitHub
Jun 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e: uses e2e() instead of cy to make things consistent (#25390)
parent
05a5a66e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
e2e/suite1/specs/panelEdit_queries.spec.ts
+6
-6
No files found.
e2e/suite1/specs/panelEdit_queries.spec.ts
View file @
54565349
...
...
@@ -50,7 +50,7 @@ e2e.scenario({
.
should
(
'be.visible'
)
.
click
();
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
// We expect row with refId B to exist and be visible
e2e
.
components
.
QueryEditorRows
.
rows
().
within
(
rows
=>
{
...
...
@@ -73,7 +73,7 @@ e2e.scenario({
.
eq
(
1
)
.
select
(
'CSV Metric Values'
);
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
// Change order or query rows
// Check the order of the rows before
...
...
@@ -94,7 +94,7 @@ e2e.scenario({
.
eq
(
1
)
.
click
();
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
// Check the order of the rows after change
e2e
.
components
.
QueryEditorRows
.
rows
()
...
...
@@ -122,7 +122,7 @@ e2e.scenario({
.
should
(
'be.visible'
)
.
click
();
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
expectInspectorResultAndClose
(
keys
=>
{
const
length
=
keys
.
length
;
...
...
@@ -135,7 +135,7 @@ e2e.scenario({
.
should
(
'be.visible'
)
.
click
();
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
expectInspectorResultAndClose
(
keys
=>
{
const
length
=
keys
.
length
;
...
...
@@ -154,7 +154,7 @@ const expectInspectorResultAndClose = (expectCallBack: (keys: any[]) => void) =>
.
should
(
'be.visible'
)
.
click
();
cy
.
wait
(
'@apiPostQuery'
);
e2e
()
.
wait
(
'@apiPostQuery'
);
e2e
.
components
.
PanelInspector
.
Query
.
jsonObjectKeys
()
.
should
(
'be.visible'
)
...
...
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