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

[1LP][RFR] Tests tagging on provider side#8543

Merged
izapolsk merged 3 commits intoManageIQ:masterfrom
mshriver:rlbabyuk-test-map-tagging
Mar 29, 2019
Merged

[1LP][RFR] Tests tagging on provider side#8543
izapolsk merged 3 commits intoManageIQ:masterfrom
mshriver:rlbabyuk-test-map-tagging

Conversation

@mshriver
Copy link
Member

@mshriver mshriver commented Mar 6, 2019

Rebased from Ruslana Babyuk's original commits in #7320, updated for more recent test patterns.

I would like to leave any remaining test failures to the FA owner to address.

{{ pytest: --long-running -vvvv --use-provider complete cfme/tests/cloud/test_tag_mapping.py cfme/tests/configure/test_tag.py }}

@lina-is-here
Copy link
Contributor

PRT errors:
AttributeError: 'MapTagsAddView' object has no attribute 'cancel' and
AttributeError: 'generator' object has no attribute 'tag_category'

@mshriver mshriver force-pushed the rlbabyuk-test-map-tagging branch from b502e48 to b9231b0 Compare March 7, 2019 14:19
@mshriver mshriver force-pushed the rlbabyuk-test-map-tagging branch from 013822c to 304b84e Compare March 7, 2019 17:06
@mshriver mshriver changed the title [WIPTEST] Tests tagging on provider side [RFR] Tests tagging on provider side Mar 7, 2019
@dajoRH dajoRH removed the WIP-testing label Mar 7, 2019
@lina-is-here lina-is-here changed the title [RFR] Tests tagging on provider side [WIP] Tests tagging on provider side Mar 13, 2019
@lina-is-here
Copy link
Contributor

@mshriver please check PRT failures

@dajoRH dajoRH added the WIP label Mar 13, 2019
@mshriver mshriver force-pushed the rlbabyuk-test-map-tagging branch from fc84586 to 984409e Compare March 19, 2019 17:42
@mshriver mshriver changed the title [WIP] Tests tagging on provider side [WIPTEST] Tests tagging on provider side Mar 19, 2019
@dajoRH dajoRH added WIP-testing and removed WIP labels Mar 19, 2019
@mshriver mshriver force-pushed the rlbabyuk-test-map-tagging branch from 984409e to 5e7d06c Compare March 19, 2019 18:49
@mshriver mshriver changed the title [WIPTEST] Tests tagging on provider side [RFR] Tests tagging on provider side Mar 19, 2019
@jawatts jawatts changed the title [RFR] Tests tagging on provider side [WIPTEST] Tests tagging on provider side Mar 22, 2019
Ruslana and others added 3 commits March 27, 2019 14:22
Rebased from Ruslana Babyuk's original commits, updated for more recent test patterns
Add casecomponent Tagging, update test case docblocks
Update MapTag.delete table row filter, fix test_tag update call

Update test fixtures and REST test failure handling for tag tests
@mshriver mshriver force-pushed the rlbabyuk-test-map-tagging branch from 5e7d06c to 676e900 Compare March 27, 2019 18:27
@mshriver mshriver changed the title [WIPTEST] Tests tagging on provider side [RFR] Tests tagging on provider side Mar 28, 2019
@mshriver
Copy link
Member Author

@ganeshhubale @lina-nikiforova @digitronik please take another look, addressed the comments. At this point there are some PRT failures, but I would like the FA owner to address those.

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.

@mshriver LGTM 👍 Thanks for this PR.
Just one personal request and string formatting. Moving to 1LP WIPTEST

current_tag_value = view.entities.summary('Labels').get_text_of(tag_label)
soft_assert(
current_tag_value == tag_value, (
'Tag values is not that expected, actual - {}, expected - {}'.format(
Copy link
Contributor

Choose a reason for hiding this comment

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

keying please for such formatting.
I would catch msg in variable for better readability.

@digitronik digitronik changed the title [RFR] Tests tagging on provider side [1LP][WIPTEST] Tests tagging on provider side Mar 28, 2019
@mshriver mshriver changed the title [1LP][WIPTEST] Tests tagging on provider side [1LP][RFR] Tests tagging on provider side Mar 28, 2019
@lina-is-here
Copy link
Contributor

LGTM, I will look further into the failures in a separate PR as it's my FA

@izapolsk
Copy link
Contributor

since changes look good to me and @lina-nikiforova promises to handle failed PRT, I'm merging this PRT.

@izapolsk izapolsk merged commit 5072ffe into ManageIQ:master Mar 29, 2019
lina-is-here pushed a commit to lina-is-here/integration_tests that referenced this pull request May 20, 2019
mshriver added a commit that referenced this pull request May 23, 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.

6 participants