[Fix] Fix Token E2E Bug (#13069)

* fix token e2e error
This commit is contained in:
旺阳 2022-12-07 11:37:19 +08:00 committed by GitHub
parent 66b8a81ad8
commit 82c86a985e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();