From 7ff76b923156b33f747a4bc31b45c238bec2fefa Mon Sep 17 00:00:00 2001 From: SbloodyS <460888207@qq.com> Date: Mon, 1 Jul 2024 09:27:15 +0800 Subject: [PATCH] feature 16229 --- .../dolphinscheduler/e2e/pages/common/CodeEditor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/common/CodeEditor.java b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/common/CodeEditor.java index 3f5deba2be..19954bc8a1 100644 --- a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/common/CodeEditor.java +++ b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/common/CodeEditor.java @@ -65,7 +65,7 @@ public final class CodeEditor { Actions actions = new Actions(this.driver); - List contantList = List.of(content.split(Constants.LINE_SEPARATOR)); + List contentList = List.of(content.split(Constants.LINE_SEPARATOR)); try { ((JavascriptExecutor) driver).executeScript("arguments[0].scrollIntoView();", scrollBar); @@ -73,9 +73,9 @@ public final class CodeEditor { log.warn("scroll bar not found, skipping..."); } - for (int i = 0; i < contantList.size(); i++) { + for (int i = 0; i < contentList.size(); i++) { String editorLineText; - String inputContent = contantList.get(i); + String inputContent = contentList.get(i); if (i == 0) { actions.moveToElement(editor.get(i)) .click()