-
Notifications
You must be signed in to change notification settings - Fork 170
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
Test Automation for encryption dashboard summary #11043
base: master
Are you sure you want to change the base?
Test Automation for encryption dashboard summary #11043
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: paraggit The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Parag Kamble <[email protected]>
a51d176
to
b4bee92
Compare
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.
PR validation
Cluster Name:
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/encryption/test_encryption_configuration_dashboard.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Job FAILED (installation failed, tests not executed).
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.
PR validation
Cluster Name:
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/encryption/test_encryption_configuration_dashboard.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Job FAILED (installation failed, tests not executed).
self.validation_loc["encryption_summary"]["file_and_block"]["enabled"], | ||
enable_screenshot=True, | ||
) | ||
from time import sleep |
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.
There must be some other way to check it.
You can try this https://github.com/red-hat-storage/ocs-ci/blob/master/ocs_ci/ocs/ui/base_ui.py#L490 or other wait functions for elements.
root_element = root_elements[0] | ||
|
||
# Function to extract status from an SVG element | ||
def extract_status(svg_path): |
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.
Doc for the function and if it can help other tests please move it.
sleep(3) | ||
|
||
# Context and status mappings | ||
context_map = { |
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.
If it is constant we can move it to constants.
enable_screenshot=True, | ||
) | ||
|
||
time.sleep(3) |
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.
Same as above
from ocs_ci.helpers.helpers import storagecluster_independent_check | ||
|
||
|
||
@green_squad |
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.
If test is only for encryption deployments we need to mark it.
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.
PR validation
Cluster Name:
Cluster Configuration:
PR Test Suite: tier1
PR Test Path: tests/functional/encryption/test_encryption_configuration_dashboard.py
Additional Test Params:
OCP VERSION: 4.18
OCS VERSION: 4.18
tested against branch: master
Job UNSTABLE (some or all tests failed).
Test Automation for encryption dashboard summary.
Following encryption summary details validated against storagecluster and noobaa spec.
Object Storage Encryption Summary details
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Block And File Encryption summary details
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-