Skip to content

jlaska/cfme_tests

 
 

Repository files navigation

cfme_tests

CloudForms: Management Engine Tests

Setup:

  1. Copy credentials.yaml.template, mozwebqa.cfg.template, pytest.ini.template from cfme_pages project, and remove the .template extension.
  2. Edit to reflect your environment (these should NOT be checked in to source control)
  3. Create a virtualenv to run pytest from
  4. pip install -Ur /path/to/cfme_tests/requirements.txt
  5. When tests are run in cfme_tests, the system will look for the cfme_pages repo in 4 locations. If they are not there, PYTHONPATH must be set.
    1. $(cwd)/cfme_pages
    2. $(cwd)/../cfme_pages
    3. ${HOME}/workspace/cfme_pages
    4. ${HOME}/cfme_pages
  6. py.test --driver=firefox --credentials=credentials.yaml --untrusted
  7. Some of the items in the previous step can be put into your environment, and into pytest.ini so you can then just run py.test. That exercise is left for the reader.

To setup up for chrome:

  1. Download from http://code.google.com/p/chromedriver/downloads/list. Use the latest available for your arch. There is currently a problem with the chromedriver2, so use the latest that is NOT chromedriver2.
  2. Unzip that file to somewhere on your path.
  3. Substitue --driver=firefox with --driver=chrome

About

ManageIQ Tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%