Author: alevkovsky
Date: 2009-02-13 08:09:10 -0500 (Fri, 13 Feb 2009)
New Revision: 12651
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarMacrosubstitutionTest.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java
Log:
Progress bar selenium tests
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java 2009-02-13
13:04:09 UTC (rev 12650)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java 2009-02-13
13:09:10 UTC (rev 12651)
@@ -28,8 +28,6 @@
private boolean enabled = false;
- private int content = 0;
-
private Long value = -5L;
private Long secondValue = -1L;
@@ -49,6 +47,11 @@
public void complete(ActionEvent event) {
this.value = 120L;
}
+
+ public void reset(ActionEvent event) {
+ this.value = -5L;
+ this.secondValue = -1L;
+ }
/**
* @return the enabled
@@ -80,25 +83,6 @@
}
/**
- * @return the content
- */
- public String getContent() {
- content++;
- return String.valueOf(content);
- }
-
- /**
- * @param content the content to set
- */
- public void setContent(String content) {
- if(content != null && content.length() > 0){
- this.content = Integer.parseInt(content);
- }else{
- this.content = 0;
- }
- }
-
- /**
* @return the secondValue
*/
public Long getSecondValue() {
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarAutoTest.xhtml
===================================================================
(Binary files differ)
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarMacrosubstitutionTest.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarMacrosubstitutionTest.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/progressBar/progressBarTest.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java 2009-02-13
13:04:09 UTC (rev 12650)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java 2009-02-13
13:09:10 UTC (rev 12651)
@@ -17,7 +17,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
+ */
package org.richfaces.testng;
import java.util.HashMap;
@@ -30,232 +30,408 @@
import org.testng.annotations.Test;
public class ProgressBarTest extends SeleniumTestBase {
-
- private static Map<String, String> params = new HashMap<String,
String>();
- private final static String RESET_METHOD = "#{progressBarBean.reset}";
- static {
- params.put("parameter1", "value1");
- params.put("parameter2", "value2");
- params.put("parameter3", "value3");
- }
-
- private final static String RERENDER_AFTER_COMPLETE_TEST_URL =
"pages/progressBar/progressBarRerenderOnCompleteTest.xhtml";
+ private static Map<String, String> params = new HashMap<String, String>();
- @Test
- public void testProgressBarComponent(Template template) {
+ private final static String RESET_METHOD = "#{progressBarBean.reset}";
+ static {
+ params.put("parameter1", "value1");
+ params.put("parameter2", "value2");
+ params.put("parameter3", "value3");
+ }
- renderPage(template, RESET_METHOD);
-
+ private final static String RERENDER_AFTER_COMPLETE_TEST_URL =
"pages/progressBar/progressBarRerenderOnCompleteTest.xhtml";
+ private final static String MACROSUBSTITUTION_TEST_URL =
"pages/progressBar/progressBarMacrosubstitutionTest.xhtml";
- String parentId = getParentId() + "_form:";
- String progressBarId = parentId + "progressBar1";
- int value = getProgressBarValue(progressBarId);
- Assert.assertTrue(value < 0, "Progress value should be negative");
- String text = getTextById(progressBarId);
- writeStatus("Check if process not started");
- Assert.assertTrue(text.startsWith("Process not started"), "Initial
facet does not appear");
+ @Test
+ public void testProgressBarComponent(Template template) {
- writeStatus("Enable polling");
- enableProgressBar(progressBarId, true);
+ renderPage(template, RESET_METHOD);
- pause(5000, progressBarId);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar1";
+ int value = getProgressBarValue(progressBarId);
+ Assert.assertTrue(value < 0, "Progress value should be negative");
+ String text = getTextById(progressBarId);
+ writeStatus("Check if process not started");
+ Assert.assertTrue(text.startsWith("Process not started"),
+ "Initial facet does not appear");
- writeStatus("Disable polling");
- enableProgressBar(progressBarId, false);
+ writeStatus("Enable polling");
+ enableProgressBar(progressBarId, true);
- writeStatus("Check label");
- text = getTextById(progressBarId + ":remain");
- Assert.assertTrue(text.endsWith("%"), "Percent label doesnot
appear");
+ pause(5000, progressBarId);
- writeStatus("Check value");
- value = getProgressBarValue(progressBarId);
- Assert.assertTrue(value > 0, "Progress value should be positive");
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
- writeStatus("Enable polling");
- enableProgressBar(progressBarId, true);
+ writeStatus("Check label");
+ text = getTextById(progressBarId + ":remain");
+ Assert.assertTrue(text.endsWith("%"), "Percent label doesnot
appear");
- pause(5000, progressBarId);
- writeStatus("Check value");
- Assert.assertTrue((getProgressBarValue(progressBarId).intValue() > value),
- "Progress has been terminated abnormal");
+ writeStatus("Check value");
+ value = getProgressBarValue(progressBarId);
+ Assert.assertTrue(value > 0, "Progress value should be positive");
- writeStatus("Disable polling");
- enableProgressBar(progressBarId, false);
+ writeStatus("Enable polling");
+ enableProgressBar(progressBarId, true);
- value = getProgressBarValue(progressBarId);
- pause(1500, progressBarId);
- writeStatus("Check value");
- Assert.assertTrue(getProgressBarValue(progressBarId) == value,
- "Progress didnt stop after progressBar disabling");
+ pause(5000, progressBarId);
+ writeStatus("Check value");
+ Assert.assertTrue(
+ (getProgressBarValue(progressBarId).intValue() > value),
+ "Progress has been terminated abnormal");
- clickById(parentId + "_complete");
- waitForAjaxCompletion();
- writeStatus("Check if process completed");
- text = getTextById(progressBarId);
- Assert.assertTrue(text.startsWith("Process completed"), "Comlete
facet does not appear");
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
- // - Test client mode
-
- writeStatus("Check value");
- progressBarId = parentId + "progressBar2";
- value = getProgressBarValue(progressBarId);
- Assert.assertTrue(value == -5, "Progress value should be -5 ");
+ value = getProgressBarValue(progressBarId);
+ pause(1500, progressBarId);
+ writeStatus("Check value");
+ Assert.assertTrue(getProgressBarValue(progressBarId) == value,
+ "Progress didnt stop after progressBar disabling");
- text = getTextById(progressBarId);
- writeStatus("Check if process not started");
- Assert.assertTrue(text.startsWith("Process not started"), "Initial
facet does not appear");
+ clickById(parentId + "_complete");
+ waitForAjaxCompletion();
+ writeStatus("Check if process completed");
+ text = getTextById(progressBarId);
+ Assert.assertTrue(text.startsWith("Process completed"),
+ "Comlete facet does not appear");
- setProgressBarValue(progressBarId, 20);
- value = getProgressBarValue(progressBarId);
- writeStatus("Check value");
- Assert.assertTrue(value == 20, "Progress value should be 20 ");
+ // - Test client mode
- setProgressBarValue(progressBarId, 60);
- value = getProgressBarValue(progressBarId);
- writeStatus("Check value");
- Assert.assertTrue(value == 60, "Progress value should be 60");
+ writeStatus("Check value");
+ progressBarId = parentId + "progressBar2";
+ value = getProgressBarValue(progressBarId);
+ Assert.assertTrue(value == -5, "Progress value should be -5 ");
- }
-
- @Test
- public void testActionListeners(Template template) {
- //FIXME actionListener not work in progressBar RF-5500
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test action listener attribute");
- tester.testActionListener();
- }
-
- @Test
- public void testActionListenersWithExternalValidationFailure(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test action listener attribute");
- tester.testExtrenalValidationFailure();
- }
-
- @Test
- public void testRenderedAttribute(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test component with rendered = false is not present on the
page");
- tester.testRendered();
- }
+ text = getTextById(progressBarId);
+ writeStatus("Check if process not started");
+ Assert.assertTrue(text.startsWith("Process not started"),
+ "Initial facet does not appear");
- @Test
- public void testNestedParams(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test component encodes nested f:param tags and their values are
present as request parameters");
- tester.testRequestParameters(params);
- }
+ setProgressBarValue(progressBarId, 20);
+ value = getProgressBarValue(progressBarId);
+ writeStatus("Check value");
+ Assert.assertTrue(value == 20, "Progress value should be 20 ");
- @Test
- public void testImmediate(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test immediate attribute");
- tester.testImmediate(false);
- }
+ setProgressBarValue(progressBarId, 60);
+ value = getProgressBarValue(progressBarId);
+ writeStatus("Check value");
+ Assert.assertTrue(value == 60, "Progress value should be 60");
- @Test
- public void testImmediateWithExternalValidationFailed(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test immediate attribute with external validation
failed");
- tester.testImmediateWithExternalValidationFailed(false);
- }
+ }
- @Test
- public void testNestedActionListener(Template template) {
- //FIXME actionListener not work in progressBar RF-5500
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test actionListener defined as nested tag are invoked on the
server ");
- tester.testNestedActionListener();
- }
+ @Test
+ public void testActionListeners(Template template) {
+ //FIXME actionListener not work in progressBar RF-5500
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test action listener attribute");
+ tester.testActionListener();
+ }
- @Test
- public void testListenersAreNotInvokedInCaseOfExternalValidationFailure(Template
template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test listeners aren't invoked in case of external
validation failure");
- tester.testExtrenalValidationFailure();
- }
+ @Test
+ public void testActionListenersWithExternalValidationFailure(
+ Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test action listener attribute");
+ tester.testExtrenalValidationFailure();
+ }
- @Test
- public void testAjaxSingle(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test ajaxSingle attribute");
- tester.testAjaxSingle(false);
- }
+ @Test
+ public void testRenderedAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test component with rendered = false is not present on the
page");
+ tester.testRendered();
+ }
- @Test
- public void testAjaxSingleWithInternalValidationFailed(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test ajaxSingle attribute in case of invalid children
state");
- tester.testAjaxSingleWithInternalValidationFailed();
- }
-
- @Test
- public void testAjaxSingleWithExternalProcessValidationFailed(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test ajaxSingle attribute in case of external validation
failure");
- tester.testAjaxSingleWithProcesExternalValidation(false);
- }
-
- @Test
- public void testReRender(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, null);
- writeStatus("Test reRender attribute");
- tester.testReRender();
- }
-
- @Test
- public void testReRenderAfterComplete(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(RERENDER_AFTER_COMPLETE_TEST_URL, template, RESET_METHOD);
- writeStatus("Test reRenderAfterComplete attribute");
- tester.testReRender();
- }
-
- private void enableProgressBar(String id, boolean enable) {
- invokeFromComponent(id, (enable ? "enable" : "disable"),
null);
- }
+ @Test
+ public void testNestedParams(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test component encodes nested f:param tags and their values are
present as request parameters");
+ tester.testRequestParameters(params);
+ }
- private void setProgressBarValue(String id, Object value) {
- invokeFromComponent(id, "setValue", value);
- }
+ @Test
+ public void testImmediate(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test immediate attribute");
+ tester.testImmediate(false);
+ }
- private Integer getProgressBarValue(String id) {
- String value = invokeFromComponent(id, "getValue", null); //
runScript(script.toString());
- Integer v = Integer.parseInt(value);
- return v;
- }
-
- @Override
- public void sendAjax() {
- delay(2000);
- }
+ @Test
+ public void testImmediateWithExternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test immediate attribute with external validation failed");
+ tester.testImmediateWithExternalValidationFailed(false);
+ }
- @Override
- public void setInternalValidationFailed() {
- String childCompId = getAutoTester(this).getClientId("") +
"child";
- setValueById(childCompId, "");
- }
+ @Test
+ public void testNestedActionListener(Template template) {
+ //FIXME actionListener not work in progressBar RF-5500
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test actionListener defined as nested tag are invoked on the server
");
+ tester.testNestedActionListener();
+ }
- public String getTestUrl() {
- return "pages/progressBar/progressBarTest.xhtml";
+ @Test
+ public void testListenersAreNotInvokedInCaseOfExternalValidationFailure(
+ Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test listeners aren't invoked in case of external validation
failure");
+ tester.testExtrenalValidationFailure();
+ }
+
+ @Test
+ public void testAjaxSingle(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test ajaxSingle attribute");
+ tester.testAjaxSingle(false);
+ }
+
+ @Test
+ public void testAjaxSingleWithInternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test ajaxSingle attribute in case of invalid children state");
+ tester.testAjaxSingleWithInternalValidationFailed();
+ }
+
+ @Test
+ public void testAjaxSingleWithExternalProcessValidationFailed(
+ Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test ajaxSingle attribute in case of external validation
failure");
+ tester.testAjaxSingleWithProcesExternalValidation(false);
+ }
+
+ @Test
+ public void testReRender(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test reRender attribute");
+ tester.testReRender();
+ }
+
+ @Test
+ public void testReRenderAfterComplete(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(RERENDER_AFTER_COMPLETE_TEST_URL, template,
+ RESET_METHOD);
+ writeStatus("Test reRenderAfterComplete attribute");
+ tester.testReRender();
+ }
+
+ @Test
+ public void testJSAPIAjaxMode(Template template) {
+ renderPage(template, RESET_METHOD);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar1";
+ testJSAPI(progressBarId);
+
+ }
+
+ @Test
+ public void testJSAPIClientMode(Template template) {
+ renderPage(template, RESET_METHOD);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar2";
+ testJSAPI(progressBarId);
+ }
+
+ private void testJSAPI(String progressBarId) {
+
+ int value = getProgressBarValue(progressBarId);
+ Assert.assertTrue(value < 0, "Progress value should be negative");
+
+ // enable()
+ enableProgressBar(progressBarId, true);
+ pause(5000, progressBarId);
+
+ // disable()
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
+
+ // setValue(value)
+ writeStatus("Check value");
+ setProgressBarValue(progressBarId, 20);
+ value = getProgressBarValue(progressBarId);
+
+ Assert.assertTrue(value == 20, "Progress value should be 20 ");
+
+ // setLabel(label)
+ writeStatus("Check label");
+ String text = getTextById(progressBarId + ":remain");
+ Assert.assertTrue(text.endsWith("%"), "Percent label doesnot
appear");
+
+ setProgressBarLabel(progressBarId, "myLabel");
+
+ text = getTextById(progressBarId + ":remain");
+ Assert.assertTrue(text.contains("myLabel"), "New label doesnot
appear");
+
+ }
+
+ @Test
+ public void testFacets(Template template) {
+
+ renderPage(template, RESET_METHOD);
+
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar1";
+ int value = getProgressBarValue(progressBarId);
+ Assert.assertTrue(value < 0, "Progress value should be negative");
+ String text = getTextById(progressBarId);
+ writeStatus("Check if process not started");
+ Assert.assertTrue(text.startsWith("Process not started"),
+ "Initial facet does not appear");
+
+ writeStatus("Enable polling");
+ enableProgressBar(progressBarId, true);
+
+ pause(5000, progressBarId);
+
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
+
+ text = getTextById(progressBarId);
+ Assert.assertFalse(text.contains("Process not started"),
+ "Initial facet does not dissapear");
+ Assert.assertFalse(text.contains("Process completed"),
+ "Initial facet does not dissapear");
+
+ clickById(parentId + "_complete");
+ waitForAjaxCompletion();
+ writeStatus("Check if process completed");
+ text = getTextById(progressBarId);
+ Assert.assertTrue(text.startsWith("Process completed"),
+ "Comlete facet does not appear");
+
+ }
+
+ @Test
+ public void testMacrosubstitutionAjaxMode(Template template) {
+ renderPage(MACROSUBSTITUTION_TEST_URL, template, RESET_METHOD);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar1";
+ testMacrosubstitution(progressBarId, 2);
+
+ }
+
+ @Test
+ public void testMacrosubstitutionClientMode(Template template) {
+ renderPage(MACROSUBSTITUTION_TEST_URL, template, RESET_METHOD);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar2";
+ testMacrosubstitution(progressBarId, 1);
+ }
+
+ private void testMacrosubstitution(String progressBarId, int value) {
+
+ writeStatus("Enable polling");
+ enableProgressBar(progressBarId, true);
+ pause(5000, progressBarId);
+
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
+
+ setProgressBarValue(progressBarId, 20);
+
+ // check macrosubstitutions
+
+ writeStatus("Check macrosubstitutions");
+ String text = getTextById(progressBarId);
+ Assert.assertTrue(text.contains("Min value is 0"),
+ "{minValue} macrosubstitution doesn't work");
+ Assert.assertTrue(text.contains("current value is 20"),
+ "{value} macrosubstitution doesn't work");
+ Assert.assertTrue(text.contains("max value is 100"),
+ "{maxValue} macrosubstitution doesn't work");
+
+ }
+
+ @Test
+ public void testStylesAndClasses(Template template) {
+
+ renderPage(MACROSUBSTITUTION_TEST_URL, template, RESET_METHOD);
+ String parentId = getParentId() + "_form:";
+ String progressBarId = parentId + "progressBar1";
+
+ assertClassNames(progressBarId, new String[] { "initialClass" },
+ "initialClass attribute not work for Progress Bar", true);
+
+ writeStatus("Enable polling");
+ enableProgressBar(progressBarId, true);
+ pause(5000, progressBarId);
+
+ writeStatus("Disable polling");
+ enableProgressBar(progressBarId, false);
+
+ assertClassNames(progressBarId, new String[] { "testClass" },
+ "styleClass attribute not work for Progress Bar", true);
+ assertClassNames(progressBarId + ":remain",
+ new String[] { "remainClass" },
+ "remainClass attribute not work for Progress Bar", true);
+ assertClassNames(progressBarId + ":complete",
+ new String[] { "completeClass" },
+ "completeClass attribute not work for Progress Bar", true);
+
+ assertAttributeContains(progressBarId, "style", "font-size: 10px",
+ "style attribute not work for Progress Bar");
+ }
+
+ @Test
+ public void testHTMLEvents(Template template){
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ tester.testHTMLEvents();
}
-
- @Override
- public String getAutoTestUrl() {
- return "pages/progressBar/progressBarAutoTest.xhtml";
- }
+ private void enableProgressBar(String id, boolean enable) {
+ invokeFromComponent(id, (enable ? "enable" : "disable"), null);
+ }
+
+ private void setProgressBarValue(String id, Object value) {
+ invokeFromComponent(id, "setValue", value);
+ }
+
+ private void setProgressBarLabel(String id, Object value) {
+ invokeFromComponent(id, "setLabel", value);
+ }
+
+ private Integer getProgressBarValue(String id) {
+ String value = invokeFromComponent(id, "getValue", null); //
runScript(script.toString());
+ Integer v = Integer.parseInt(value);
+ return v;
+ }
+
+ @Override
+ public void sendAjax() {
+ delay(2000);
+ }
+
+ @Override
+ public void setInternalValidationFailed() {
+ String childCompId = getAutoTester(this).getClientId("") +
"child";
+ setValueById(childCompId, "");
+ }
+
+ public String getTestUrl() {
+ return "pages/progressBar/progressBarTest.xhtml";
+ }
+
+ @Override
+ public String getAutoTestUrl() {
+ return "pages/progressBar/progressBarAutoTest.xhtml";
+ }
+
}