From 81f81fa3c41f1fc97a14b7f8d91cf6ea29af572b Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Mon, 19 Mar 2018 18:50:17 +0200 Subject: Fix initially disabled items in RadioButtonGroup (#10719) --- .../com/vaadin/testbench/elements/RadioButtonGroupElement.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testbench-api') 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 getOptionElements() { + return findElements(bySelectOption); + } + public void selectByText(String text) throws ReadOnlyException { if (isReadOnly()) { throw new ReadOnlyException(); -- cgit v1.2.3