fix_flaky_worker_group_e2e_test (#8237)
This commit is contained in:
parent
65744d4624
commit
1ce5b5d82d
|
|
@ -34,6 +34,8 @@ import org.junit.jupiter.api.Test;
|
|||
import org.openqa.selenium.By;
|
||||
import org.openqa.selenium.WebElement;
|
||||
import org.openqa.selenium.remote.RemoteWebDriver;
|
||||
import org.openqa.selenium.support.ui.ExpectedConditions;
|
||||
import org.openqa.selenium.support.ui.WebDriverWait;
|
||||
|
||||
@DolphinScheduler(composeFiles = "docker/basic/docker-compose.yaml")
|
||||
class WorkerGroupE2ETest {
|
||||
|
|
@ -55,6 +57,9 @@ class WorkerGroupE2ETest {
|
|||
void testCreateWorkerGroup() {
|
||||
final WorkerGroupPage page = new WorkerGroupPage(browser);
|
||||
|
||||
new WebDriverWait(page.driver(), 10)
|
||||
.until(ExpectedConditions.urlContains("/#/security/worker-groups"));
|
||||
|
||||
page.create(workerGroupName);
|
||||
|
||||
await().untilAsserted(() -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue