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

[1LP][RFR] Service retired #9620

Merged
merged 3 commits into from
Nov 21, 2019
Merged

Conversation

digitronik
Copy link
Contributor

Purpose or Intent

  • Moved fixture as global
  • Automated test
  • Some enhancements in ssui service pages
  • Like order retired should return request object
  • etc..

PRT Run

{{pytest: cfme/tests/ssui/test_ssui_myservice.py::test_retire_owned_service --long-running}}

@digitronik digitronik added enhancement test-automation To be applied on PR's which are automating existing manual cases labels Nov 14, 2019
@digitronik
Copy link
Contributor Author

PRT tear down failure will fix by #9619

@digitronik digitronik changed the title [WIPTEST] Service retired [RFR] Service retired Nov 14, 2019
@digitronik digitronik added the RFR label Nov 14, 2019
@digitronik digitronik requested review from niyazRedhat and sshveta and removed request for niyazRedhat and sshveta November 14, 2019 09:48

@request.addfinalizer
def _clear_retire_request():
if retire_request.exists():
Copy link
Contributor

@jarovo jarovo Nov 14, 2019

Choose a reason for hiding this comment

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

I think it this test could be made slightly more powerful by changing the if retire_request.exists(): to assert retire_request.exists()

@digitronik digitronik force-pushed the service_retired branch 2 times, most recently from e638729 to 41c3b1b Compare November 15, 2019 14:47
@digitronik digitronik changed the title [RFR] Service retired [WIP] Service retired Nov 15, 2019
@dajoRH dajoRH added the WIP label Nov 15, 2019
@digitronik digitronik changed the title [WIP] Service retired [WIPTEST] Service retired Nov 15, 2019
@dajoRH dajoRH added WIP-testing and removed WIP labels Nov 15, 2019
@digitronik digitronik changed the title [WIPTEST] Service retired [RFR] Service retired Nov 15, 2019
Copy link
Contributor

@niyazRedhat niyazRedhat left a comment

Choose a reason for hiding this comment

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

LGTM

@dajoRH dajoRH changed the title [RFR] Service retired [WIP] Service retired Nov 18, 2019
@digitronik digitronik changed the title [WIP] Service retired [RFR] Service retired Nov 18, 2019
Copy link
Contributor

@john-dupuy john-dupuy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this PR!

@john-dupuy john-dupuy changed the title [RFR] Service retired [1LP][RFR] Service retired Nov 18, 2019
@dajoRH dajoRH changed the title [1LP][RFR] Service retired [1LP][WIP] Service retired Nov 18, 2019
@digitronik digitronik force-pushed the service_retired branch 2 times, most recently from a60f40d to 6b7fc7d Compare November 19, 2019 04:52
@digitronik digitronik changed the title [1LP][WIP] Service retired [1LP][WIPTEST] Service retired Nov 19, 2019
@dajoRH dajoRH added WIP-testing and removed WIP labels Nov 19, 2019
@dajoRH
Copy link
Contributor

dajoRH commented Nov 21, 2019

I detected some fixture changes in commit 04b6f3b

The global fixture user_self_service_role is used in the following files:

  • cfme/tests/automate/custom_button/test_service_objects.py
  • cfme/tests/ssui/test_ssui_myservice.py
    • test_retire_owned_service

Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃

@digitronik digitronik changed the title [1LP][WIPTEST] Service retired [1LP][RFR] Service retired Nov 21, 2019
@mshriver mshriver removed the RFR label Nov 21, 2019
@mshriver mshriver merged commit 18db29d into ManageIQ:master Nov 21, 2019
spusateri pushed a commit to spusateri/integration_tests that referenced this pull request Jan 27, 2020
* moved user_self_service_role as global fixture

* is_retired, exists methods

* automate retired test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement lint-ok test-automation To be applied on PR's which are automating existing manual cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants