blob: d79fbc9d6d72b12e731b3192213a37c659b16615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.vaadin.tests.components.formlayout;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import org.openqa.selenium.By;
import com.vaadin.tests.tb3.MultiBrowserTest;
/**
* Test for FormLayout style prefix: custom additional styles should be prefixed
* with "v-formlayout-", not "v-layout-".
*
* @author Vaadin Ltd
*/
public class StylePrefixTest extends MultiBrowserTest {
@Test
public void testStylePrefix() {
openTestURL();
assertTrue("Custom style has unexpected prefix",
isElementPresent(By.className("v-formlayout-mystyle")));
}
}
|