adjusted format for older firefox version, increased wait time

This commit is contained in:
Kai Boernert committed 2017-10-17 16:33:12 +02:00
1 parent cd3027497c
commit c65070e131
2 files changed
+3 -3

No files matched your search

@@ -72,9 +72,9 @@ public class PageObject {
".//div[contains(@class, \"gwt-VerticalTabLayoutPanelTabInner\")]/div[text()=\"{0}\"]/../..");
/**
* </p>The default timeout of 10 seconds for the lookup of other elements.</p>
* </p>The default timeout of 15 seconds for the lookup of other elements.</p>
*/
protected static final int DEFAULT_LOOKUP_TIMEOUT = 5;
protected static final int DEFAULT_LOOKUP_TIMEOUT = 15;
/**
* <p>The web driver to use.</p>
@@ -18,7 +18,7 @@ import com.sap.sailing.selenium.pages.PageObject;
public class BetterDateTimeBoxPO extends PageArea {
private static final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
private static final DateFormat timeFormat = new SimpleDateFormat("hh:mm:ss");
private static final DateFormat timeFormat = new SimpleDateFormat("hh:mm");
@FindBy(how = BySeleniumId.class, using = "datebox")
private WebElement datebox;