Merge branch 'bug5239' of ssh://trac@sapsailing.com/home/trac/git into bug5239

This commit is contained in:
Dennis Aulenbacher committed 2020-09-07 09:41:31 +02:00
commit 8db1a9a2a8
2 files changed
+4 -4

No files matched your search

@@ -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;
}
}
@@ -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");
}
}