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

[1LP][RFR] Add new ProviderCompareHostsView and replace with CompareHostsView in… #9863

Merged
merged 2 commits into from
Jan 27, 2020

Conversation

prichard77
Copy link
Contributor

@prichard77 prichard77 commented Jan 22, 2020

… test_compare_hosts_from_provider_allhosts

Purpose or Intent

  • Updating tests for fix to BZ1784181. The test was failing because an error was displayed instead of the expected view. After the error was fixed, I needed to update the test to go to a provider specific compare view instead of the appliance allhosts view.

PRT Run

{{ pytest: cfme/tests/infrastructure/test_host.py::test_compare_hosts_from_provider_allhosts }}

@prichard77 prichard77 changed the title [WIP] Add new ProviderCompareHostsView and replace with CompareHostsView in… [WIPTEST] Add new ProviderCompareHostsView and replace with CompareHostsView in… Jan 22, 2020
@dajoRH dajoRH added WIP-testing and removed WIP labels Jan 22, 2020
@prichard77
Copy link
Contributor Author

The 5.11 PRT run passed, but the run is still marked as running. You can see the passing results in the report and artifacts in Ostriz.

@prichard77 prichard77 changed the title [WIPTEST] Add new ProviderCompareHostsView and replace with CompareHostsView in… [RFR] Add new ProviderCompareHostsView and replace with CompareHostsView in… Jan 23, 2020
@valaparthvi valaparthvi changed the title [RFR] Add new ProviderCompareHostsView and replace with CompareHostsView in… [1LP][RFR] Add new ProviderCompareHostsView and replace with CompareHostsView in… Jan 24, 2020
@valaparthvi
Copy link
Contributor

Moving this to 1LP, changes look good. 511 run failed with an error, but the test cases have passed.

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.

Thanks for fixing view diff 👍

@@ -464,7 +465,7 @@ def test_compare_hosts_from_provider_allhosts(appliance, setup_provider_min_host
h.ensure_checked()
hosts_view.toolbar.configuration.item_select('Compare Selected items',
handle_alert=True)
compare_hosts_view = provider.create_view(HostsCompareView)
compare_hosts_view = provider.create_view(ProviderHostsCompareView)
Copy link
Contributor

Choose a reason for hiding this comment

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

optional: I would register one navigation destination against provider.

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 👍

As per me PRT failure not related to changes

@digitronik digitronik merged commit 5237035 into ManageIQ:master Jan 27, 2020
@prichard77 prichard77 deleted the fixCompareAllhosts branch March 10, 2020 18:38
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