You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/03/18 21:25:37 UTC
svn commit: r1083049 - /myfaces/tobago/trunk/src/site/fml/faq.fml
Author: lofwyr
Date: Fri Mar 18 20:25:37 2011
New Revision: 1083049
URL: http://svn.apache.org/viewvc?rev=1083049&view=rev
Log:
note about selenium
Modified:
myfaces/tobago/trunk/src/site/fml/faq.fml
Modified: myfaces/tobago/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/fml/faq.fml?rev=1083049&r1=1083048&r2=1083049&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/fml/faq.fml (original)
+++ myfaces/tobago/trunk/src/site/fml/faq.fml Fri Mar 18 20:25:37 2011
@@ -293,5 +293,31 @@ mvn compile checkstyle:check</source>
SUBST X: "C:\Dokumente und Einstellungen\MyUser\Apache Projects\"</source>
</answer>
</faq>
+ <faq id="selenium">
+ <question>How can I run the Selenium tests?</question>
+ <answer>
+ <p>
+ In the tobago-example-test application, the pages can be checked with selenium since Tobago 1.5.
+ To run the full test automatically call
+ <source>
+mvn -P integration-test</source>
+ This will start a jetty server and a selenium server and calls every listed page in the test application.
+ </p>
+
+ <p>
+ If you want to run the tests from your IDE, please start the jetty with
+ <source>
+mvn jetty:run</source> or <source>mvn jetty:run-exploded</source>
+ and start the selenium server with
+ <source>
+mvn selenium:start-server</source>
+ Now you can start the selenium tests in the IDE.
+ </p>
+ <p>
+ Sometimes there is a problem with Firefox. You may try to use a different version, or an installation without
+ plugins.
+ </p>
+ </answer>
+ </faq>
</part>
</faqs>