From 676f9d6bba73594972c5bc98b619754799ae705d Mon Sep 17 00:00:00 2001 From: Shweta Singh Date: Wed, 31 Jul 2024 11:24:40 +0530 Subject: [PATCH] Update activation key dropdown locator on Hostgroup create page (#1481) --- airgun/views/hostgroup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/airgun/views/hostgroup.py b/airgun/views/hostgroup.py index ac4b108cc..070b21078 100644 --- a/airgun/views/hostgroup.py +++ b/airgun/views/hostgroup.py @@ -1,6 +1,7 @@ from widgetastic.widget import ConditionalSwitchableView, Table, Text, TextInput, View from widgetastic_patternfly import BreadCrumb from widgetastic_patternfly4 import Button as PF4Button, Pagination as PF4Pagination +from widgetastic_patternfly4.ouia import Select as OUIASelect from airgun.views.common import BaseLoggedInView, SatTab, SearchableViewMixinPF4 from airgun.widgets import ( @@ -130,9 +131,7 @@ class organizations(SatTab): @View.nested class activation_keys(SatTab): TAB_NAME = 'Activation Keys' - activation_keys = ActivationKeyDropDown( - locator=".//foreman-react-component[contains(@data-props, 'kt_activation_keys')]" - ) + activation_keys = OUIASelect('ak-select') class HostGroupEditView(HostGroupCreateView):