mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 03:00:00 +00:00
the verify() method in CellTable wasn't the problem; the element really seems to be missing in the central build; need to find out why
This commit is contained in:
1 parent
83f4eefa26
commit
f1dfb05b3f
1 file changed
+9
-1
+9
-1
@@ -69,10 +69,18 @@ public class CellTable extends PageObject {
|
||||
|
||||
return rows;
|
||||
}
|
||||
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void verify() {
|
||||
// TODO: Verify that the context represents a GWT CellTable
|
||||
String tagName = ((WebElement) this.context).getTagName();
|
||||
if (!tagName.equalsIgnoreCase("table")) {
|
||||
throw new IllegalArgumentException("WebElement does not represent a table");
|
||||
}
|
||||
}
|
||||
|
||||
private List<WebElement> findHeaders() {
|
||||
return this.context.findElements(By.tagName("th"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user