Skip to content

Commit

Permalink
GSS automation, Verify "Used Raw Capacity" string in System Capacity …
Browse files Browse the repository at this point in the history
…card (red-hat-storage#9612)

* GSS automation Change 'Used Capacity' on System Capacity card to Used Raw Capacity https://bugzilla.redhat.com/show_bug.cgi?id=2185042

Signed-off-by: oviner <oviner@redhat.com>
  • Loading branch information
OdedViner authored and fbalak committed Jun 14, 2024
1 parent 29c1c10 commit 45e7390
Showing 1 changed file with 28 additions and 22 deletions.
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
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(
"System raw capacity"
)

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

0 comments on commit 45e7390

Please sign in to comment.