Skip to content

Commit

Permalink
updated locator added to fetch job target
Browse files Browse the repository at this point in the history
  • Loading branch information
amolpati30 committed Jul 10, 2024
1 parent d97c37f commit 89af4b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions airgun/views/job_invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ class target_hosts_and_inputs(WizardStepView):
ansible_roles_list = TextInput(id='ansible_roles_list')
power_action = OUIASelect('OUIA-Generated-Select-single-34')

targetting_type = Select(locator='//div[button[@aria-haspopup="listbox"]]')
# https://bugzilla.redhat.com/show_bug.cgi?id=2265127
targets = Select(
locator='//div[contains(@data-ouia-component-id,"OUIA-Generated-Select-typeaheadmulti-")]'
)
targets = Select(locator='//div[contains(@data-ouia-component-id,"hosts")]')

@View.nested
class advanced_fields(WizardStepView):
Expand Down

0 comments on commit 89af4b3

Please sign in to comment.