Skip to content
Browse files

Bumped up the version number

  • Loading branch information...
1 parent f02abb1 commit 7a764e557f8454d0cae3136c5cb4dfddc327afcb @wakaleo wakaleo committed Sep 22, 2011
View
2 pom.xml
@@ -8,7 +8,7 @@
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides</artifactId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
<packaging>pom</packaging>
<name>thucydides</name>
<description>An Acceptance Testing framework for web applications
View
2 thucydides-core/pom.xml
@@ -4,7 +4,7 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-core</artifactId>
View
2 thucydides-core/src/main/java/net/thucydides/core/pages/PageObject.java
@@ -394,8 +394,10 @@ private String hostComponentFrom(final String protocol, final String host, final
*/
public final void open(final String... parameterValues) {
String startingUrl = pageUrls.getStartingUrl(parameterValues);
+ LOGGER.debug("Opening page at url {}", startingUrl);
openPageAtUrl(startingUrl);
callWhenPageOpensMethods();
+ LOGGER.debug("Page opened");
}
public final void open(final String urlTemplateName,
View
10 thucydides-core/src/test/java/net/thucydides/core/pages/WhenManagingAPageObject.java
@@ -19,6 +19,7 @@
import java.util.List;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.greaterThanOrEqualTo;
import static org.hamcrest.Matchers.is;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doThrow;
@@ -111,6 +112,15 @@ public void page_will_wait_for_rendered_element_to_disappear() {
page.waitForRenderedElementsToDisappear(By.id("whatever"));
}
+ @Test
+ public void page_can_delay_requests_for_a_short_period() {
+ long start = System.currentTimeMillis();
+ BasicPageObject page = new BasicPageObject(driver);
+ page.waitABit(500);
+
+ assertThat((int) (System.currentTimeMillis() - start), greaterThanOrEqualTo(500));
+ }
+
@Test(expected = UnexpectedElementVisibleException.class)
public void wait_for_rendered_element_to_disappear_will_fail_if_element_does_not_disappear() {
View
2 thucydides-junit/pom.xml
@@ -4,7 +4,7 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-junit</artifactId>
View
6 thucydides-maven-integration-tests/pom.xml
@@ -4,11 +4,11 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>thucydides-maven-integration-tests</artifactId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
<name>Thucydides maven plugin integration tests</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -41,7 +41,7 @@
<dependency>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
<type>maven-plugin</type>
<scope>compile</scope>
</dependency>
View
2 thucydides-maven-plugin/pom.xml
@@ -4,7 +4,7 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides.maven.plugins</groupId>
<artifactId>maven-thucydides-plugin</artifactId>
View
2 thucydides-report-resources/pom.xml
@@ -4,7 +4,7 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-report-resources</artifactId>
View
2 thucydides-sample-alternative-resources/pom.xml
@@ -4,7 +4,7 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-sample-alternative-resources</artifactId>
View
4 thucydides-test-utils/pom.xml
@@ -4,11 +4,11 @@
<parent>
<artifactId>thucydides</artifactId>
<groupId>net.thucydides</groupId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
</parent>
<groupId>net.thucydides</groupId>
<artifactId>thucydides-test-utils</artifactId>
- <version>0.4.7-SNAPSHOT</version>
+ <version>0.4.8-SNAPSHOT</version>
<name>thucydides-test-utils</name>
<url>http://maven.apache.org</url>
<dependencies>

0 comments on commit 7a764e5

Please sign in to comment.
Something went wrong with that request. Please try again.