aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/ui/UIInitExceptionTest.java
blob: d002642a748227bf8d7512b53142bdc1175cae38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.vaadin.tests.components.ui;

import org.junit.Assert;
import org.junit.Test;

import com.vaadin.tests.tb3.MultiBrowserTest;

public class UIInitExceptionTest extends MultiBrowserTest {
    @Test
    public void testExceptionOnUIInit() throws Exception {
        openTestURL();
        Assert.assertTrue("Page does not contain the given text", driver
                .getPageSource().contains("Catch me if you can"));
    }
}