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

[1LP][RFR] dismiss_alerts closes vmrc related alerts #9764

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

izapolsk
Copy link
Contributor

@izapolsk izapolsk commented Dec 12, 2019

it should be disabled during vmrc tests. these changes will be tested by @kedark3 's PR #9703 .

# dismiss_any_alerts() call closed subsequent alerts needed for vmrc
# below code is needed to fix such issue
try:
view.browser.IGNORE_SUBSEQUENT_ALERTS = True
Copy link
Contributor Author

Choose a reason for hiding this comment

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

would it be worthwhile to replace this try/finally with appropriate context manager ? 🤔

Copy link
Contributor

@john-dupuy john-dupuy Dec 13, 2019

Choose a reason for hiding this comment

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

@izapolsk I think so, it could have uses elsewhere. But I'm okay with that being a separate PR. Up to you if you want to do it here.

@john-dupuy john-dupuy changed the title [RFR] dismiss_alerts closes vmrc related alerts [1LP][RFR] dismiss_alerts closes vmrc related alerts Dec 13, 2019
Copy link
Contributor

@digitronik digitronik left a comment

Choose a reason for hiding this comment

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

LGTM 💯 ref: last run of PR-9703

@mshriver mshriver merged commit c015c15 into ManageIQ:master Dec 13, 2019
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.

5 participants