Skip to content

Commit

Permalink
QA-5989 fix for hq smoke test testcase 38
Browse files Browse the repository at this point in the history
  • Loading branch information
kbo001 committed Jan 3, 2024
1 parent a86dd73 commit beed31d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HQSmokeTests/testPages/applications/application_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ def update_form_field(self):
print("Sleeping for the installation code to generate")
time.sleep(10)
self.wait_to_click(self.publish_button)
self.wait_to_click(self.enter_app_code_link)
if self.is_present_and_displayed(self.enter_app_code_link):
self.wait_to_click(self.enter_app_code_link)
else:
print("Enter App Code link is not present")
code_text = self.wait_to_get_text(self.code)
self.wait_to_click(self.close)
# self.wait_to_click(self.delete_form)
Expand Down

0 comments on commit beed31d

Please sign in to comment.