aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/elements/TreeElementGetValueTest.java
blob: 1a3fff94dec5060ab6d966db44dd4d1705443d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.vaadin.tests.elements;

import static org.junit.Assert.assertEquals;

import org.junit.Before;
import org.junit.Test;

import com.vaadin.tests.tb3.MultiBrowserTest;
import com.vaadin.v7.testbench.elements.TreeElement;

public class TreeElementGetValueTest extends MultiBrowserTest {
    @Before
    public void init() {
        openTestURL();
    }

    @Test
    public void testGetValue() {
        TreeElement tree = $(TreeElement.class).get(0);
        assertEquals(tree.getValue(), TreeElementGetValue.TEST_VALUE_LVL2);
    }
}