File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { test , expect } from "@grafana/plugin-e2e" ;
2
- import { MongoDataSourceOptions , MySecureJsonData } from "../src/types" ;
3
2
4
3
test ( "\"Save & test\" should be successful when mongo without auth config is valid" , async ( {
5
4
createDataSourceConfigPage,
6
5
readProvisionedDataSource,
7
6
page,
8
7
} ) => {
9
- const ds = await readProvisionedDataSource < MongoDataSourceOptions , MySecureJsonData > ( { fileName : "test/mongo-no-auth.yml" } ) ;
8
+ const ds = await readProvisionedDataSource ( { fileName : "test/mongo-no-auth.yml" } ) ;
10
9
const configPage = await createDataSourceConfigPage ( { type : ds . type } ) ;
11
10
await page . getByLabel ( "Host" ) . fill ( ds . jsonData . host || "" ) ;
12
11
await page . getByLabel ( "Port" ) . fill ( ds . jsonData . port ?. toString ( ) || "" ) ;
@@ -20,7 +19,7 @@ test("\"Save & test\" should be successful when mongo username-password auth con
20
19
readProvisionedDataSource,
21
20
page,
22
21
} ) => {
23
- const ds = await readProvisionedDataSource < MongoDataSourceOptions , MySecureJsonData > ( { fileName : "test/mongo-username-password-auth.yml" } ) ;
22
+ const ds = await readProvisionedDataSource ( { fileName : "test/mongo-username-password-auth.yml" } ) ;
24
23
const configPage = await createDataSourceConfigPage ( { type : ds . type } ) ;
25
24
await page . getByLabel ( "Host" ) . fill ( ds . jsonData . host || "" ) ;
26
25
await page . getByLabel ( "Port" ) . fill ( ds . jsonData . port ?. toString ( ) || "" ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments