Old Horizon integration tests were replaced by new integration-pytest tests some time ago and the old tests are no longer used. However, the tests support code (helpers, decorators, etc.) is being preserved as it is still used by other plugins. Change-Id: I52e7cc36d51406b5b0531ca5c2b42b609504b721 Signed-off-by: Jan Jasek <jjasek@redhat.com>
Horizon Integration Tests
Horizon's integration tests treat Horizon as a black box.
Running the integration tests
Set up an OpenStack server
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.sampleRun 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