aboutsummaryrefslogtreecommitdiffstats
path: root/testbench-api/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-03-19 18:50:17 +0200
committerIlia Motornyi <elmot@vaadin.com>2018-03-19 18:50:17 +0200
commit81f81fa3c41f1fc97a14b7f8d91cf6ea29af572b (patch)
tree5347a180628cf419250e32530a966f5366dddd8e /testbench-api/src
parent649f2f3eeae246e8f57e433c5fd3dcc8fe488d6c (diff)
downloadvaadin-framework-81f81fa3c41f1fc97a14b7f8d91cf6ea29af572b.tar.gz
vaadin-framework-81f81fa3c41f1fc97a14b7f8d91cf6ea29af572b.zip
Fix initially disabled items in RadioButtonGroup (#10719)
Diffstat (limited to 'testbench-api/src')
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java
index 30952c1e00..67df824fbd 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/RadioButtonGroupElement.java
@@ -41,6 +41,16 @@ public class RadioButtonGroupElement extends AbstractSingleSelectElement {
return optionTexts;
}
+ /**
+ * Gets the list of option elements for this check box group.
+ *
+ * @return list of option elements
+ * @since
+ */
+ public List<WebElement> getOptionElements() {
+ return findElements(bySelectOption);
+ }
+
public void selectByText(String text) throws ReadOnlyException {
if (isReadOnly()) {
throw new ReadOnlyException();