aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/serialization/GenericWidgetHandlingTest.java
blob: 36e9aad233692aa2c9833b46819d32d415c8be52 (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 static org.junit.Assert.assertEquals;

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");

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

}