From ec291efa977f45955039180acdc01ffb7729f698 Mon Sep 17 00:00:00 2001 From: Cole Higgins Date: Wed, 28 Jun 2023 08:49:59 -0400 Subject: [PATCH] updating host view (#865) (cherry picked from commit 2843179a7b36e09d4ff4ca677c29f1fa7b21f52b) --- airgun/views/host_new.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/airgun/views/host_new.py b/airgun/views/host_new.py index 2940cb3b0..e4116e9ec 100644 --- a/airgun/views/host_new.py +++ b/airgun/views/host_new.py @@ -436,12 +436,18 @@ class repository_sets(Tab): ROOT = './/div[@id="repo-sets-tab"]' select_all = Checkbox(locator='.//div[@id="selection-checkbox"]/div/label') - searchbar = SearchInput(locator='.//input[contains(@class, "pf-m-search")]') + searchbar = SearchInput( + locator='.//input[contains(@aria-label, "text input for search")]' + ) + show_all = Button(locator='.//div[button[@aria-label="No limit"]]') + limit_to_environemnt = Button( + locator='.//div[button[@aria-label="Limit to environment"]]' + ) status_filter = Select(locator='.//div[@aria-label="select Status container"]/div') dropdown = Dropdown(locator='.//div[button[@aria-label="bulk_actions"]]') table = Table( - locator='.//table[@aria-label="Content View Table"]', + locator='.//table[@data-ouia-component-id="host-repository-sets-table"]', column_widgets={ 0: Checkbox(locator='.//input[@type="checkbox"]'), 'Repository': Text('./span'),