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

import static org.junit.Assert.assertEquals;

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

import com.vaadin.tests.tb3.MultiBrowserTest;

public class ClientRpcClassTest extends MultiBrowserTest {

    @Test
    public void pauseDisplayed() {
        openTestURL();

        WebElement element = getDriver()
                .findElement(By.id(ClientRpcClass.TEST_COMPONENT_ID));
        assertEquals("pause", element.getText());
    }
}