blob: 7c14eca15088651d053dcc68e50877cdbd24b62c (
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.components.datefield;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.openqa.selenium.By;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class CustomDateFormatEEETest extends MultiBrowserTest {
@Test
public void verifyDatePattern() {
openTestURL();
String dateValue = driver
.findElement(By.className("v-datefield-textfield"))
.getAttribute("value");
assertEquals("14/03/2014 Fri", dateValue);
}
}
|