SbloodyS commented on code in PR #18673:
URL:
https://github.com/apache/dolphinscheduler/pull/18673#discussion_r4290668944
##########
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/project/workflow/task/SwitchTaskForm.java:
##########
@@ -20,76 +20,62 @@
import org.apache.dolphinscheduler.e2e.core.WebDriverWaitFactory;
import org.apache.dolphinscheduler.e2e.pages.project.workflow.WorkflowForm;
-import java.util.List;
-
import lombok.Getter;
import org.openqa.selenium.By;
-import org.openqa.selenium.JavascriptExecutor;
+import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
-import org.openqa.selenium.support.FindBys;
import org.openqa.selenium.support.ui.ExpectedConditions;
@Getter
public final class SwitchTaskForm extends TaskNodeForm {
- @FindBy(id = "btnAddIfBranch")
+ static final String NODE_MODAL = "//div[contains(concat(' ',
normalize-space(@class), ' '), ' n-modal ')"
Review Comment:
Please don't modify irrelevant code in all places.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]