blob: 5dc7c682d84452a403a98a8926d6d49e86c61b5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package com.vaadin.tests.components.checkboxgroup;
import static org.junit.Assert.assertEquals;
import java.util.List;
import org.junit.Test;
import com.vaadin.testbench.elements.CheckBoxGroupElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
/**
* @author Vaadin Ltd
*
*/
public class DisabledCheckBoxGroupTest extends MultiBrowserTest {
@Test
public void initialDataInDisabledCheckBoxGroup() {
openTestURL();
List<String> options = $(CheckBoxGroupElement.class).first()
.getOptions();
assertEquals(3, options.size());
assertEquals("a", options.get(0));
assertEquals("b", options.get(1));
assertEquals("c", options.get(2));
}
}
|