horizon/openstack_dashboard/test/integration_tests
Daniel Korn 5001bca975 Integration tests - page objects pattern
First pages:
* pageobject - the base page for all page objects
* loginpage - the login page object
* basepage - base class for all dashboard page objects
* adminpage
* projectpage

First test:
test_login - a basic scenario test:
* checks that the login page is available
* logs in as a regular user
* checks that the user home page loads without error

https://wiki.openstack.org/wiki/Horizon/Testing/UI

Partially implements blueprint: selenium-integration-testing

Change-Id: Icad82f5f7810c348ddc30cd767f1d3bf5ecb926e
2014-03-25 13:42:57 +02:00
..
pages Integration tests - page objects pattern 2014-03-25 13:42:57 +02:00
tests Integration tests - page objects pattern 2014-03-25 13:42:57 +02:00
__init__.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
config.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
helpers.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
horizon.conf Integration tests - page objects pattern 2014-03-25 13:42:57 +02:00
README.rst Integration tests - running the tests 2014-02-26 10:45:21 +00:00

Horizon Integration Tests

Horizon's integration tests treat Horizon as a black box.

Running the integration tests

  1. Set up an OpenStack server

  2. Update the configuration file at horizon.conf

  3. Run the tests. :

    $ ./run_tests.sh --integration

More information

https://wiki.openstack.org/wiki/Horizon/Testing/UI

https://wiki.mozilla.org/QA/Execution/Web_Testing/Docs/Automation/StyleGuide#Page_Objects