Check and close all the popup messages in one step
and return all the levels of present messages.
There is no longer necessary to use a separate step for checking
presence/absence of Success message, Error message, etc.
Change-Id: I15a0dbe99282f00c5970d9d7d5c9b480989e9e14
In python3, super() does not always require a class and self reference.
In other words, super() is enough for most cases.
This is much simpler and it is time to switch it to the newer style.
pylint provides a check for this.
Let's enable 'super-with-arguments' check.
NOTE: _prepare_mappings() method of FormRegion in
openstack_dashboard/test/integration_tests/regions/forms.py is refactored.
super() (without explicit class and self referece) does not work when
a subclass method calls a same method in a parent class multiple times.
It looks better to prepare a separate method to provide a common logic.
Change-Id: Id9512a14be9f20dbd5ebd63d446570c7b7c825ff
* updated admin user case navigation to admin - overview page on login
* updated test_update_compute_defaults making it specific to compute
* defined test_update_volume_defaults & updated defaults page module
* removed skip decorator for test_create_delete_project as bug 1777359
is resolved
* cleaned up test_flavors and updated flavors page module
Change-Id: If529bfd7bc7fd0e29b42b12e601824ec6d684fca
* fixed 37 tests in total
* restructured and renamed test modules as per horizon
* fixed page navigation & updated method calls
* fixed css selector and xpaths as per horizon
* Removed decorators.skip for working tests
* included decorators.skip for non - working tests
* updated description for tests as per horizon navigation
* removed *update flavor info* and *update flavor access* test, as feature unavailable on horizon
* updated table column name references in page modules
* updated bind table action names as per horizon
* included help page navigation checkpoint
* fixed rc file download drop down selection
* updated page titles in test modules
* included calls as required for spinner disappearance
* updated form fields as per test needs
* updated default ipv4 and subnet for router interfaces
* included string conversion as required for comparisons
* updated cirros image name in horizon.conf
Change-Id: I9fdc810b37443b616bbb82956d1c90a0fa5ebd6b
This patch enables all of the features for the Flavors panel to use Angular but
disables it, so that it is easy to switch on/off.
Note that we add integration test switches since it can't read the Django
conf.
Note that I changed the common tests to allow for testing of api calls that
don't produce error toasts, because we needed better branch coverage, and
the deleteFlavor api wasn't fully branch-tested.
Change-Id: I92b1b57bd486e5eb87179cb8d44b7551e9de2e0f
Partially-Implements: blueprint ng-flavors
intermittantly should be intermittently
finctionality should be functionality
funcionalities should be functionalities
Closes-Bug: #1595439
Change-Id: If04aa2170a0c27ebfa89a1e3fa1539ea0e52f7b6
Added integration tests to cover the row level actions
functionality for the Admin>Flavors panel:
Added test to verify update flavor info functionality
Added test to verify update access functionality
Implements blueprint: horizon-integration-tests-coverage
Change-Id: If126f9ed74e899276b1021e1a8cb39c82bb683c5
Check for presence of expected messages in integration tests (and
absense of unexpected) and dismiss expected messages at once. The
latter change should make tests to pass a bit faster.
Implements blueprint: integration-tests-improvements-part1
Change-Id: I78fe771d8d650145080b68d14ac9ef91640d0f80
Adding function gen_random_resource_name for generation random resources
that should be used in the integration tests. Mentioned method
automatically adds horizon string into the resource name in order to clearly
distinguish resource origin.
Also timestamp is added for better debugging of the tests in more
complex testcases.
uuid4 function is used to minimize resource name collisions.
Closes-Bug: #1399219
Partially implements blueprint: selenium-integration-testing
Change-Id: Id5cb26e50b7b442af69798a2928be514adf7d8fe
Added the flavorspage under the admin tab and test_flavor_create
that checks basic flavor creation and deletion.
Partially implements blueprint: selenium-integration-testing
Closes-Bug: #1403397
Change-Id: I9841c34b27d61195c4603109cdb7cc0d7e8633ae