From 82c86a985e4916b92f90cac273b41d3a26b28a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=BA=E9=98=B3?= Date: Wed, 7 Dec 2022 11:37:19 +0800 Subject: [PATCH] [Fix] Fix Token E2E Bug (#13069) * fix token e2e error --- .../apache/dolphinscheduler/e2e/pages/security/TokenPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/security/TokenPage.java b/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/security/TokenPage.java index 33bb3a2070..1654437d1d 100644 --- a/dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/security/TokenPage.java +++ b/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();