diff options
author | Zuul <zuul@review.opendev.org> | 2023-03-04 20:44:09 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-03-04 20:44:09 +0000 |
commit | 108f449cbac2c54de3afd39e8419ec769b1ed2a2 (patch) | |
tree | 34203134b7c843da389ad94c1bd3ecccb14f1a96 | |
parent | 7421a21e18311c85cceea15381efe333ce8e9077 (diff) | |
parent | 730c987d9263a0f6981786b26493457a187c2928 (diff) | |
download | horizon-108f449cbac2c54de3afd39e8419ec769b1ed2a2.tar.gz |
Merge "Add setup and teardown to the volumes pagination tests" into stable/yoga
-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 28bd3dfd0..3d8727b70 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 |