Skip to content

Commit cafe4a6

Browse files
authored
PF5 locators, Host > Content tabs. searchbars, dropdowns (SatelliteQE#1884)
1 parent 444a8ca commit cafe4a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

airgun/views/host_new.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class packages(PF5Tab):
345345

346346
select_all = Checkbox(locator='.//div[@id="selection-checkbox"]/div/label')
347347
searchbar = SearchInput(
348-
locator='.//input[contains(@class, "pf-c-text-input-group__text-input")]'
348+
locator='.//input[contains(@class, "pf-v5-c-text-input-group__text-input")]'
349349
)
350350
status_filter = Dropdown(locator='.//div[@aria-label="select Status container"]/div')
351351
upgrade = Pf4ActionsDropdown(locator='.//div[div/button[normalize-space(.)="Upgrade"]]')
@@ -359,7 +359,7 @@ class packages(PF5Tab):
359359
'Status': Text('./span'),
360360
'Installed version': Text('./parent::td'),
361361
'Upgradable to': Text('./span'),
362-
5: Dropdown(locator='.//div[contains(@class, "pf-c-dropdown")]'),
362+
5: Dropdown(locator='.//div[button(@aria-label="Kebab toggle")]'),
363363
},
364364
)
365365
pagination = PF4Pagination()
@@ -386,7 +386,7 @@ class errata(PF5Tab):
386386
'Installable': Text('./span'),
387387
'Synopsis': Text('./span'),
388388
'Published date': Text('./span/span'),
389-
8: Dropdown(locator='./div'),
389+
8: Dropdown(locator='.//div[button(@aria-label="Kebab toggle")]'),
390390
},
391391
)
392392
pagination = PF4Pagination(
@@ -416,7 +416,7 @@ class module_streams(PF5Tab):
416416
'Stream': Text('./parent::td'),
417417
'Installation status': Text('.//small'),
418418
'Installed profile': Text('./parent::td'),
419-
5: DropdownWithDescripton(locator='.//div[contains(@class, "pf-c-dropdown")]'),
419+
5: Dropdown(locator='.//div[button(@aria-label="Kebab toggle")]'),
420420
},
421421
)
422422
pagination = PF4Pagination()

0 commit comments

Comments
 (0)