Browse Source

[Fix] Fix Token E2E Bug (#13069)

* fix token e2e error
3.2.0-release
旺阳 2 years ago committed by GitHub
parent
commit
82c86a985e
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/security/TokenPage.java

2
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/security/TokenPage.java

@ -80,8 +80,8 @@ public final class TokenPage extends NavBarPage implements Tab {
userName)))
.click();
createTokenForm().buttonGenerateToken().click();
new WebDriverWait(driver, 10).until(ExpectedConditions.elementToBeClickable(createTokenForm().buttonGenerateToken()));
createTokenForm().buttonGenerateToken().click();
createTokenForm().buttonSubmit().click();

Loading…
Cancel
Save