horizon/openstack_dashboard/test/integration_tests
Ferenc Cserepkei 4676694179 Add "prev" link to instance page list pagination
Currently there is no link to previous page at paginated instances
table. This patch resolves that issue by re-using the pagination
code for flavors.

It also supports Ying Zuo's scenario:
After I set only 1 item per page and deleted the instance on the first page,
the expected behavior is showing the next instance in the table after one is
deleted.

xxxIndexView uses PagedTableMixin's _get_marker() from now instead of GET()-
ing the markers

Closes-Bug: #1274427
Co-Authored-By: Dmitry Ratushnyy <dratushn@cisco.com>
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Id8eaae6bf1b5d6f42291291655e14b8715c08bc8
Signed-off-by: Ferenc Cserepkei <ferenc.cserepkei@ericsson.com>
2018-12-28 20:46:11 +09:00
..
pages Merge "Bump hacking to 1.1.0" 2018-11-14 09:19:47 +00:00
regions Integration test fixes 2018-06-21 10:59:31 +03:00
tests Add "prev" link to instance page list pagination 2018-12-28 20:46:11 +09:00
README.rst updated integration tests README.rst 2018-06-29 00:25:32 +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 Add domain support for specialized test login 2018-11-12 21:06:37 +00:00
decorators.py Fix H405 (multi line docstring) warnings (openstack_dashboard) 2017-06-09 16:05:31 +00:00
helpers.py integration test fixes 2018-07-02 17:16:45 +00:00
horizon.conf Integration test fixes 2018-06-21 10:59:31 +03:00
video_recorder.py Clean up logger usage 2017-04-13 04:35:50 +00: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. :

    $ tox -e py27integration

More information

https://wiki.openstack.org/wiki/Horizon/Testing/UI

https://wiki.mozilla.org/QA/Execution/Web_Testing/Docs/Automation/StyleGuide#Page_Objects