Temporarily disable the most problematic integration tests

Change-Id: I70ae0120aa838d5a659912a744566556b1fe04ad
Related-Bug: #1584057
This commit is contained in:
Timur Sufiev 2016-05-20 16:45:33 +03:00
parent 4008271106
commit eafec8e0c0
6 changed files with 32 additions and 1 deletions

View File

@ -11,6 +11,7 @@
# under the License.
from horizon.test import firefox_binary
from openstack_dashboard.test.integration_tests import decorators
from openstack_dashboard.test.integration_tests import helpers
from os import listdir
@ -51,6 +52,7 @@ class TestDownloadRCFile(helpers.AdminTestCase):
2, self._directory, self._openrc_template)
self.assertEqual(cred_dict, self.actual_dict)
@decorators.skip_because(bugs=['1584057'])
def test_download_rc_v3_file(self):
"""This is a basic scenario test:
Steps:
@ -71,4 +73,6 @@ class TestDownloadRCFile(helpers.AdminTestCase):
def tearDown(self):
super(TestDownloadRCFile, self).tearDown()
remove(join(self._directory, listdir(self._directory)[0]))
temporary_files = listdir(self._directory)
if len(temporary_files):
remove(join(self._directory, temporary_files[0]))

View File

@ -10,6 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack_dashboard.test.integration_tests import decorators
from openstack_dashboard.test.integration_tests import helpers
from openstack_dashboard.test.integration_tests.regions import messages
@ -255,6 +256,10 @@ class TestImagesAdmin(helpers.AdminTestCase, TestImagesBasic):
def images_page(self):
return self.home_pg.go_to_system_imagespage()
@decorators.skip_because(bugs=['1584057'])
def test_image_create_delete(self):
super(TestImagesAdmin, self).test_image_create_delete()
def test_filter_images(self):
"""This test checks filtering of images
Steps:

View File

@ -9,6 +9,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from openstack_dashboard.test.integration_tests import decorators
from openstack_dashboard.test.integration_tests import helpers
from openstack_dashboard.test.integration_tests.regions import messages
@ -45,6 +46,7 @@ class TestInstances(helpers.TestCase):
instances_page.find_message_and_dismiss(messages.ERROR))
self.assertTrue(instances_page.is_instance_deleted(self.INSTANCE_NAME))
@decorators.skip_because(bugs=['1584057'])
def test_instances_pagination(self):
"""This test checks instance pagination
Steps:
@ -237,3 +239,8 @@ class TestAdminInstances(helpers.AdminTestCase, TestInstances):
@property
def instances_page(self):
return self.home_pg.go_to_system_instancespage()
@decorators.skip_because(bugs=['1584057'])
def test_instances_pagination_and_filtration(self):
super(TestAdminInstances, self).\
test_instances_pagination_and_filtration()

View File

@ -31,6 +31,7 @@ class TestStacks(helpers.AdminTestCase):
go_to_compute_accessandsecurity_keypairspage()
self.assertTrue(keypair_page.is_keypair_present(self.KEYPAIR_NAME))
@decorators.skip_because(bugs=['1584057'])
@decorators.services_required("heat")
def test_create_delete_stack(self):
"""tests the stack creation and deletion functionality

View File

@ -10,6 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from openstack_dashboard.test.integration_tests import decorators
from openstack_dashboard.test.integration_tests import helpers
from openstack_dashboard.test.integration_tests.regions import messages
@ -178,6 +179,16 @@ class TestVolumeSnapshotsAdmin(helpers.AdminTestCase,
def volumes_snapshot_page(self):
return self.home_pg.go_to_system_volumes_volumesnapshotspage()
@decorators.skip_because(bugs=['1584057'])
def test_create_edit_delete_volume_snapshot(self):
super(TestVolumeSnapshotsAdmin, self).\
test_create_edit_delete_volume_snapshot()
@decorators.skip_because(bugs=['1584057'])
def test_volume_snapshots_pagination(self):
super(TestVolumeSnapshotsAdmin, self).\
test_volume_snapshots_pagination()
class TestVolumeSnapshotsAdvanced(helpers.TestCase):
"""Login as demo user"""

View File

@ -11,6 +11,7 @@
# under the License.
import time
from openstack_dashboard.test.integration_tests import decorators
from openstack_dashboard.test.integration_tests import helpers
from openstack_dashboard.test.integration_tests.regions import messages
@ -164,6 +165,7 @@ class TestVolumesAdvanced(helpers.TestCase):
def volumes_page(self):
return self.home_pg.go_to_compute_volumes_volumespage()
@decorators.skip_because(bugs=['1584057'])
def test_manage_volume_attachments(self):
"""This test case checks attach/detach actions for volume
Steps:
@ -255,6 +257,7 @@ class TestVolumesActions(helpers.TestCase):
new_size = self.volumes_page.get_size(self.VOLUME_NAME)
self.assertFalse(orig_size >= new_size)
@decorators.skip_because(bugs=['1584057'])
def test_volume_upload_to_image(self):
"""This test case checks upload volume to image functionality:
Steps: