diff --git a/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Workbenches.resource b/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Workbenches.resource index cede09e4e..fd69b2e85 100644 --- a/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Workbenches.resource +++ b/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHDataScienceProject/Workbenches.resource @@ -63,11 +63,13 @@ Create Workbench END IF "${storage}" == "Persistent" IF ${pv_existent} == ${TRUE} - Scroll Element Into View xpath=//input[@name="persistent-existing-storage-type-radio"] + # Use the `Jump to section` links in the page to scroll the section into view + Click Element //a[@href="#cluster-storage"] Click Element xpath=//input[@name="persistent-existing-storage-type-radio"] Select An Existent PV name=${pv_name} ELSE IF ${pv_existent} == ${FALSE} - Scroll Element Into View xpath=//input[@name="persistent-new-storage-type-radio"] + # Use the `Jump to section` links in the page to scroll the section into view + Click Element //a[@href="#cluster-storage"] Click Element xpath=//input[@name="persistent-new-storage-type-radio"] Fill In New PV Data name=${pv_name} description=${pv_description} size=${pv_size} ELSE @@ -94,7 +96,8 @@ Add Environment Variables In Workbench ELSE ${add_key_value_text}= Set Variable Add another variable END - Scroll Element Into View ${WORKBENCH_ADD_VAR_BTN_XP} + # Use the `Jump to section` links in the page to scroll the section into view + Click Element //a[@href="#environment-variables"] Click Element ${WORKBENCH_ADD_VAR_BTN_XP} ${n_objects}= Get Length ${env_variables} FOR ${idx} ${env_variable} IN ENUMERATE @{env_variables} start=1