horizon/openstack_dashboard/test/integration_tests
mavinagi faa6324280 Integration tests - Instances tests
Added instancespage based on the new regions.
test_instances checks the instance createion and deletion.

Few other modifications I've made:
* forms:
- removed "div >" from checkbox locator, to identify "default" checkbox in
  "launch_instance->Access & Security ->default"
*horizon.conf
- Added [launch_instances] to include instances attributes from config file
*config
- Added InstancesGroup to include [launch_instances] from horizon.conf

Partially implements blueprint: integration-tests-hardening

Change-Id: I7d58a970fd36ff86021f3f050c5d01586a26599c
2015-10-17 07:44:09 +00:00
..
pages Integration tests - Instances tests 2015-10-17 07:44:09 +00:00
regions Integration tests - Instances tests 2015-10-17 07:44:09 +00:00
tests Integration tests - Instances tests 2015-10-17 07:44:09 +00:00
README.rst Integration tests - running the tests 2014-02-26 10:45:21 +00:00
__init__.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
basewebobject.py Reduce the chance of Selenium timeouts in integration tests 2015-08-20 16:16:38 +03:00
config.py Integration tests - Instances tests 2015-10-17 07:44:09 +00:00
helpers.py Dump browser log on integration test failure 2015-10-14 14:41:35 -07:00
horizon.conf Integration tests - Instances tests 2015-10-17 07:44:09 +00:00
webdriver.py Dump browser log on integration test failure 2015-10-14 14:41:35 -07:00

README.rst

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