[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
|
@Step
|
||||||
public KafkaConnectList openConnector(String connectorName) {
|
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;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,8 @@ public class SchemaRegistryList {
|
||||||
|
|
||||||
@Step
|
@Step
|
||||||
public SchemaRegistryList openSchema(String schemaName) {
|
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;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,8 @@ public class TopicsList {
|
||||||
|
|
||||||
@Step
|
@Step
|
||||||
public TopicsList openTopic(String topicName) {
|
public TopicsList openTopic(String topicName) {
|
||||||
$(By.linkText(topicName)).click();
|
$(By.linkText(topicName))
|
||||||
|
.shouldBe(Condition.enabled).click();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue