Loki: Migrate HTTP settings to new components (#72831)
* Loki: migrate data source http settings * Remove unused export * Update e2e tests * Update unit test
This commit is contained in:
@@ -8,7 +8,7 @@ const addDataSource = () => {
|
||||
'Unable to connect with Loki (Failed to call resource). Please check the server logs for more details.',
|
||||
name: dataSourceName,
|
||||
form: () => {
|
||||
e2e.components.DataSource.DataSourceHttpSettings.urlInput().type('http://loki-url:3100');
|
||||
e2e().get('#connection-url').type('http://loki-url:3100');
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ const addDataSource = () => {
|
||||
'Unable to connect with Loki (Failed to call resource). Please check the server logs for more details.',
|
||||
name: dataSourceName,
|
||||
form: () => {
|
||||
e2e.components.DataSource.DataSourceHttpSettings.urlInput().type('http://loki-url:3100');
|
||||
e2e().get('#connection-url').type('http://loki-url:3100');
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user