summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-12 21:17:49 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-12 21:17:49 +0000
commit27f121ed0b6c820344753a9d5e3b079fbc59efc2 (patch)
treee72ac8ebab0b670dc3e9ab6b8e595e02a21ad889 /sca-java-2.x
parent277a9fde8ddc967dab8a46fe1372a609efaf2e36 (diff)
Adding test back to build, as it's passing now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@943692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x')
-rw-r--r--sca-java-2.x/trunk/samples/store/src/test/java/store/StoreTestCase.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/samples/store/src/test/java/store/StoreTestCase.java b/sca-java-2.x/trunk/samples/store/src/test/java/store/StoreTestCase.java
index 900bc3f582..883aaa76f6 100644
--- a/sca-java-2.x/trunk/samples/store/src/test/java/store/StoreTestCase.java
+++ b/sca-java-2.x/trunk/samples/store/src/test/java/store/StoreTestCase.java
@@ -89,20 +89,23 @@ public class StoreTestCase {
}
@Test
- @Ignore
public void testStoreWidget() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
WebClient webClient = new WebClient(BrowserVersion.FIREFOX_3);
webClient.setRedirectEnabled(true);
webClient.setThrowExceptionOnScriptError(false);
- webClient.waitForBackgroundJavaScript(50000);
- webClient.waitForBackgroundJavaScriptStartingBefore(50000);
+ //webClient.waitForBackgroundJavaScript(100000);
+ //webClient.waitForBackgroundJavaScriptStartingBefore(100000);
webClient.setAjaxController(new NicelyResynchronizingAjaxController());
HtmlPage page = (HtmlPage) webClient.getPage("http://localhost:8080/store/store.html");
HtmlForm form = (HtmlForm) page.getFormByName("catalogForm");
-
+ try {
+ Thread.sleep(1000);
+ } catch (InterruptedException e) {
+ }
+
HtmlCheckBoxInput catalogItems = (HtmlCheckBoxInput) form.getInputByName("items");
System.out.println(">>>" + catalogItems.getAttribute("value"));