Author: dsvyatobatsko
Date: 2008-10-10 12:37:00 -0400 (Fri, 10 Oct 2008)
New Revision: 10723
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/menuPanelCosmeticTest.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/panelMenuTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
Log:
an attempt to speed the test up
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/menuPanelCosmeticTest.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/menuPanelCosmeticTest.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenu/panelMenuTest.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2008-10-10
15:51:16 UTC (rev 10722)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2008-10-10
16:37:00 UTC (rev 10723)
@@ -11,6 +11,8 @@
private final static String[] ITEM_HIGHLIGHTS = {"dr-pmenu-selected-item",
"rich-pmenu-selected-element"};
+ private final static String COSMETIC_TEST_URL =
"pages/panelMenu/menuPanelCosmeticTest.xhtml";
+
@Test
public void testPanelMenuClientAPI(Template template) {
renderPage(template, RESET_METHOD_NAME);
@@ -255,7 +257,7 @@
@Test
public void testIconsAttributesAreApplied(Template template) {
- renderPage(template, RESET_METHOD_NAME);
+ renderPage(COSMETIC_TEST_URL, template, RESET_METHOD_NAME);
writeStatus("Check icons attributes applied: are output to client and images
are accessible");
@@ -274,7 +276,7 @@
@Test
public void testRenderedComponentAttribute(Template template) {
- renderPage(template, RESET_METHOD_NAME);
+ renderPage(COSMETIC_TEST_URL, template, RESET_METHOD_NAME);
writeStatus("Check the component with rendered = false is not present on the
page");
@@ -285,7 +287,7 @@
@Test
public void testStyleAndClassesStandardHTMLAttributesAreOutputToClient(Template
template) {
- renderPage(template, RESET_METHOD_NAME);
+ renderPage(COSMETIC_TEST_URL, template, RESET_METHOD_NAME);
writeStatus("Check style and classes, standard HTML attributes are output to
client");
@@ -308,7 +310,7 @@
@Test
public void
testSelectedChildAttributeIsReadOnRenderingAndUpdatedOnFormSubmit(Template template) {
- renderPage(template, RESET_METHOD_NAME);
+ renderPage(COSMETIC_TEST_URL, template, RESET_METHOD_NAME);
writeStatus("Check selectedChild attribute is read on rendering and updated
on form submit");
Show replies by date