Browse Source

updae CLICK_SAVE_WORKFLOW_BUTTON xpath

pull/3/MERGE
BoYiZhang 4 years ago
parent
commit
e6bd0e3aab
  1. 2
      e2e/src/test/java/org/apache/dolphinscheduler/locator/project/CreateWorkflowLocator.java

2
e2e/src/test/java/org/apache/dolphinscheduler/locator/project/CreateWorkflowLocator.java

@ -126,7 +126,7 @@ public class CreateWorkflowLocator {
* save workflow * save workflow
*/ */
//click save workflow button //click save workflow button
public static final By CLICK_SAVE_WORKFLOW_BUTTON = By.xpath("/html/body/div[1]/div[2]/div/div[2]/div/div[2]/div[1]/div[2]/button[1]/span"); public static final By CLICK_SAVE_WORKFLOW_BUTTON = By.xpath("//button[2]/span");
//input workflow name //input workflow name
public static final By INPUT_WORKFLOW_NAME = By.xpath("//input"); public static final By INPUT_WORKFLOW_NAME = By.xpath("//input");

Loading…
Cancel
Save