a33ac87de1
This patch represents the following patches, combined:
---
integration tests: retry WebDriver instantiation when conn refused
https://review.openstack.org/#/c/375042/
We see connection refused which leads to integration test failure randomly.
This seems to come from high load of test infra. This commit retries
WebDriver instantiation when connection refused is returned.
There is no confident this workaround works, but it would be great
if this reduces the number of failures. Let's try.
---
integration test: ensure IPv4 address is extracted
https://review.openstack.org/#/c/374826/
In test_floatingip_associate_disassociate, IPv6 address is passed
to Floating IP associate API. This commit ensures to pick up IPv4
address of an instance.
Change-Id: Iba71d1e17e252527a82cd53c34dca35723367b28
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Partial-Bug: #1626643
Closes-Bug: #1626536
(cherry picked from commit
|
||
---|---|---|
.. | ||
pages | ||
regions | ||
tests | ||
README.rst | ||
__init__.py | ||
basewebobject.py | ||
config.py | ||
decorators.py | ||
helpers.py | ||
horizon.conf | ||
video_recorder.py |
README.rst
Horizon Integration Tests
Horizon's integration tests treat Horizon as a black box.
Running the integration tests
Set up an OpenStack server
Update the configuration file at horizon.conf or add overrides to that file in local-horizon.conf which is ignored by git.
Run the tests. :
$ ./run_tests.sh --integration
More information
https://wiki.openstack.org/wiki/Horizon/Testing/UI
https://wiki.mozilla.org/QA/Execution/Web_Testing/Docs/Automation/StyleGuide#Page_Objects