Skip to content

Commit

Permalink
tests: hardeding the timeout tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Mar 12, 2015
1 parent b29b7cc commit ac3de4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import net.thucydides.core.webdriver.exceptions.ElementShouldBeInvisibleExceptio
import org.openqa.selenium.By
import org.openqa.selenium.NoSuchElementException
import org.openqa.selenium.TimeoutException
import org.openqa.selenium.support.ui.ExpectedConditions
import spock.lang.Specification
import spock.lang.Unroll

Expand Down
14 changes: 7 additions & 7 deletions core/src/test/resources/static-site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
}

function displayFieldsAfterDelay() {
setTimeout("loadElementsSelect()", 2000);
setTimeout("displayCityField()", 2000);
setTimeout("displayCountryField()", 2000);
setTimeout("loadElementsSelect()", 1500);
setTimeout("displayCityField()", 1500);
setTimeout("displayCountryField()", 1500);
setTimeout("displaySlowLoaderField()", 4000);
setTimeout("hideLocationTitle()", 2000);
setTimeout("activateDisabledButton()", 2000);
setTimeout("deactivateEnabledButton()", 2000);
setTimeout("removeDisappearingText()", 2000);
setTimeout("hideLocationTitle()", 1500);
setTimeout("activateDisabledButton()", 1500);
setTimeout("deactivateEnabledButton()", 1500);
setTimeout("removeDisappearingText()", 1500);

}

Expand Down

0 comments on commit ac3de4e

Please sign in to comment.