mirror of https://github.com/apache/archiva.git
revert previous as don't work very well....
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172593 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
035ed200ac
commit
39f4b78d4f
|
@ -237,9 +237,14 @@ public abstract class AbstractSeleniumTest
|
|||
public void waitPage()
|
||||
{
|
||||
// TODO define a smaller maxWaitTimeJsInMs for wait javascript response for browser side validation
|
||||
//getSelenium().waitForPageToLoad( maxWaitTimeInMs );
|
||||
getSelenium().waitForPageToLoad( maxWaitTimeInMs );
|
||||
// http://jira.openqa.org/browse/SRC-302
|
||||
getSelenium().waitForCondition( "selenium.isElementPresent('document.body');", maxWaitTimeInMs );
|
||||
// those hack looks to break some tests :-(
|
||||
// getSelenium().waitForCondition( "selenium.isElementPresent('document.body');", maxWaitTimeInMs );
|
||||
//getSelenium().waitForCondition( "selenium.isElementPresent('footer');", maxWaitTimeInMs );
|
||||
//getSelenium().waitForCondition( "selenium.browserbot.getCurrentWindow().document.getElementById('footer')",
|
||||
// maxWaitTimeInMs );
|
||||
// so the only hack is to not use a too small wait time
|
||||
/*
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue