We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent17e0997 commit45a9909Copy full SHA for 45a9909
tests/ui-testing/pages/dashboardPages/visualise.js
@@ -36,8 +36,7 @@ export default class LogsVisualise {
36
37
// Query editor locators
38
this.logsQueryEditor=page
39
-.locator('[data-test="logs-search-bar-query-editor"]')
40
-.locator(".inputarea");
+.locator('[data-test="logs-search-bar-query-editor"]');
41
//Functions
42
}
43
asyncopenLogs(){
@@ -221,8 +220,8 @@ export default class LogsVisualise {
221
220
//fill logs query editor with SQL query
222
asyncfillLogsQueryEditor(sqlQuery){
223
awaitthis.logsQueryEditor.waitFor({state:"visible",timeout:5000});
224
-awaitthis.logsQueryEditor.click();
225
-awaitthis.logsQueryEditor.fill(sqlQuery);
+awaitthis.logsQueryEditor.locator('.monaco-editor').click();
+awaitthis.logsQueryEditor.locator('.inputarea').fill(sqlQuery);
226
227
228
// Open the first VRL Function Editor