horizon/openstack_dashboard/test/integration_tests
2021-12-03 07:30:59 +00:00
..
pages Fix the instances pagination integration tests 2021-07-28 21:00:05 +00:00
regions Changes for tacker-horizon integration tests 2021-08-27 09:07:18 +05:30
tests Fix the instances pagination integration tests 2021-07-28 21:00:05 +00: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
README.rst Avoid duplicated maintenance of integration test config 2020-01-10 00:55:43 +09:00
video_recorder.py Fix video recording for integration tests 2020-04-09 09:20:04 +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. 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