-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test case for automatic content counts update toggling #15371
Conversation
|
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comment
@@ -1651,6 +1665,112 @@ def test_positive_content_counts_blank_update( | |||
counts is None or len(counts['content_view_versions']) == 0 | |||
), f"No content counts expected, but got:\n{counts['content_view_versions']}." | |||
|
|||
@pytest.mark.skip_if_open('SAT-25542') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be turned to :BlockedBy
or :Verifies
tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:BlockedBy:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:Verifies:
is primarily used to map a feature to test(s). :BlockedBy:
for skipping a test because of some bugs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turned into :BlockedBy:
.
|
||
:CaseImportance: Medium | ||
|
||
:BZ: 2284027 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:BZ: 2284027 | |
:BZ: 2284027 | |
:Verifies: SAT-25503 |
Can we add Verifies
field too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jameerpathan111 I think we should not since it's not a feature? (It's a BZ coverage only)
As you say here #15371 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's usage is not limited to feature coverage I'd say. If it's covering a BZ scenario then it counts under Verifies
too and we shouldn't use :BZ:
anymore anyway. @JacobCallahan correct me if I'm wrong.
@@ -1651,6 +1665,112 @@ def test_positive_content_counts_blank_update( | |||
counts is None or len(counts['content_view_versions']) == 0 | |||
), f"No content counts expected, but got:\n{counts['content_view_versions']}." | |||
|
|||
@pytest.mark.skip_if_open('SAT-25542') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:BlockedBy:
@@ -1651,6 +1665,112 @@ def test_positive_content_counts_blank_update( | |||
counts is None or len(counts['content_view_versions']) == 0 | |||
), f"No content counts expected, but got:\n{counts['content_view_versions']}." | |||
|
|||
@pytest.mark.skip_if_open('SAT-25542') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:Verifies:
is primarily used to map a feature to test(s). :BlockedBy:
for skipping a test because of some bugs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack nice work! pending the other comments, some are non-blocking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack
…QE#15371) * Add test case for automatic content counts update toggling * Uncomment skip_if_open so we can merge * Address comments
…QE#15371) * Add test case for automatic content counts update toggling * Uncomment skip_if_open so we can merge * Address comments
Problem Statement
New setting to disable automatic content count update has been introduced and we should test how it works, since it's customer facing.
Solution
This PR adds just such a case.
Related Issues
https://bugzilla.redhat.com/show_bug.cgi?id=2284027
needs Katello/katello#11014
PRT test Cases example