Skip to end of metadata
Go to start of metadata

How To Running Locally:

  • When testing against the local application (i.e. -Dremote.public.url=localhost:8080...) the local application must be up and running.
  • From the command line, (remove it.test or -Dmaven.failsafe.includes to run them all) see below for more configuration settings:

  • From IntelliJ use JVM args for server to run tests against and not closing at the end of the run.
  1. Enable JUnit test environment plugin (if not already enabled)
    File -> Settings -> IDE Settings -> Plugins
    Check the checkboxes JUnit
  2. Create Run Configuration for test:
    • -Dremote.public.url=localhost:8080/kr-dev -Dremote.driver.dontTearDown=y
    • -Dremote.public.url=localhost:8080/krad-dev -Dremote.driver.dontTearDownOnFailure=y -Dremote.driver.highlight=true -Dremote.jgrowl.enabled=false -Dremote.public.wait.seconds=8 -Dremote.driver.step.screenshot=true
    • -Dremote.public.url=env3.rice.kuali.org -Dremote.driver.dontTearDown=y
  3. Run or Debug the test from the Run Configuration

Firefox version 32 and above

Icon

Currently the selenium tests do not work with Firefox version 32 and higher.  Either downgrade Firefox or use Chrome.

Running Locally with Chrome:

 

How To Run a Selenium Test on Saucelabs.

  1. Signup for your free Saucelabs.com account.
  2. Recompile Smoke Tests:
  3. Using your sauce credentials (username and key from My Account) and the first maven command line way above, append configuration values for:

How To Run a Selenium Test through a Selenium hub

  1. Using command line from above, append configuration values for: