mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
fixing selenium test's assumption about what the obfuscated style name for a selected table row in the AdminConsole is
This commit is contained in:
1 parent
39da818aa2
commit
e470751bc6
1 file changed
+4
-9
+4
-9
@@ -51,10 +51,7 @@ public abstract class CellTablePO<T extends DataEntryPO> extends PageArea {
|
||||
|
||||
private static final String LOADING_ANIMATION_XPATH = "./td/div/div/div/img";
|
||||
|
||||
// It seems that the css class is not allways the same
|
||||
//private static final String CELL_TABLE_CSS_CLASS = "GJTB2DRDFQ"; //$NON-NLS-1$
|
||||
|
||||
protected static final String SELECTED_ROW_CSS_CLASS = "GJTB2DRDPP"; //$NON-NLS-1$
|
||||
protected static final String SELECTED_ROW_CSS_CLASS = "GJTB2DRDCQ"; //$NON-NLS-1$
|
||||
|
||||
private static final String LOADING_ANIMATION_IMAGE = "data:image/gif;base64," + //$NON-NLS-1$
|
||||
"R0lGODlhKwALAPEAAP///0tKSqampktKSiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGx" + //$NON-NLS-1$
|
||||
@@ -256,14 +253,12 @@ public abstract class CellTablePO<T extends DataEntryPO> extends PageArea {
|
||||
public List<T> getSelectedEntries() {
|
||||
List<T> entries = getEntries();
|
||||
Iterator<T> iterator = entries.iterator();
|
||||
|
||||
while(iterator.hasNext()) {
|
||||
while (iterator.hasNext()) {
|
||||
T entry = iterator.next();
|
||||
|
||||
if(!entry.isSelected())
|
||||
if (!entry.isSelected()) {
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
|
||||
return entries;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user