[e2e] Fix openTopic() method to wait element (#2809)
This commit is contained in:
parent
d60808a2f2
commit
a2e87cc8d5
3 changed files with 6 additions and 3 deletions
|
@ -35,7 +35,8 @@ public class KafkaConnectList {
|
|||
|
||||
@Step
|
||||
public KafkaConnectList openConnector(String connectorName) {
|
||||
$x(String.format(tabElementLocator,connectorName)).shouldBe(Condition.visible).click();
|
||||
$x(String.format(tabElementLocator,connectorName))
|
||||
.shouldBe(Condition.enabled).click();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ public class SchemaRegistryList {
|
|||
|
||||
@Step
|
||||
public SchemaRegistryList openSchema(String schemaName) {
|
||||
$x(String.format(schemaTabElementLocator,schemaName)).shouldBe(Condition.visible).click();
|
||||
$x(String.format(schemaTabElementLocator,schemaName))
|
||||
.shouldBe(Condition.enabled).click();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,8 @@ public class TopicsList {
|
|||
|
||||
@Step
|
||||
public TopicsList openTopic(String topicName) {
|
||||
$(By.linkText(topicName)).click();
|
||||
$(By.linkText(topicName))
|
||||
.shouldBe(Condition.enabled).click();
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue