Skip to content

Commit

Permalink
updated locator to fetch the datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
amolpati30 committed Nov 4, 2024
1 parent 5d77ac1 commit 9809e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airgun/views/computeresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 9809e37

Please sign in to comment.