summaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/serialization/GenericWidgetHandlingTest.java
blob: a6772676eaabf8679d7f0566069d9c581ce1e7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.vaadin.tests.serialization;

import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.WebElement;

import com.vaadin.tests.tb3.MultiBrowserTest;

public class GenericWidgetHandlingTest extends MultiBrowserTest {

    @Test
    public void testWidgetInit() {
        openTestURL();
        WebElement label = vaadinElementById("label");

        Assert.assertEquals("The generic text is strong in this one",
                label.getText());
    }

}