Skip to content
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

GSS automation, Verify "Used Raw Capacity" string in System Capacity card #9612

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 28 additions & 22 deletions ocs_ci/ocs/ui/validation_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,28 +274,29 @@ def odf_overview_ui(
1. Validate ODF console plugin is enabled, if not enable it
2. Navigate to ODF Default first tab
3. Verify if Overview tab is active
4. Verify if Storage System popup works
5. Ensure that Block and File status, on Storage System popup is Ready
6. Navigate to Storage System details via Storage System popup
7. Verify only one Block Pool present on Storage System details page - optional. No BlockPools in External mode
8. Navigate Storage System via breadcrumb
9. Verify if Overview tab is active
10. Verify if System Capacity Card is present
11. Navigate to Storage System details via System Capacity Card - optional. Card not presented in External mode
12. Verify if Storage System details breadcrumb is present - optional. If step 11 was performed
13. Navigate to ODF Overview tab via tab bar - optional. If step 11 was performed
14. Verify if Performance Card is present and link works
15. Navigate to Storage System details via Performance Card
16. Verify if Storage System details breadcrumb is present and link works
17. Navigate ODF Backing store tab via Object Storage tab or PageNavigator
18. Verify if Backing Store is present and link to Backing Store resource works
19. Navigate to Backing Store tab via breadcrumb
20. Navigate to Bucket class tab
21. Navigate to the default Bucket Class details via Bucket Class tab
22. Verify the status of a default Bucket Class
23. Navigate to Bucket class via breadcrumb
24. Navigate to Namespace Store tab via Bucket Class tab
25. Navigate to ODF Overview tab via tab bar
4 Ensure used raw capacity string in System Capacity card
Copy link
Member

Choose a reason for hiding this comment

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

missing dot

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

5. Verify if Storage System popup works
6. Ensure that Block and File status, on Storage System popup is Ready
7. Navigate to Storage System details via Storage System popup
8. Verify only one Block Pool present on Storage System details page - optional. No BlockPools in External mode
9. Navigate Storage System via breadcrumb
10. Verify if Overview tab is active
11. Verify if System Capacity Card is present
12. Navigate to Storage System details via System Capacity Card - optional. Card not presented in External mode
13. Verify if Storage System details breadcrumb is present - optional. If step 11 was performed
14. Navigate to ODF Overview tab via tab bar - optional. If step 11 was performed
15. Verify if Performance Card is present and link works
16. Navigate to Storage System details via Performance Card
17. Verify if Storage System details breadcrumb is present and link works
18. Navigate ODF Backing store tab via Object Storage tab or PageNavigator
19. Verify if Backing Store is present and link to Backing Store resource works
20. Navigate to Backing Store tab via breadcrumb
21. Navigate to Bucket class tab
22. Navigate to the default Bucket Class details via Bucket Class tab
23. Verify the status of a default Bucket Class
24. Navigate to Bucket class via breadcrumb
25. Navigate to Namespace Store tab via Bucket Class tab
26. Navigate to ODF Overview tab via tab bar
"""
res_dict = {}

Expand All @@ -310,6 +311,11 @@ def odf_overview_ui(
"overview_tab_is_active_1"
] = odf_overview_tab.validate_overview_tab_active()

log_step("Ensure used raw capacity string in System Capacity card")
res_dict["system_raw_capacity_check_bz_2185042"] = self.check_element_text(
Copy link
Contributor

@DanielOsypenko DanielOsypenko May 15, 2024

Choose a reason for hiding this comment

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

very good )
please run validation job

"System raw capacity"
)

log_step("Verify if Storage System popup works")
res_dict[
"storage_system_status_popup_present"
Expand Down
Loading