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

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

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

import com.vaadin.testbench.By;
import com.vaadin.tests.tb3.MultiBrowserTest;

public class NonDraggableWindowTest extends MultiBrowserTest {

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

        WebElement header = findElement(By.className("v-window-header"));

        assertThat(header.getCssValue("cursor"), is("default"));
    }
}