Seam SVN: r11587 - branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-15 03:03:09 -0400 (Thu, 15 Oct 2009)
New Revision: 11587
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
Log:
modified check of messages
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-15 07:02:11 UTC (rev 11586)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-15 07:03:09 UTC (rev 11587)
@@ -109,7 +109,6 @@
browser.waitForElement(MARTIN_LISTED, timeout);
browser2.type(NAME_INPUT, NAME2);
browser2.click(CONNECT_BUTTON);
- browser2.waitForElement(JOZEF_CONNECTED, timeout);
browser2.waitForElement(JOZEF_LISTED, timeout);
browser2.waitForElement(MARTIN_LISTED, timeout);
browser.waitForElement(JOZEF_CONNECTED, timeout);
15 years, 1 month
Seam SVN: r11586 - branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-15 03:02:11 -0400 (Thu, 15 Oct 2009)
New Revision: 11586
Modified:
branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
Log:
modified check of messages
Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-15 06:59:36 UTC (rev 11585)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-15 07:02:11 UTC (rev 11586)
@@ -109,7 +109,6 @@
browser.waitForElement(MARTIN_LISTED, timeout);
browser2.type(NAME_INPUT, NAME2);
browser2.click(CONNECT_BUTTON);
- browser2.waitForElement(JOZEF_CONNECTED, timeout);
browser2.waitForElement(JOZEF_LISTED, timeout);
browser2.waitForElement(MARTIN_LISTED, timeout);
browser.waitForElement(JOZEF_CONNECTED, timeout);
15 years, 1 month
Seam SVN: r11585 - branches/community/Seam_2_2/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-15 02:59:36 -0400 (Thu, 15 Oct 2009)
New Revision: 11585
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
Log:
modified check of messages
Modified: branches/community/Seam_2_2/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-14 13:01:02 UTC (rev 11584)
+++ branches/community/Seam_2_2/src/test/ftest/examples/remoting/chatroom/src/org/jboss/seam/example/remoting/chatroom/test/selenium/SeleniumChatroomTest.java 2009-10-15 06:59:36 UTC (rev 11585)
@@ -109,7 +109,6 @@
browser.waitForElement(MARTIN_LISTED, timeout);
browser2.type(NAME_INPUT, NAME2);
browser2.click(CONNECT_BUTTON);
- browser2.waitForElement(JOZEF_CONNECTED, timeout);
browser2.waitForElement(JOZEF_LISTED, timeout);
browser2.waitForElement(MARTIN_LISTED, timeout);
browser.waitForElement(JOZEF_CONNECTED, timeout);
15 years, 1 month
Seam SVN: r11584 - branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-14 09:01:02 -0400 (Wed, 14 Oct 2009)
New Revision: 11584
Modified:
branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
fixed waiting time
Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 12:56:43 UTC (rev 11583)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 13:01:02 UTC (rev 11584)
@@ -42,7 +42,7 @@
public class WebServiceTestPageTest extends SeleniumSeamBayTest
{
- protected static final Long TIMEOUT = 25000L; //25 seconds
+ protected static final Long TIMEOUT = 35000L; //35 seconds
protected static final String HERE_LINK = "xpath=//a[contains(text(),\"here\")]";
protected static final String SERVICE_PAGE_HEADING= "seamBay Web Services - Test Page";
@@ -93,7 +93,6 @@
String username = "demo";
String password = "demo";
browser.clickAndWait(HERE_LINK);
- waitForElementPresent(RESPONSE_AREA, TIMEOUT);
waitForElementPresent(LOGIN_LINK, TIMEOUT);
browser.click(LOGIN_LINK);
waitForElementPresent(LOGIN_INPUT_USERNAME, TIMEOUT);
@@ -273,6 +272,7 @@
{
return (browser.getValue(locator).length() != 0);
}
- }.wait("Timeout while waiting for element content."+browser.getValue(locator).length()+","+locator , timeout);
+ }.wait("Timeout while waiting for element content. Element: " + locator+ ", " + "Content length: "
+ + browser.getValue(locator).length(), timeout);
} //waitForElementContent
}
15 years, 1 month
Seam SVN: r11583 - branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-14 08:56:43 -0400 (Wed, 14 Oct 2009)
New Revision: 11583
Modified:
branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
fixes waiting time
Modified: branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 12:31:32 UTC (rev 11582)
+++ branches/community/Seam_2_2/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 12:56:43 UTC (rev 11583)
@@ -42,7 +42,7 @@
public class WebServiceTestPageTest extends SeleniumSeamBayTest
{
- protected static final Long TIMEOUT = 25000L; //25 seconds
+ protected static final Long TIMEOUT = 35000L; //35 seconds
protected static final String HERE_LINK = "xpath=//a[contains(text(),\"here\")]";
protected static final String SERVICE_PAGE_HEADING= "seamBay Web Services - Test Page";
@@ -93,7 +93,6 @@
String username = "demo";
String password = "demo";
browser.clickAndWait(HERE_LINK);
- waitForElementPresent(RESPONSE_AREA, TIMEOUT);
waitForElementPresent(LOGIN_LINK, TIMEOUT);
browser.click(LOGIN_LINK);
waitForElementPresent(LOGIN_INPUT_USERNAME, TIMEOUT);
@@ -273,6 +272,7 @@
{
return (browser.getValue(locator).length() != 0);
}
- }.wait("Timeout while waiting for element content."+browser.getValue(locator).length()+","+locator , timeout);
+ }.wait("Timeout while waiting for element content. Element: " + locator+ ", " + "Content length: "
+ + browser.getValue(locator).length(), timeout);
} //waitForElementContent
}
15 years, 1 month
Seam SVN: r11582 - branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-14 08:31:32 -0400 (Wed, 14 Oct 2009)
New Revision: 11582
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java
Log:
added waiting for list items
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java 2009-10-14 11:05:03 UTC (rev 11581)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/SellTest.java 2009-10-14 12:31:32 UTC (rev 11582)
@@ -35,6 +35,8 @@
*/
public class SellTest extends SeleniumSeamBayTest
{
+ private long listWaitTime = 5000;
+
@Test(dependsOnGroups={"searchTest"})
public void joystickSellingTest()
{
@@ -79,6 +81,16 @@
return browser.isElementPresent(getProperty("SELL_CATEGORY_SELECT_SECOND_OPTION"));
}
};
+ /*this sleeping is necessary because although the previous waiting ensures the 14. option present in select component in
+ java code, the web page on its own is not ready yet*/
+ try
+ {
+ Thread.sleep(listWaitTime);
+ }
+ catch (InterruptedException e)
+ {
+ }
+
browser.select(getProperty("SELL_CATEGORY_SELECT"), "index=" + category);
if (subcategory != 0)
{
15 years, 1 month
Seam SVN: r11581 - branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/ui.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-14 07:05:03 -0400 (Wed, 14 Oct 2009)
New Revision: 11581
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/ui/jboss.xml
Log:
fixed path to ui.properties file
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/ui/jboss.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/ui/jboss.xml 2009-10-13 14:14:30 UTC (rev 11580)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/examples/ui/jboss.xml 2009-10-14 11:05:03 UTC (rev 11581)
@@ -19,7 +19,7 @@
<suite name="UI example" verbose="2" parallel="false">
<test name="ui_jboss">
<parameter name="CONTEXT_PATH" value="/seam-ui" />
- <parameter name="PROPERTY_FILE" value="" />
+ <parameter name="PROPERTY_FILE" value="/org/jboss/seam/example/ui/test/selenium/ui.properties" />
<classes>
<class name="org.jboss.seam.example.ui.test.selenium.SeleniumUITest" />
</classes>
15 years, 1 month
Seam SVN: r11580 - branches/enterprise/JBPAPP_5_0/build.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-10-13 10:14:30 -0400 (Tue, 13 Oct 2009)
New Revision: 11580
Modified:
branches/enterprise/JBPAPP_5_0/build/ci.build.xml
Log:
changed the snapshot target for my integration SNAPSHOT hudson job
Modified: branches/enterprise/JBPAPP_5_0/build/ci.build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/ci.build.xml 2009-10-13 13:52:35 UTC (rev 11579)
+++ branches/enterprise/JBPAPP_5_0/build/ci.build.xml 2009-10-13 14:14:30 UTC (rev 11580)
@@ -59,7 +59,7 @@
<propertyset>
<propertyref name="ant.version"/>
</propertyset>
- <property name="qualifier" value="-SNAPSHOT" />
+ <property name="qualifier" value=".EAP5-SNAPSHOT" />
</ant>
</target>
15 years, 1 month
Seam SVN: r11579 - branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium.
by seam-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2009-10-13 09:52:35 -0400 (Tue, 13 Oct 2009)
New Revision: 11579
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeamSelenium.java
Log:
added waittime before making snapshot in func tests
Modified: branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeamSelenium.java
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeamSelenium.java 2009-10-13 13:14:55 UTC (rev 11578)
+++ branches/enterprise/JBPAPP_4_3_FP01/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeamSelenium.java 2009-10-13 13:52:35 UTC (rev 11579)
@@ -40,6 +40,7 @@
private String timeout = "30000";
private boolean icefacesDetection = false;
private long icefacesWaitTime = 1000;
+ private long windowMaximizeWaitTime = 5000L;
private final String ICEFACES_CONNECTION_STATUS = "xpath=//div[@class='iceOutConStat connectionStatus']";
private final String ICEFACES_IDLE_VISIBLE = "xpath=//div[@class='iceOutConStatInactv connectionStatusInactv'][@style='visibility: visible;']";
@@ -205,6 +206,13 @@
public void captureScreenshot(String path)
{
windowMaximize();
+ try
+ {
+ Thread.sleep(windowMaximizeWaitTime);
+ }
+ catch (InterruptedException e)
+ {
+ }
super.captureScreenshot(path);
}
15 years, 1 month
Seam SVN: r11578 - branches/enterprise/JBPAPP_5_0/build.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-10-13 09:14:55 -0400 (Tue, 13 Oct 2009)
New Revision: 11578
Modified:
branches/enterprise/JBPAPP_5_0/build/ci.build.xml
Log:
changed the snapshot target for my integration SNAPSHOT hudson job
Modified: branches/enterprise/JBPAPP_5_0/build/ci.build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/ci.build.xml 2009-10-13 12:11:34 UTC (rev 11577)
+++ branches/enterprise/JBPAPP_5_0/build/ci.build.xml 2009-10-13 13:14:55 UTC (rev 11578)
@@ -43,7 +43,7 @@
<build target="cleanall" />
<build target="dist" />
- <ant target="deploySeamSnapshot" antfile="${ant.file}" inheritall="false" inheritrefs="false" dir=".">
+<!-- <ant target="deploySeamSnapshot" antfile="${ant.file}" inheritall="false" inheritrefs="false" dir=".">
<propertyset>
<propertyref name="ant.version"/>
</propertyset>
@@ -54,7 +54,7 @@
<propertyref name="ant.version"/>
</propertyset>
<property name="qualifier" value="-SNAPSHOT" />
- </ant>
+ </ant> -->
<ant target="tests" antfile="${ant.file}" inheritall="false" inheritrefs="false" dir=".">
<propertyset>
<propertyref name="ant.version"/>
15 years, 1 month