mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Merge branch 'bug5239' of ssh://trac@sapsailing.com/home/trac/git into bug5239
This commit is contained in:
commit
8db1a9a2a8
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -47,11 +47,11 @@ public class StringListEditorCompositePO extends PageArea {
|
||||
return new GenericCellTablePO<>(this.driver, this.valueGrid, ValueEntryPO.class);
|
||||
}
|
||||
|
||||
public ValueEntryPO findValue(final String permission) {
|
||||
public ValueEntryPO findValue(final String valueToFind) {
|
||||
final CellTablePO<ValueEntryPO> table = getExpandedValuesGrid();
|
||||
for (ValueEntryPO entry : table.getEntries()) {
|
||||
final String name = entry.getValueEntryName();
|
||||
if (name != null) {
|
||||
if (name != null && name.equals(valueToFind)) {
|
||||
return entry;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -75,13 +75,13 @@ public abstract class TextBoxBasePO extends AbstractInputPO {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the text contained in the underlying {@link WebElement}s "Value" attribute.
|
||||
* Gets the text contained in the underlying {@link WebElement}s "value" attribute.
|
||||
* This might be necessary for input elements that do not maintain their contained text in the "innerText" attribute, that is returned by #WebElement#getText()
|
||||
* @return the contained text
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return getWebElement().getAttribute("Value");
|
||||
return getWebElement().getAttribute("value");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user