diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-03-19 18:50:17 +0200 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-03-19 18:50:17 +0200 |
commit | 81f81fa3c41f1fc97a14b7f8d91cf6ea29af572b (patch) | |
tree | 5347a180628cf419250e32530a966f5366dddd8e /testbench-api/src | |
parent | 649f2f3eeae246e8f57e433c5fd3dcc8fe488d6c (diff) | |
download | vaadin-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.java | 10 |
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(); |