// Chrome version does not necessarily match the desired version
// because of auto updates...
browserIdentifier = getExpectedUserAgentString(
- getDesiredCapabilities()) + "75";
+ getDesiredCapabilities()) + "78";
} else {
browserIdentifier = getExpectedUserAgentString(desiredCapabilities)
+ desiredCapabilities.getVersion();
WebElement jreVersionLabel = vaadinElementById("jreVersionLabel");
assertThat(jreVersionLabel.getText(),
- is("Using Java 1.8.0_181 by Oracle Corporation"));
+ is("Using Java 1.8.0_201 by Oracle Corporation"));
}
}
package com.vaadin.tests.components.datefield;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
import java.util.ArrayList;
import java.util.List;
import com.vaadin.testbench.parallel.BrowserUtil;
import com.vaadin.tests.tb3.MultiBrowserTest;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
/**
* Tests contents and functionality of PopupDateField's popup.
*
new Actions(driver).keyUp(Keys.SHIFT).perform();
// TODO: remove this once #14406 has been fixed
- popup.findElement(By.className("v-datefield-calendarpanel-prevyear"))
- .findElement(By.tagName("button")).click();
+ if (!(BrowserUtil.isChrome(getDesiredCapabilities())
+ || BrowserUtil.isFirefox(getDesiredCapabilities())
+ || BrowserUtil.isIE8(getDesiredCapabilities()))) {
+ popup.findElement(
+ By.className("v-datefield-calendarpanel-prevyear"))
+ .findElement(By.tagName("button")).click();
+ }
// verify contents
assertEquals("unexpected month", "tammikuu 2009", popup