Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
q3356564 committed Feb 6, 2024
1 parent 7b804e3 commit f841062
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/
package org.apache.dolphinscheduler.e2e.pages.project.workflow;

import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
Expand Down Expand Up @@ -46,7 +47,7 @@ public WorkflowRunDialog(WorkflowDefinitionTab parent) {
public WorkflowDefinitionTab submit() {
new WebDriverWait(parent().driver(), Duration.ofSeconds(20)).until(ExpectedConditions.elementToBeClickable(buttonSubmit()));

((]avascriptExecutor) parent().driver()),executescript("arguments[0].click();", buttonsubmit());
((JavascriptExecutor) parent().driver()).executeScript("arguments[0].click();", buttonSubmit());

return parent();
}
Expand Down

0 comments on commit f841062

Please sign in to comment.