horizon/openstack_dashboard/test/integration_tests
Zuul 3a17391e4a Merge "Cleanup python 2.7 handling logic" 2020-03-05 16:41:47 +00:00
..
pages Remove six usage from openstack_dashboard package 2020-01-15 12:47:48 +02:00
regions Fix menu navigation for slow loading pages 2020-02-26 23:14:19 -06:00
tests Merge "Fix volumes and volume_snapshots integration tests" 2019-12-02 20:13:30 +00:00
README.rst Avoid duplicated maintenance of integration test config 2020-01-10 00:55:43 +09:00
__init__.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
basewebobject.py Fix pep8 errors 2018-04-11 00:34:21 +09:00
config.py Avoid duplicated maintenance of integration test config 2020-01-10 00:55:43 +09:00
decorators.py Cleanup python 2.7 handling logic 2020-02-21 09:02:37 +09:00
helpers.py Remove six usage from openstack_dashboard package 2020-01-15 12:47:48 +02:00
horizon.conf Merge "Fix volumes and volume_snapshots integration tests" 2019-12-02 20:13:30 +00:00
video_recorder.py Clean up logger usage 2017-04-13 04:35:50 +00: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. Prepare the configuration file at local-horizon.conf if you need to change the default configurations. Note that horizon.conf can be used for the same purpose too from the historical reason.

    You can generate a sample configuration file by the following command:

    $ oslo-config-generator \
          --namespace openstack_dashboard_integration_tests
          --output-file openstack_dashboard/test/integration_tests/horizon.conf.sample
  3. Run the tests. :

    $ tox -e integration

More information

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

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