Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28017

Run additional functional tests on a remote instance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Tests

      Description

      There are additional functional tests besides UI tests that might be useful to run on a remote server:

      Other tests in the same folder are probably not interesting for cloud deployments (static war and wizard)

      Note more rest api tests will come with NXP-27011

      Sample way to launch server-tests:

      $ cd nuxeo/nuxeo-distribution/nuxeo-server-tests
      $ mvn clean test-compile
      $ mvn -o org.apache.maven.plugins:maven-failsafe-plugin:integration-test -Dwebdriver.firefox.bin=/home/anahide/src/ff-42/firefox -DnuxeoURL=https://nightly.nuxeo.com/nuxeo/
      

      NB: FF 42 is expected for these tests, currently

      Note some tests might not be relevant depending on the use case or might need to be adapted – typically server tests are not expecting any UI to be present, and there are some failures like:

      2019-09-12 18:49:15,846 [main] ERROR [LogTestWatchman] Test 'org.nuxeo.ftest.server.ITOAuth2Test#testAuthorizationDenied' failed
      org.junit.ComparisonFailure: expected:<http[://localhost:8080]/nuxeo/home.html> but was:<http[s://nightly.nuxeo.com]/nuxeo/home.html>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: