Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #9971 from Gauravtalreja1/fix_test_orchestration_t…
Browse files Browse the repository at this point in the history
…emplate

[1LP][RFR] Fix test service orchestration template
  • Loading branch information
jawatts authored Mar 11, 2020
2 parents 03d4be1 + 54cdc73 commit 09fb73e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cfme/services/catalogs/orchestration_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,12 @@ def update(self, updates):
'content': updates.get('content')})
view.save_button.click()
view.flash.wait_displayed("10s")
view.flash.assert_success_message('Orchestration Template "{}" was saved'.format(
self.template_name))
if self.appliance.version < "5.11":
view.flash.assert_success_message(
f'Orchestration Template "{self.template_name}" was saved')
else:
view.flash.assert_success_message(
f'Orchestration Template {self.template_name} was saved')

def delete(self):
view = navigate_to(self, 'Details')
Expand Down

0 comments on commit 09fb73e

Please sign in to comment.