Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45a9909

Browse files
committed
fix: Locators of monaco editor as click does not work on .inputarea
1 parent17e0997 commit45a9909

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎tests/ui-testing/pages/dashboardPages/visualise.js‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export default class LogsVisualise {
3636

3737
// Query editor locators
3838
this.logsQueryEditor=page
39-
.locator('[data-test="logs-search-bar-query-editor"]')
40-
.locator(".inputarea");
39+
.locator('[data-test="logs-search-bar-query-editor"]');
4140
//Functions
4241
}
4342
asyncopenLogs(){
@@ -221,8 +220,8 @@ export default class LogsVisualise {
221220
//fill logs query editor with SQL query
222221
asyncfillLogsQueryEditor(sqlQuery){
223222
awaitthis.logsQueryEditor.waitFor({state:"visible",timeout:5000});
224-
awaitthis.logsQueryEditor.click();
225-
awaitthis.logsQueryEditor.fill(sqlQuery);
223+
awaitthis.logsQueryEditor.locator('.monaco-editor').click();
224+
awaitthis.logsQueryEditor.locator('.inputarea').fill(sqlQuery);
226225
}
227226

228227
// Open the first VRL Function Editor

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp