diff options
author | Zuul <zuul@review.opendev.org> | 2023-03-04 19:41:20 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-03-04 19:41:20 +0000 |
commit | b79ffad5c302a60e5a61f0938ec87b8e98ee44f1 (patch) | |
tree | 3466687557f8ec92452e7cf22a377597514638c7 | |
parent | df4037bd81089ab6302bd1e7db4d5d142d11b1b5 (diff) | |
parent | 63169f021da6a2f576a477150922c05a7daa19b0 (diff) | |
download | horizon-b79ffad5c302a60e5a61f0938ec87b8e98ee44f1.tar.gz |
Merge "Add setup and teardown to the volumes pagination tests" into stable/wallaby
-rw-r--r-- | openstack_dashboard/test/integration_tests/tests/test_volumes.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openstack_dashboard/test/integration_tests/tests/test_volumes.py b/openstack_dashboard/test/integration_tests/tests/test_volumes.py index a95e1ea25..d3c4b926c 100644 --- a/openstack_dashboard/test/integration_tests/tests/test_volumes.py +++ b/openstack_dashboard/test/integration_tests/tests/test_volumes.py @@ -101,6 +101,15 @@ class TestVolumesBasic(helpers.TestCase): 12) Delete created volumes """ volumes_page = self.home_pg.go_to_project_volumes_volumespage() + + # delete any old instances + garbage = volumes_page.volumes_table.get_column_data( + name_column='Name') + if garbage: + volumes_page.delete_volumes(garbage) + self.assertTrue( + volumes_page.find_message_and_dismiss(messages.INFO)) + count = 3 items_per_page = 1 volumes_names = ["{0}_{1}".format(self.VOLUME_NAME, i) for i in |