<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I run each stage of the Webdriver tests separately? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325727#M12728</link>
    <description>&lt;P&gt;Right. Thanks for the feedback for other users. Was it not clear enough in the documentation? Don't hesitate to contribute documentation (as commit to the Readme.md files or as comments on doc.nuxeo.com).&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jul 2012 16:26:06 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2012-07-11T16:26:06Z</dc:date>
    <item>
      <title>How do I run each stage of the Webdriver tests separately?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325725#M12726</link>
      <description>&lt;P&gt;I want to be able to prepare the environment, bring up the test server, run the tests, and then bring down the server in four separate steps because I want to do some additional customization between each step. To do so, I did the following (this is the 5.6-SNAPSHOT branch):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ cd nuxeo-distribution-dm/ftest/webdriver
$ mvn test-compile
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=prepare-tomcat
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=start
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=run-selenium
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But the last step fails with the following output (in the below I renamed the nuxeo-distribution  folder to nuxeo-dm-webdriver):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;user-extensions:
     [echo] Replace url in prefs.js
     [copy] Copying 1 file to c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target\ffprofile
     [echo] java -jar c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/selenium-server.jar -log c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/selenium-debug.log -port 14440
     [echo]       -timeout 7200 -userExtensions c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/user-extensions.js -htmlSuite *chrome &lt;A href="http://localhost:8080/nuxeo/" target="test_blank"&gt;http://localhost:8080/nuxeo/&lt;/A&gt;
     [echo]       tests/${suite}.html c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/results/result-${suite}.html -firefoxProfileTemplate c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/ffprofile
     [echo]       &amp;gt;c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target/selenium.log
     [echo]       with ${suite} in null
     [echo]
    [unzip] [INFO] Resolving org.nuxeo:nuxeo-ftest:zip:1.7.1-SNAPSHOT:compile ...
    [unzip] Expanding: C:\Users\jnaous\.m2\repository\org\nuxeo\nuxeo-ftest\1.7.1-SNAPSHOT\nuxeo-ftest-1.7.1-SNAPSHOT.zip int
o c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target

selenium-run-suite:
     [echo] Suite: null
     [exec] Result: 1

BUILD FAILED
c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\target\nuxeo-ftest.xml:349: Suites in error:  null

Total time: 3 seconds
[ERROR] Error occurred while running c:\Users\jnaous\AppData\Local\Temp\nuxeo-dm-webdriver\nuxeo-distribution-dm\ftest\webdriver\itests.xml: Suites in error:  null
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Jul 10 15:19:52 PDT 2012
[INFO] Final Memory: 31M/439M
[INFO] ------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It seems to me that I should specify -Dsuites=x,y,z (from the ftest docs) but there is no tests directory, so I don't know what it should be.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 00:28:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325725#M12726</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-07-11T00:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I run each stage of the Webdriver tests separately?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325726#M12727</link>
      <description>&lt;P&gt;Just figured it out. For Webdriver tests, the steps are:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ cd nuxeo-distribution-dm/ftest/webdriver
$ mvn test-compile
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=prepare-tomcat
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=start
$ mvn failsafe:integration-test
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=stop
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And for selenium tests:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ cd nuxeo-distribution-dm/ftest/selenium
$ mvn test-compile
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=prepare-tomcat
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=start
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=run-selenium
$ mvn org.nuxeo.build:nuxeo-distribution-tools:integration-test -Dtarget=stop
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Jul 2012 00:45:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325726#M12727</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-07-11T00:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I run each stage of the Webdriver tests separately?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325727#M12728</link>
      <description>&lt;P&gt;Right. Thanks for the feedback for other users. Was it not clear enough in the documentation? Don't hesitate to contribute documentation (as commit to the Readme.md files or as comments on doc.nuxeo.com).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 16:26:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325727#M12728</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-07-11T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I run each stage of the Webdriver tests separately?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325728#M12729</link>
      <description>&lt;P&gt;For someone who is quite familiar with maven or ant the docs might have been sufficient. I didn't know whether there was anything else that needed to be done or what the stages were, or whether maven executes other targets while doing verify that aren't just the steps above. In particular, for the webdriver tests, you need to use the failsafe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2012 18:00:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-run-each-stage-of-the-webdriver-tests-separately/m-p/325728#M12729</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-07-11T18:00:04Z</dc:date>
    </item>
  </channel>
</rss>

