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

[1LP][RFR] clean up version picking and time.sleeps in ssui service module #9793

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

mshriver
Copy link
Member

Old version pick dictionaries, 10s static sleeps

@@ -206,10 +190,10 @@ def update(self, updates):
view.fill_with(updates, on_change=view.save_button, no_change=view.cancel_button)
view.flash.assert_no_error()
view = self.create_view(DetailsMyServiceView, override=updates)
# TODO - remove sleep when BZ 1518954 is fixed
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This BZ was not fixed (NOTABUG/WONTFIX)

Copy link
Contributor

@valaparthvi valaparthvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@izapolsk izapolsk changed the title [RFR] clean up version picking and time.sleeps in ssui service module [1LP][RFR] clean up version picking and time.sleeps in ssui service module Dec 20, 2019
message_present, _ = wait_for(view.notification.assert_message,
func_args=[f'{self.name} was edited.'],
timeout=10)
assert message_present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant since you alrady check this in wait_for and it will fail with exception otherwise.

@izapolsk izapolsk merged commit 22bb160 into ManageIQ:master Dec 20, 2019
spusateri pushed a commit to spusateri/integration_tests that referenced this pull request Jan 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants