aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridEmptyTest.java
blob: 2f0c8869169bfab160f983559ac0c3633c0a4896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.vaadin.tests.components.treegrid;

import static org.junit.Assert.assertFalse;

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

import com.vaadin.tests.tb3.SingleBrowserTest;

public class TreeGridEmptyTest extends SingleBrowserTest {

    @Test
    public void empty_treegrid_initialized_correctly() {
        setDebug(true);
        openTestURL();
        assertNoErrorNotifications();
        assertFalse(isElementPresent(By.className("v-errorindicator")));
    }
}