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
0e952d5e
Unverified
Commit
0e952d5e
authored
Dec 09, 2019
by
Hugo Häggmark
Committed by
GitHub
Dec 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor: Navigates directly to add data source page instead (#20959)
parent
fc00d833
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
+1
-4
packages/grafana-e2e/src/flows/addDataSource.ts
+1
-3
packages/grafana-e2e/src/pages/datasources.ts
+0
-1
No files found.
packages/grafana-e2e/src/flows/addDataSource.ts
View file @
0e952d5e
...
...
@@ -3,9 +3,7 @@ import { e2e } from '../index';
export
const
addDataSource
=
(
pluginName
?:
string
):
string
=>
{
pluginName
=
pluginName
||
'TestData DB'
;
e2e
.
pages
.
DataSources
.
visit
();
e2e
.
pages
.
DataSources
.
addDataSource
().
click
();
e2e
.
pages
.
AddDataSource
.
visit
();
e2e
.
pages
.
AddDataSource
.
dataSourcePlugins
(
pluginName
).
click
();
const
dataSourceName
=
`e2e-
${
new
Date
().
getTime
()}
`
;
...
...
packages/grafana-e2e/src/pages/datasources.ts
View file @
0e952d5e
...
...
@@ -4,6 +4,5 @@ export const DataSources = pageFactory({
url
:
'/datasources'
,
selectors
:
{
dataSources
:
(
dataSourceName
:
string
)
=>
`Data source list item
${
dataSourceName
}
`
,
addDataSource
:
()
=>
'.page-action-bar > .btn'
,
},
});
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