Browse Source

Try to fix filemanage e2e flaky test (#11097)

3.1.0-release
xiangzihao 2 years ago committed by GitHub
parent
commit
c34fe4f9b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/resource/FileManagePage.java

2
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/resource/FileManagePage.java

@ -186,7 +186,7 @@ public class FileManagePage extends NavBarPage implements ResourcePage.Tab {
new WebDriverWait(driver, 5).until(ExpectedConditions.urlContains("/edit")); new WebDriverWait(driver, 5).until(ExpectedConditions.urlContains("/edit"));
new WebDriverWait(driver, 5).until((ExpectedCondition<Object>) webDriver -> editor.getText().length() > 0); new WebDriverWait(driver, 5).until(ExpectedConditions.textToBePresentInElement(driver.findElementByTagName("body"), fileName));
editFileBox().codeEditor().content(scripts); editFileBox().codeEditor().content(scripts);
editFileBox().buttonSubmit().click(); editFileBox().buttonSubmit().click();

Loading…
Cancel
Save