File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
e2e-tests/src/main/java/io/kafbat/ui/screens Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public abstract class BasePage extends WebUtil {
3535 protected ElementsCollection ddlOptions = $$x ("//li[@value]" );
3636 protected ElementsCollection gridItems = $$x ("//tr[@class]" );
3737 protected String summaryCellLocator = "//div[contains(text(),'%s')]" ;
38- protected String tableElementNameLocator = "//tbody//a[contains (text(), '%s') ]" ;
38+ protected String tableElementNameLocator = "//a[normalize-space (text())= '%s']" ;
3939 protected String columnCellLocator = "//table//tr/td//*[contains(text(),'%s')]" ;
4040 protected String columnHeaderLocator = "//table//tr/th//div[text()='%s']" ;
4141 protected String pageTitleFromHeader = "//h1[text()='%s']" ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public KafkaConnectList clickCreateConnectorBtn() {
3333
3434 @ Step
3535 public KafkaConnectList openConnector (String connectorName ) {
36- getTableCellElement (connectorName ).shouldBe (Condition .enabled ).click ();
36+ tableElementNameLocator (connectorName ).shouldBe (Condition .enabled ).click ();
3737 return this ;
3838 }
3939
You can’t perform that action at this time.
0 commit comments