JBoss Rich Faces SVN: r15572 - branches/community/3.3.X/test-applications/selenium-testing-lib/src/main/java/org/jboss/test/selenium.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2009-09-15 06:28:18 -0400 (Tue, 15 Sep 2009)
New Revision: 15572
Modified:
branches/community/3.3.X/test-applications/selenium-testing-lib/src/main/java/org/jboss/test/selenium/AbstractSeleniumTestCase.java
Log:
* removed 4 deprecated unused methods
Modified: branches/community/3.3.X/test-applications/selenium-testing-lib/src/main/java/org/jboss/test/selenium/AbstractSeleniumTestCase.java
===================================================================
--- branches/community/3.3.X/test-applications/selenium-testing-lib/src/main/java/org/jboss/test/selenium/AbstractSeleniumTestCase.java 2009-09-15 10:22:43 UTC (rev 15571)
+++ branches/community/3.3.X/test-applications/selenium-testing-lib/src/main/java/org/jboss/test/selenium/AbstractSeleniumTestCase.java 2009-09-15 10:28:18 UTC (rev 15572)
@@ -239,25 +239,6 @@
/**
* Gets the property from messagesProperties and use it to format Message
- * with given arguments. Use formatMsg instead of this deprecated method.
- *
- * @param prop
- * the name of the property with message format.
- * @param args
- * an array of atributes to be formatted and substituted to prop
- * @throws IllegalStateException
- * when property wasn't found
- * @return the property
- * @see org.jboss.test.selenium.AbstractSeleniumTestCase#formatMsg(String,
- * Object...) formattMsg(String, Object...)
- */
- @Deprecated
- public String formatMess(String prop, Object... args) {
- return format(getMsg(prop, null), args);
- }
-
- /**
- * Gets the property from messagesProperties and use it to format Message
* with given arguments
*
* @param prop
14 years, 7 months
JBoss Rich Faces SVN: r15571 - branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2009-09-15 06:22:43 -0400 (Tue, 15 Sep 2009)
New Revision: 15571
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java
Log:
- extendedDataTable - fixed waiting loop in waitForSplash - there was removed .dontFail() condition
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java 2009-09-15 10:16:09 UTC (rev 15570)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/extendedDataTable/AbstractExtendedDataTableTestCase.java 2009-09-15 10:22:43 UTC (rev 15571)
@@ -56,7 +56,7 @@
* Wait for splash screen indicating request of table rerendering disappears
*/
protected void waitForSplash() {
- waitModelUpdate.interval(5).until(new Condition() {
+ waitModelUpdate.dontFail().interval(5).until(new Condition() {
public boolean isTrue() {
return selenium.isElementPresent(LOC_DIV_SPLASH_SCREEN);
}
14 years, 7 months
JBoss Rich Faces SVN: r15570 - in branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum: testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-09-15 06:16:09 -0400 (Tue, 15 Sep 2009)
New Revision: 15570
Modified:
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DeleteUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DnDUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/EditUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/ScrollerUseCasesTest.java
branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java
Log:
Investigate and fix photoalbum tests
https://jira.jboss.org/jira/browse/RFPL-86
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -190,38 +190,31 @@
}
- public static void login(Selenium selenium) {
+ public static void login(SeleniumTestBase selenium) {
login(selenium, UserInfoConstants.LOGIN_NAME, UserInfoConstants.LOGIN_PASSWORD);
}
- public static void login(Selenium selenium, String login) {
+ public static void login(SeleniumTestBase selenium, String login) {
login(selenium, login, UserInfoConstants.LOGIN_PASSWORD);
}
- public static void login(Selenium selenium, String name, String password) {
+
+ public static void login(SeleniumTestBase seleniumTest, String name, String password) {
+ Selenium selenium = seleniumTest.selenium;
if (isLogined(selenium)) {
logout(selenium);
}
- for (int i = 0; i < 3; i++) {
+ for (int i = 0; i < 5; i++) {
try {
selenium.click(HtmlConstants.LogInOutArea.LOGIN_ID);
- try {
- Thread.sleep(5000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- Assert.fail("Error : " + e.getMessage());
- }
+ delay();
break;
} catch (Exception e) {
// Do nothing.
- System.out.println("RealWorldHelper.login -1- ");
+ System.out.println("RealWorldHelper.login not found '" + i + "'");
}
- try {
- selenium.click("//*[@id='mainform:bodyPanel_body']/a");
- } catch (Exception e) {
- // Do nothing.
- System.out.println("RealWorldHelper.login -2- ");
- }
+ delay(10000);
+ seleniumTest.renderPage();
}
Assert.assertTrue(selenium.isVisible(HtmlConstants.LoginPanel.usernameId), "Input for username in not visible");
@@ -238,12 +231,23 @@
selenium.click(HtmlConstants.LoginPanel.loginButtonPath);
waitForAjaxCompletion(selenium);
-// if (!isLogined(selenium, UserInfoConstants.LOGIN_NAME)) {
-// Assert.fail("Authentication was not succesfull. Logged user text should contain typed login name");
-// }
- }
+ }
- public static void logout(Selenium selenium) {
+ private static void delay() {
+ delay(5000);
+ }
+
+ private static void delay(int delay) {
+ try {
+ Thread.sleep(delay);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ Assert.fail("Error : " + e.getMessage());
+ }
+ }
+
+
+ public static void logout(Selenium selenium) {
selenium.click(HtmlConstants.LogInOutArea.LOGOUT_PATH);
selenium.waitForPageToLoad(String.valueOf(TIMEOUT));
Assert.assertFalse(isLogined(selenium), "Logout was not succesfull.");
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -21,7 +21,7 @@
String albumName = "_album";
renderPage();
- RealWorldHelper.login(selenium, "user_for_add");
+ RealWorldHelper.login(this, "user_for_add");
selenium.click(HtmlConstants.ToolBarArea.VIEW_ALBUMS_PATH);
waitForAjaxCompletion();
Assert.assertFalse(RealWorldHelper.isAlbumPresentOnPage(selenium, albumName));
@@ -37,7 +37,7 @@
String shelfName = "_shelf";
renderPage();
- RealWorldHelper.login(selenium, "user_for_add");
+ RealWorldHelper.login(this, "user_for_add");
selenium.click(HtmlConstants.ToolBarArea.VIEW_SHELFS_PATH);
waitForAjaxCompletion();
Assert.assertFalse(RealWorldHelper.isShelfPresentOnPage(selenium, shelfName));
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DeleteUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DeleteUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DeleteUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -25,7 +25,7 @@
public void testDeleteImage() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_del");
+ RealWorldHelper.login(this, "user_for_del");
selenium.click(HtmlConstants.ToolBarArea.VIEW_IMAGES_PATH);
waitForAjaxCompletion();
@@ -41,7 +41,7 @@
public void testDeleteAlbum() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_del");
+ RealWorldHelper.login(this, "user_for_del");
selenium.click(HtmlConstants.ToolBarArea.VIEW_ALBUMS_PATH);
waitForAjaxCompletion();
@@ -55,7 +55,7 @@
public void testDeleteShelf() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_del");
+ RealWorldHelper.login(this, "user_for_del");
String shelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_NAME_PATH);
RealWorldHelper.deleteCurrentShelf(selenium);
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DnDUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DnDUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/DnDUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -18,7 +18,7 @@
@Test
public void testDnDAlbumFromTree() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_add");
+ RealWorldHelper.login(this, "user_for_add");
String toShelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_PATH + "[2]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX);
String fromShelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_PATH + "[3]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX);
RealWorldHelper.openShelf(selenium, fromShelfName);
@@ -43,7 +43,7 @@
@Test
public void testDnDAlbumFromPreview() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_add");
+ RealWorldHelper.login(this, "user_for_add");
String fromShelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_PATH + "[2]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX);
String toShelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_PATH + "[3]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX);
RealWorldHelper.openShelf(selenium, fromShelfName);
@@ -66,7 +66,7 @@
@Test
public void testDnDImage() {
renderPage();
- RealWorldHelper.login(selenium, "user_for_dnd");
+ RealWorldHelper.login(this, "user_for_dnd");
RealWorldHelper.openShelf(selenium);
String fromAlbumName = selenium.getText(HtmlConstants.AlbumArea.PREVIEW_PATH + HtmlConstants.AlbumArea.PREVIEW_NAME_PATH_SUFFIX);
String toAlbumName = selenium.getText(HtmlConstants.AlbumArea.PREVIEW_PATH + "[2]" + HtmlConstants.AlbumArea.PREVIEW_NAME_PATH_SUFFIX);
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/EditUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/EditUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/EditUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -17,7 +17,7 @@
@Test
public void testEditShelf() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
String shelfName = selenium.getText(HtmlConstants.ShelfArea.HEADER_NAME_PATH);
String description = "New shelf description";
selenium.click(HtmlConstants.ShelfArea.EDIT_PATH);
@@ -31,7 +31,7 @@
@Test
public void testEditAlbum() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
String albumName = selenium.getText(HtmlConstants.AlbumArea.PREVIEW_PATH + HtmlConstants.AlbumArea.PREVIEW_NAME_PATH_SUFFIX);
String description = "New album description";
RealWorldHelper.openAlbumFromPreview(selenium);
@@ -46,7 +46,7 @@
@Test
public void testEditImage() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
RealWorldHelper.openAlbumFromPreview(selenium);
String imageName = selenium.getText(HtmlConstants.ImageArea.PREVIEW_PATH + HtmlConstants.ImageArea.PREVIEW_NAME_PATH_SUFFIX);
String description = "New image description";
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -21,7 +21,7 @@
public void testAuthentication() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
RealWorldHelper.logout(selenium);
}
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -26,7 +26,7 @@
@Test
public void testOpenAlbumAndImageWithAuthentication() {
renderPage();
- RealWorldHelper.login(selenium, LOGIN_VIKING);
+ RealWorldHelper.login(this, LOGIN_VIKING);
RealWorldHelper.openAlbumFromPreview(selenium);
RealWorldHelper.openImageFromPreview(selenium);
}
@@ -34,7 +34,7 @@
@Test
public void testOpenUserProfile() {
renderPage();
- RealWorldHelper.login(selenium, LOGIN_VIKING);
+ RealWorldHelper.login(this, LOGIN_VIKING);
selenium.click(HtmlConstants.LogInOutArea.USER_INFO_PATH);
waitForAjaxCompletion();
RealWorldHelper.testUserProfile(selenium, LOGIN_VIKING);
@@ -43,7 +43,7 @@
@Test
public void testOpenFilesUpload() {
renderPage();
- RealWorldHelper.login(selenium, LOGIN_VIKING);
+ RealWorldHelper.login(this, LOGIN_VIKING);
selenium.click(HtmlConstants.ToolBarArea.ADD_IMAGE_PATH);
waitForAjaxCompletion();
RealWorldHelper.testFilesUpload(selenium);
@@ -53,7 +53,7 @@
@Test
public void testToolbarViewButtons() {
renderPage();
- RealWorldHelper.login(selenium, LOGIN_VIKING);
+ RealWorldHelper.login(this, LOGIN_VIKING);
selenium.click(HtmlConstants.ToolBarArea.VIEW_SHELFS_PATH);
waitForAjaxCompletion();
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/ScrollerUseCasesTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/ScrollerUseCasesTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/ScrollerUseCasesTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -18,7 +18,7 @@
@Test
public void testScroller() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
selenium.click(HtmlConstants.ToolBarArea.VIEW_IMAGES_PATH);
waitForAjaxCompletion();
RealWorldHelper.openImageFromPreview(selenium);
Modified: branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java
===================================================================
--- branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java 2009-09-15 00:30:58 UTC (rev 15569)
+++ branches/community/3.3.X/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java 2009-09-15 10:16:09 UTC (rev 15570)
@@ -34,7 +34,7 @@
public void testSearch() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
selenium.click(SEARCH_OPTION);
selenium.check(OBJECTS_MY);
@@ -47,7 +47,7 @@
public void testSearchOnMyOnly() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
selenium.click(SEARCH_OPTION);
selenium.check(OBJECTS_MY);
@@ -60,7 +60,7 @@
public void testSearchOnSharedOnly() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
selenium.click(SEARCH_OPTION);
selenium.uncheck(OBJECTS_MY);
@@ -73,7 +73,7 @@
public void testSearchOnMyTags() {
renderPage();
- RealWorldHelper.login(selenium);
+ RealWorldHelper.login(this);
selenium.click(SEARCH_OPTION);
selenium.check(OBJECTS_MY);
14 years, 7 months
JBoss Rich Faces SVN: r15569 - branches/community/3.3.X/ui/tree/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-09-14 20:30:58 -0400 (Mon, 14 Sep 2009)
New Revision: 15569
Modified:
branches/community/3.3.X/ui/tree/src/main/config/component/commonTreeListeners.ent
Log:
https://jira.jboss.org/jira/browse/RF-7705
Modified: branches/community/3.3.X/ui/tree/src/main/config/component/commonTreeListeners.ent
===================================================================
--- branches/community/3.3.X/ui/tree/src/main/config/component/commonTreeListeners.ent 2009-09-14 23:32:06 UTC (rev 15568)
+++ branches/community/3.3.X/ui/tree/src/main/config/component/commonTreeListeners.ent 2009-09-15 00:30:58 UTC (rev 15569)
@@ -16,11 +16,6 @@
<eventclass>
org.richfaces.event.DropEvent
</eventclass>
- <taghandler generate="false">
- <classname>
- org.richfaces.taglib.DropListenerHandler
- </classname>
- </taghandler>
<property existintag="true" exist="true" el="false">
<name>type</name>
<classname>java.lang.String</classname>
@@ -44,11 +39,6 @@
<eventclass>
org.richfaces.event.DragEvent
</eventclass>
- <taghandler generate="false">
- <classname>
- org.richfaces.taglib.DragListenerHandler
- </classname>
- </taghandler>
<property existintag="true" exist="true" el="false">
<name>type</name>
<classname>java.lang.String</classname>
14 years, 7 months
JBoss Rich Faces SVN: r15568 - branches/community/3.3.X/cdk/maven-resource-dependency-plugin/src/main/java/org/richfaces/cdk/rd/generator.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-09-14 19:32:06 -0400 (Mon, 14 Sep 2009)
New Revision: 15568
Modified:
branches/community/3.3.X/cdk/maven-resource-dependency-plugin/src/main/java/org/richfaces/cdk/rd/generator/StyleAssembler.java
Log:
https://jira.jboss.org/jira/browse/RF-7848
Modified: branches/community/3.3.X/cdk/maven-resource-dependency-plugin/src/main/java/org/richfaces/cdk/rd/generator/StyleAssembler.java
===================================================================
--- branches/community/3.3.X/cdk/maven-resource-dependency-plugin/src/main/java/org/richfaces/cdk/rd/generator/StyleAssembler.java 2009-09-14 19:26:50 UTC (rev 15567)
+++ branches/community/3.3.X/cdk/maven-resource-dependency-plugin/src/main/java/org/richfaces/cdk/rd/generator/StyleAssembler.java 2009-09-14 23:32:06 UTC (rev 15568)
@@ -44,6 +44,10 @@
public class StyleAssembler implements ResourceAssembler {
+ private static final String PLAIN_CSS_BLOCK_START = "<f:verbatim><![CDATA[";
+
+ private static final String PLAIN_CSS_BLOCK_END = "]]></f:verbatim>";
+
protected Log log = new SystemStreamLog();
private VelocityComponent velocityComponent;
@@ -78,7 +82,9 @@
}
} else {
+ builder.append(PLAIN_CSS_BLOCK_START);
builder.append(IOUtil.toString(resourceInputStream));
+ builder.append(PLAIN_CSS_BLOCK_END);
}
} finally {
14 years, 7 months
JBoss Rich Faces SVN: r15567 - branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-09-14 15:26:50 -0400 (Mon, 14 Sep 2009)
New Revision: 15567
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
Log:
RFPL-143
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2009-09-14 17:48:41 UTC (rev 15566)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2009-09-14 19:26:50 UTC (rev 15567)
@@ -190,7 +190,7 @@
@Test
public void testStylesAndStyleClassesAreOutputToClient(Template template) {
- renderPage(LOOK_AND_FEEL_TEST_URL, template, null);
+ renderPage(LOOK_AND_FEEL_TEST_URL, template, RESET_METHOD);
writeStatus("Check styles and classes are output to client");
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2009-09-14 17:48:41 UTC (rev 15566)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2009-09-14 19:26:50 UTC (rev 15567)
@@ -488,27 +488,27 @@
@Test
public void testShowButtonsLabel(Template template) {
init(template);
- Assert.assertEquals(getTextById(copyAllId), "Copy All Items", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(copyId), "Copy", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(removeId), "Remove", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(removeAllId), "Remove All", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(firstId), "Move to top", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(upId), "Up", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(downId), "Down", "The text on the button must be visible.");
- Assert.assertEquals(getTextById(lastId), "Last", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + copyAllId + "']//text()"), "Copy All Items", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + copyId + "']//text()"), "Copy", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + removeId + "']//text()"), "Remove", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + removeAllId + "']//text()"), "Remove All", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + firstId + "']//text()"), "Move to top", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + upId + "']//text()"), "Up", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + downId + "']//text()"), "Down", "The text on the button must be visible.");
+ Assert.assertEquals(selenium.getText("//*[@id='" + lastId + "']//text()"), "Last", "The text on the button must be visible.");
selenium.click(showButtonLabelsId);
waitForAjaxCompletion();
clickAjaxCommandAndWait(submitId);
- Assert.assertEquals(getTextById(copyAllId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(copyId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(removeId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(removeAllId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(firstId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(upId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(downId), "", "The text on the button mustn't be visible.");
- Assert.assertEquals(getTextById(lastId), "", "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + copyAllId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + copyId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + removeId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + removeAllId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + firstId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + upId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + downId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
+ Assert.assertEquals(selenium.getXpathCount("//*[@id='" + lastId + "']//text()").intValue(), 0, "The text on the button mustn't be visible.");
}
/**
14 years, 7 months
JBoss Rich Faces SVN: r15566 - in branches/community/3.3.X/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-09-14 13:48:41 -0400 (Mon, 14 Sep 2009)
New Revision: 15566
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/main/webapp/pages/dnd/dndTest.xhtml
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
Log:
RFPL-143
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/main/webapp/pages/dnd/dndTest.xhtml
===================================================================
(Binary files differ)
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -1735,7 +1735,7 @@
@Test
public void testResetTimeOnDateSelect(Template template) {
- renderPage(RESET_TIME_ON_DATE_SELECTION_TEST_URL, template, null);
+ renderPage(RESET_TIME_ON_DATE_SELECTION_TEST_URL, template, RESET_METHOD);
initIds(getParentId());
String expectedDefaultTime = "05/05/2007 13:13";
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -46,7 +46,7 @@
FILTERING
}
- static final String [] COLUMNS_CLASSSES = new String [] {"dr-table-cell", "rich-table-cell", "columnClass"};
+ static final String [] COLUMNS_CLASSSES = new String [] {"rich-table-cell", "columnClass"};
@Test
public void testExternalSorting(Template template) {
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -47,7 +47,6 @@
private static final String RESET_METHOD = "#{dataTableBean.reset}";
private static final String [] dataTableClassNames = new String [] {
- "dr-table",
"rich-table"
};
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -67,7 +67,7 @@
String ddMenuItem = tester.getClientId("item1");
String ddMenuIdPath = "//div[@id='" + ddMenuId + "']/div[1]";
- assertClassNames(ddMenuId, new String [] {"dr-menu-label", "rich-ddmenu-label", "dr-menu-label-unselect", "rich-ddmenu-label-unselect"}, "Drop down menu has unexpected css classes", true);
+ assertClassNames(ddMenuId, new String [] {"rich-ddmenu-label", "rich-ddmenu-label-unselect"}, "Drop down menu has unexpected css classes", true);
assertClassNames(ddMenuId, new String[] {"dropDownMenuClass"}, "Class attribute does not work for DropDown menu component", true);
assertClassNames(ddMenuGroup, new String [] {"rich-menu-group-enabled", "rich-menu-group"}, "Menu group has unexpected css classes", true);
assertClassNames(ddMenuGroup, new String[] {"menuGroupClass"}, "Class attribute does not work for Menu group component", true);
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -66,7 +66,7 @@
writeStatus("Check that a new element is selected");
- AssertValueEquals(inplaceSelectId + "inplaceValue", "Birch");
+ AssertValueEquals(inplaceSelectId + "value", "Birch");
writeStatus("Select another element"); // Aspen
@@ -126,7 +126,7 @@
super.initIds();
inplaceValuePrefix = "value";
inplaceId = formId + "ii";
- iTempValuePx = "tmpValue";
+ iTempValuePx = "tempValue";
}
}
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -277,7 +277,7 @@
String id = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
writeStatus("Checking value in input field");
AssertValueEquals(id + "Input", Integer.toString(value));
- AssertTextEquals(id + "Tip", Integer.toString(value));
+ AssertTextEquals("//*[@id='" + id + "Tip']/text()", Integer.toString(value));
writeStatus("Checking tip and tracker position");
String actualHandle = runScript("document.getElementById('" + id + "Handle').style.left");
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -29,7 +29,7 @@
private final static String RESET_METHOD_NAME = "#{panelBean.cleanValues}";
- private final static String[] ITEM_HIGHLIGHTS = {"dr-pmenu-selected-item", "rich-pmenu-selected-element"};
+ private final static String[] ITEM_HIGHLIGHTS = {"rich-pmenu-selected-element"};
private final static String COSMETIC_TEST_URL = "pages/panelMenu/menuPanelCosmeticTest.xhtml";
@@ -275,7 +275,8 @@
AssertTextNotEquals(itemAction, "NOT none", "Nothing is going to happen");
}
- @Test
+ //https://jira.jboss.org/jira/browse/RF-7900
+ @Test(groups=FAILURES_GROUP)
public void testIconsAttributesAreApplied(Template template) {
renderPage(COSMETIC_TEST_URL, template, RESET_METHOD_NAME);
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -45,7 +45,6 @@
static final String [] panelClasses = new String [] {
- "dr-pnl",
"rich-panel",
"myClass"
};
Modified: branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
===================================================================
--- branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2009-09-14 16:41:01 UTC (rev 15565)
+++ branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2009-09-14 17:48:41 UTC (rev 15566)
@@ -65,7 +65,7 @@
private static Map<String, String> params = new HashMap<String, String>();
- private static final String [] DISABLED_TAB_CLASSES = new String [] { "dr-tbpnl-tb", "rich-tab-header", "dr-tbpnl-tb-dsbl", "rich-tab-disabled"};
+ private static final String [] DISABLED_TAB_CLASSES = new String [] {"rich-tab-header", "rich-tab-disabled"};
static {
params.put("parameter1", "value1");
@@ -444,16 +444,16 @@
autoTester.testHTMLEvents();
- assertClassNames("//*[@id='" + panelId + "']/tbody/tr/td", new String [] { "dr-bottom-line", "rich-tab-bottom-line", "headerClass"}, "Header css classes are incoorect or headerClass attribute was not output to client", false);
+ assertClassNames("//*[@id='" + panelId + "']/tbody/tr/td", new String [] {"rich-tab-bottom-line", "headerClass"}, "Header css classes are incoorect or headerClass attribute was not output to client", false);
- assertClassNames("//*[@id='" + tab1Id + "_lbl']", new String [] {"dr-tbpnl-tb", "rich-tab-header", "dr-tbpnl-tb-act", "rich-tab-active", "tabClass", "activeTabClass"}, "Active Tab has incorrect css classes.", false);
- assertClassNames("//*[@id='" + tab2Id + "_lbl']", new String [] {"dr-tbpnl-tb", "rich-tab-header", "dr-tbpnl-tb-inact", "rich-tab-inactive", "tabClass", "inactiveTabClass"}, "Inactive Tab has incorrect css classes.", false);
+ assertClassNames("//*[@id='" + tab1Id + "_lbl']", new String [] {"rich-tab-header", "rich-tab-active", "tabClass", "activeTabClass"}, "Active Tab has incorrect css classes.", false);
+ assertClassNames("//*[@id='" + tab2Id + "_lbl']", new String [] {"rich-tab-header", "rich-tab-inactive", "tabClass", "inactiveTabClass"}, "Inactive Tab has incorrect css classes.", false);
clickAjaxCommandAndWait(tab2Id + "_lbl");
String tab2ContentPath = "//*[@id='" + tab2Id + "']/table/tbody/tr/td";
assertStyleAttributeContains(tab2ContentPath, "font-weight: bold", "Style attribute was not output for tab");
- assertClassNames(tab2ContentPath, new String [] {"dr-tbpnl-cntnt", "rich-tabpanel-content", "contentClass", "styleClass"}, "Tab css classes are incorrect", false);
+ assertClassNames(tab2ContentPath, new String [] {"rich-tabpanel-content", "contentClass", "styleClass"}, "Tab css classes are incorrect", false);
assertEvents(tab2ContentPath, SeleniumEvent.STANDARD_HTML_EVENTS);
title = selenium.getAttribute(tab2ContentPath + "/@title");
14 years, 7 months
JBoss Rich Faces SVN: r15565 - branches/community/3.3.X/ui/menu-components/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-09-14 12:41:01 -0400 (Mon, 14 Sep 2009)
New Revision: 15565
Modified:
branches/community/3.3.X/ui/menu-components/src/main/java/org/richfaces/renderkit/html/AbstractMenuRenderer.java
Log:
https://jira.jboss.org/jira/browse/RF-7808
Modified: branches/community/3.3.X/ui/menu-components/src/main/java/org/richfaces/renderkit/html/AbstractMenuRenderer.java
===================================================================
--- branches/community/3.3.X/ui/menu-components/src/main/java/org/richfaces/renderkit/html/AbstractMenuRenderer.java 2009-09-14 16:27:22 UTC (rev 15564)
+++ branches/community/3.3.X/ui/menu-components/src/main/java/org/richfaces/renderkit/html/AbstractMenuRenderer.java 2009-09-14 16:41:01 UTC (rev 15565)
@@ -150,6 +150,10 @@
}
protected Object getItemScriptObject(FacesContext context, UIComponent kid) {
+ if (!kid.isRendered()) {
+ return null;
+ }
+
String itemId = null;
List<Object> scriptObject = null;
boolean closeOnClick = true;
@@ -198,6 +202,7 @@
scriptObject.add(options);
}
}
+
return scriptObject;
}
@@ -207,21 +212,29 @@
public void encodeChildren(FacesContext context, UIComponent component)
throws IOException {
- List flatListOfNodes = new LinkedList();
+ List<UIMenuGroup> flatListOfNodes = new LinkedList<UIMenuGroup>();
String width = (String) component.getAttributes().get("popupWidth");
flatten(component.getChildren(), flatListOfNodes);
processLayer(context, component, width);
- for (Iterator iter = flatListOfNodes.iterator(); iter.hasNext();) {
- UIMenuGroup node = (UIMenuGroup) iter.next();
- if (node.isRendered() && !node.isDisabled())
- processLayer(context, node, width);
+ for (Iterator<UIMenuGroup> iter = flatListOfNodes.iterator(); iter.hasNext();) {
+ UIMenuGroup node = iter.next();
+ processLayer(context, node, width);
}
}
public void processLayer(FacesContext context, UIComponent layer,
String width) throws IOException {
+
+ if (!layer.isRendered()) {
+ return ;
+ }
+
+ if (layer instanceof UIMenuGroup && ((UIMenuGroup) layer).isDisabled()) {
+ return ;
+ }
+
String clientId = layer.getClientId(context);
ResponseWriter writer = context.getResponseWriter();
@@ -268,14 +281,17 @@
}
}
- private void flatten(List kids, List flatList) {
+ private void flatten(List<UIComponent> kids, List<UIMenuGroup> flatList) {
if (kids != null) {
- for (Iterator iter = kids.iterator(); iter.hasNext();) {
+ for (Iterator<UIComponent> iter = kids.iterator(); iter.hasNext();) {
UIComponent kid = (UIComponent) iter.next();
if (kid instanceof UIMenuGroup) {
UIMenuGroup node = (UIMenuGroup) kid;
- flatList.add(node);
- flatten(node.getChildren(), flatList);
+
+ if (node.isRendered()) {
+ flatList.add(node);
+ flatten(node.getChildren(), flatList);
+ }
}
}
}
14 years, 7 months
JBoss Rich Faces SVN: r15564 - branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/calendar.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2009-09-14 12:27:22 -0400 (Mon, 14 Sep 2009)
New Revision: 15564
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/calendar/CalendarTestCase.java
Log:
* modified waiting condition
Modified: branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/calendar/CalendarTestCase.java
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/calendar/CalendarTestCase.java 2009-09-14 16:00:44 UTC (rev 15563)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/src/test/java/org/jboss/richfaces/integrationTest/calendar/CalendarTestCase.java 2009-09-14 16:27:22 UTC (rev 15564)
@@ -30,6 +30,8 @@
import java.util.Locale;
import org.jboss.richfaces.integrationTest.AbstractSeleniumRichfacesTestCase;
+import org.jboss.test.selenium.waiting.Condition;
+import org.jboss.test.selenium.waiting.Wait;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -240,8 +242,11 @@
String date = selenium.getText(LOC_RANDOM_DAY);
selenium.click(LOC_RANDOM_DAY);
- assertTrue(belongsClass("rich-calendar-select", LOC_RANDOM_DAY), format("The date {0} should be selected.",
- date));
+ Wait.timeout(15000).failWith(format("The date {0} should be selected.", date)).until(new Condition() {
+ public boolean isTrue() {
+ return belongsClass("rich-calendar-select", LOC_RANDOM_DAY);
+ }
+ });
String dateTime = selenium.getValue(LOC_DATE_INPUT);
StringBuilder expected = new StringBuilder(date);
14 years, 7 months
JBoss Rich Faces SVN: r15563 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2009-09-14 12:00:44 -0400 (Mon, 14 Sep 2009)
New Revision: 15563
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_panelBar.xml
Log:
RF-7804: Rich Output component group description review --> rich:panelBarItem
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_panelBar.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_panelBar.xml 2009-09-14 16:00:01 UTC (rev 15562)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_panelBar.xml 2009-09-14 16:00:44 UTC (rev 15563)
@@ -7,12 +7,11 @@
<section>
<title>Description</title>
<para>
- The component is used for grouping any content which is loaded on the client side and appears as groups divided on child panels after the header is clicked.</para>
+ The component is designed to group one or more <link linkend="rich_panelBarItem"><rich:panelBarItem></link> components into one interactive panel.
+ </para>
<figure>
<title>
- <emphasis role="bold">
- <property><rich:panelBar></property>
- </emphasis> with content inside</title>
+ <emphasis role="bold"><property><rich:panelBar></property></emphasis> with content inside</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/panelBar_init.png"/>
14 years, 7 months