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:
Matias Chomicki
2023-08-14 14:42:14 +02:00
committed by GitHub
parent e6c96e7308
commit 7c098c59fd
4 changed files with 26 additions and 15 deletions
+1 -1
View File
@@ -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');
},
});
};
+1 -1
View File
@@ -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');
},
});
};