Files
horizon/openstack_dashboard/test/integration_tests
Jay Faulkner 609983c263 Support new pytest 8.3.4
Pytest, as of 3.2.0 and newer, require all unittest.TestCase subclasses
to be able to be instantiated without specific arguments when gathering
tests.

Co-Authored-By: cid <cid@gr-oss.io>
Change-Id: I3c6958bbe0d64bac98d72fc0d156da19e8920269
2025-01-15 11:45:08 -08:00
..
2025-01-15 11:45:08 -08:00
2025-01-15 11:45:08 -08: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