You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fix] to distinguish between PVC in pending and PVC in bound status (#1070)
The storage size is shown in the UI depending of the PVC status. Before
the PVC is bounded, there is shown 'Max XXGi' (or other unit). After the
PVC has been bound (even after it has been de-attached from a workbench)
then there is something like: 'XXGi [## ] YYGi' - so there is shown
both the capacity that is taken and total capacity of the storage; in
the middle of them, there is a graphical element to show how much the
capacity is used.
Copy file name to clipboardExpand all lines: ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Storages.resource
+40-6Lines changed: 40 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,46 @@ Storage Size Should Be
47
47
Run Keyword And Continue On Failure Wait Until Page Contains Element ${STORAGE_SECTION_XP}
48
48
Click Element ${STORAGE_SECTION_XP}//tr[td//*/div[text()="${name}"]]//button[@aria-label="Details"]
49
49
Wait Until Element Is Visible ${STORAGE_SECTION_XP}//tr[@class="pf-c-table__expandable-row pf-m-expanded"]
50
-
Wait Until Page Contains Element ${STORAGE_SECTION_XP}//tr[@class="pf-c-table__expandable-row pf-m-expanded"]/td/div[strong[text()="Size"]]/div timeout=45s
51
-
${displayed_size}= Get Text ${STORAGE_SECTION_XP}//tr[@class="pf-c-table__expandable-row pf-m-expanded"]/td/div[strong[text()="Size"]]/div
52
-
Run Keyword And Continue On Failure Should Be Equal As Strings ${displayed_size} Max ${size}Gi
53
-
${rc}${oc_object_size}= Run And Return Rc And Output oc get pvc -n ${namespace} -o jsonpath='{.items[?(@.metadata.annotations.openshift\\.io/display-name=="${name}")].spec.resources.requests.storage}'
54
-
Run Keyword And Continue On Failure Should Be Equal As Strings ${oc_object_size}${size}Gi
55
-
${rc}${oc_object_size}= Run And Return Rc And Output oc get pvc -n ${namespace} -o jsonpath='{.items[?(@.metadata.annotations.openshift\\.io/display-name=="${name}")].status.capacity.storage}'
50
+
51
+
${rc}${pvc_status_phase}= Run And Return Rc And Output
0 commit comments