horizon/openstack_dashboard/test/integration_tests
Akihiro Motoki a33ac87de1 Multiple integration test fixes
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 b89c1abfa5)
2016-09-23 11:32:25 +00:00
..
pages Multiple integration test fixes 2016-09-23 11:32:25 +00:00
regions Fix intermittent integration test failures related to messages 2016-08-25 13:45:08 +03:00
tests Support for Glance v2 2016-09-12 11:16:33 -07:00
README.rst Add configuration mechanism to turn off browser maximisation 2016-02-11 07:05:22 +11:00
__init__.py Integration tests - running the tests 2014-02-26 10:45:21 +00:00
basewebobject.py Wait for user menu items to become visible before clicking them 2016-04-26 15:57:29 +03:00
config.py Make 'switch' between legacy and Angular Images 2016-08-05 08:17:21 -06:00
decorators.py Make 'switch' between legacy and Angular Images 2016-08-05 08:17:21 -06:00
helpers.py Merge "Implement video capture for failed tests" 2016-06-08 08:43:07 +00:00
horizon.conf Enable Angular Image panel 2016-08-16 11:42:23 +00:00
video_recorder.py Implement video capture for failed tests 2016-06-07 13:09:47 +03: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. Update the configuration file at horizon.conf or add overrides to that file in local-horizon.conf which is ignored by git.

  3. 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