Skip to content

Commit

Permalink
Update Insights Inventory locators (foreman_rh_cloud #935)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpapaioa committed Feb 7, 2025
1 parent 2f6499f commit 88787cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install the latest version of uv and set the Python version
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
python-version: '3.13'
enable-cache: true
cache-dependency-glob: |
**/requirements*.txt
Expand Down
8 changes: 4 additions & 4 deletions airgun/views/cloud_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class InventoryItemsView(Accordion):
@View.nested
class generating(InventoryTab):
process = Text('.//div[contains(@class, "tab-header")]/div[1]')
restart = Button('Restart')
restart = Button('Generate and upload report')
terminal = Text(
'.//div[contains(@class, "report-generate")]//div[contains(@class, "terminal")]'
)
Expand Down Expand Up @@ -110,11 +110,11 @@ class CloudInventoryListView(BaseLoggedInView):
obfuscate_hostnames = Switch('.//label[@for="rh-cloud-switcher-obfuscate_inventory_hostnames"]')
obfuscate_ips = Switch('.//label[@for="rh-cloud-switcher-obfuscate_inventory_ips"]')
exclude_packages = Switch('.//label[@for="rh-cloud-switcher-exclude_installed_packages"]')
cloud_connector = Pf4Button(locator='//button[normalize-space(.)="Configure Cloud Connector"]')
cloud_connector = Pf4Button(locator='//button[normalize-space(.)="Configure cloud connector"]')
reconfigure_cloud_connector = Pf4Button(
locator='//button[normalize-space(.)="Reconfigure Cloud Connector"]'
locator='//button[normalize-space(.)="Reconfigure cloud connector"]'
)
sync_status = Pf4Button(locator='//button[normalize-space(.)="Sync inventory status"]')
sync_status = Pf4Button(locator='//button[normalize-space(.)="Sync all inventory status"]')
inventory_list = View.nested(InventoryItemsView)

@property
Expand Down

0 comments on commit 88787cc

Please sign in to comment.