<?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 need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321261#M8262</link>
    <description>&lt;P&gt;Thanks for the pointers Julien! I finally got it working. I checked out nuxeo-distribution, and then&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2012 01:58:48 GMT</pubDate>
    <dc:creator>jadtn_</dc:creator>
    <dc:date>2012-06-26T01:58:48Z</dc:date>
    <item>
      <title>How do I need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321259#M8260</link>
      <description>&lt;P&gt;Hi,
I've been trying to run nuxeo's Selenium and WebDriver tests for the past few days and have not gotten anywhere. Here's what I have done:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ git clone git://github.com/nuxeo/nuxeo.git
$ cd nuxeo
$ python clone.py release-5.5
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;then I added the nuxeo repositories to a few pom.xml files that were complaining, then I did:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ mvn clean install
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;that took a while to complete. Then I set the database's environment variables, and then:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ cd nuxeo/nuxeo-distribution/nuxeo-distribution-tomcat-tests
$ mvn integration-test -Pmysql
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but then maven hangs at running &lt;CODE&gt;ITTests&lt;/CODE&gt;, and nothing happens for a long time. I've looked at a number of various places for running Selenium tests for nuxeo, and I tried all the commands they had listed to no avail.&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2012 17:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321259#M8260</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-06-25T17:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321260#M8261</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;then I added the nuxeo repositories to a few pom.xml files that were complaining&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should not have to do that. Could you provide some details about those errors?&lt;BR /&gt;/&amp;gt;
Also, you don't need to build the whole Nuxeo source tree in order run only some modules: the missing artifacts are downloaded by Maven.&lt;/P&gt;
&lt;P&gt;Anyway, you ended at the right place: &lt;A href="https://github.com/nuxeo/nuxeo-distribution/tree/release-5.5/nuxeo-distribution-tomcat-tests"&gt;nuxeo-distribution-tomcat-tests&lt;/A&gt; is running a few WebDriver tests. Another interesting module is &lt;A href="https://github.com/nuxeo/nuxeo-distribution/tree/release-5.5/nuxeo-distribution-dm/ftest/selenium"&gt;nuxeo-distribution-dm/ftest/selenium&lt;/A&gt; which is running the main Selenium suites.&lt;BR /&gt;/&amp;gt;
Give a look at its &lt;A href="https://github.com/nuxeo/nuxeo-distribution/blob/release-5.5/nuxeo-distribution-dm/ftest/selenium/README.txt"&gt;README&lt;/A&gt;, usually &lt;CODE&gt;mvn verify&lt;/CODE&gt; is enough for running the tests. Later, you can customize the tests using various properties and profiles.&lt;/P&gt;
&lt;P&gt;You must know there are some issues between Selenium/WebDriver and Firefox/Chrome depending on their respective versions. In 5.5, some tests were working better with Firefox 3.6 whereas others (the newest WebDriver tests) required Firefox &amp;gt; 5. Since 5.5, we started migrating all tests to WebDriver, using the latest driver working with newer Firefox versions.&lt;/P&gt;
&lt;P&gt;The migration from Selenium to WebDriver is still a work in progress but we already did some refactoring and cleanup in the involved modules. We also slightly improved the documentation and README files. Maybe you should first try with the &lt;A href="https://github.com/nuxeo/nuxeo-distribution/tree/5.6-SNAPSHOT#modules-listing"&gt;5.6-SNAPSHOT branch and look at the modules' listing&lt;/A&gt;. I would recommend to start with the Selenium and WebDriver tests for DM.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2012 23:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321260#M8261</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-06-25T23:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321261#M8262</link>
      <description>&lt;P&gt;Thanks for the pointers Julien! I finally got it working. I checked out nuxeo-distribution, and then&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 01:58:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321261#M8262</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-06-26T01:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321262#M8263</link>
      <description>&lt;P&gt;When not activating the &lt;CODE&gt;customdb&lt;/CODE&gt; profile (i.e. &lt;CODE&gt;-Pcustomdb,pgsql&lt;/CODE&gt;), then the default H2 database is used. FYI, that's managed by [the integration nuxeo-distribution-tools (Ant-like) script][1] and [the DatabaseHelper class][2]; see the README file for a list of configurable properties.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 16:00:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321262#M8263</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-06-26T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I need to do to run nuxeo&amp;apos;s Selenium/Webdriver tests?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321263#M8264</link>
      <description>&lt;P&gt;Yeah, I may have been using mvn3 when I saw the errors, but have switched to mvn2 since.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2012 17:24:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-need-to-do-to-run-nuxeo-apos-s-selenium-webdriver-tests/m-p/321263#M8264</guid>
      <dc:creator>jadtn_</dc:creator>
      <dc:date>2012-06-28T17:24:54Z</dc:date>
    </item>
  </channel>
</rss>

