File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
e2e-tests/src/main/java/io/kafbat/ui/screens Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ public abstract class BasePage extends WebUtil {
3636 protected ElementsCollection gridItems = $$x ("//tr[@class]" );
3737 protected String summaryCellLocator = "//div[contains(text(),'%s')]" ;
3838 protected String tableElementNameLocator = "//a[normalize-space(text())='%s']" ;
39- protected String columnCellLocator = "//table//tr/td//*[contains(text(),'%s')]" ;
4039 protected String columnHeaderLocator = "//table//tr/th//div[text()='%s']" ;
4140 protected String pageTitleFromHeader = "//h1[text()='%s']" ;
4241 protected String pagePathFromHeader = "//a[text()='%s']/../h1" ;
@@ -104,11 +103,6 @@ protected SelenideElement getTableElement(String elementName) {
104103 return $x (String .format (tableElementNameLocator , elementName ));
105104 }
106105
107- protected SelenideElement getTableCellElement (String elementName ) {
108- log .debug ("\n getTableElement: {}" , elementName );
109- return $x (String .format (columnCellLocator , elementName ));
110- }
111-
112106 protected ElementsCollection getDdlOptions () {
113107 return ddlOptions ;
114108 }
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- tableElementNameLocator (connectorName ).shouldBe (Condition .enabled ).click ();
36+ getTableElement (connectorName ).shouldBe (Condition .enabled ).click ();
3737 return this ;
3838 }
3939
You can’t perform that action at this time.
0 commit comments