diff --git a/airgun/views/computeresource.py b/airgun/views/computeresource.py index 70e211403..6019c8029 100644 --- a/airgun/views/computeresource.py +++ b/airgun/views/computeresource.py @@ -314,10 +314,10 @@ class ComputeResourceVMwareProfileControllerVolumeList(RemovableWidgetsItemsList """VMware Compute Resource Profile SCSI Controller Volumes List""" ROOT = "." - ITEMS = ".//div[@class='disk-container']" + ITEMS = "./ancestor::div[4]//div[contains(@class, 'disk-container')]" ITEM_WIDGET_CLASS = ComputeResourceVMwareProfileControllerVolumeItem add_item_button = Text(".//button[contains(@class, 'add-disk')]") - + class ComputeResourceVMwareProfileStorageItem(GenericRemovableWidgetItem): """VMware Compute Resource Profile Storage Controller item widget"""