Skip to content

Commit

Permalink
Update activation key dropdown locator on Hostgroup create page (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 authored Jul 31, 2024
1 parent 6b5aa1b commit 676f9d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions airgun/views/hostgroup.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 676f9d6

Please sign in to comment.