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

[Bug] Setting Management Engine Relationship for RHV VM fails #8157

Open
jan-zmeskal opened this issue Nov 16, 2018 · 2 comments
Open

[Bug] Setting Management Engine Relationship for RHV VM fails #8157

jan-zmeskal opened this issue Nov 16, 2018 · 2 comments

Comments

@jan-zmeskal
Copy link
Contributor

jan-zmeskal commented Nov 16, 2018

Before testing SSA for VM on RHV provider, we must first set Management Engine Relationship for that VM. When we do it here, success flash message saying "Management Engine Relationship saved." is displayed in CFME UI. However, testing framework throws this error.

I tried two things to fix it:

  1. I added from time import sleep; sleep(10) before this line. It helped but tha's probably not an ideal solution.
  2. I tried added these two lines in the same place:
view = view.browser.create_view(InfraVmDetailsView, additional_context={'object': self.vm})
view.wait_displayed()

but this failed somewhere deep within wait_dispayed with this. I could not really fix it myself, therefore creating this bug.

Edit: I realized that @rhrazdil already created #8024 to describe this issue. I will close #8024 (but please, look at it for reference) and let's track the progress here. Radim's issue was created first, but I already wrapped some of the test cases with this one. That's the reason I am keeping mine alive. Also, Radim moved to another effort, so this will probably be better.

@lina-is-here
Copy link
Contributor

This bug is still present. However, I don't have a better solution than Jan yet.
Re-opening the issue.

@lina-is-here lina-is-here reopened this Mar 12, 2019
@tpapaioa
Copy link
Contributor

tpapaioa commented Jun 10, 2020

This seems to be fixed with the change in 3a417ac that waits for flash messages to be present before calling assert_success_message().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants