horizon/openstack_dashboard/test/integration_tests
Zuul 9ee7099927 Merge "Don't fail integration tests if browser log couldn't be retrieved" 2021-03-22 10:32:39 +00:00
..
pages Merge "[Cleanup] Remove unused attributes" 2020-12-03 18:19:20 +00:00
regions Use python3-style super() 2020-10-15 14:37:20 +09:00
tests Drop the usage of unicode prefix from unicode strings 2021-02-12 13:05:27 -06: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 Update cirros image to cirros-0.5.2-x86_64 2021-03-16 17:11:06 +05:30
decorators.py import "collections.abc" explicitly 2021-03-04 18:47:37 +00:00
helpers.py Don't fail integration tests if browser log couldn't be retrieved 2021-02-03 21:00:48 +01:00
horizon.conf Update cirros image to cirros-0.5.2-x86_64 2021-03-16 17:11:06 +05:30
video_recorder.py Fix video recording for integration tests 2020-04-09 09:20:04 +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