Skip to content

Commit

Permalink
Fix: Dashboard ODS-2206 and ODS-1814 (red-hat-data-services#2017)
Browse files Browse the repository at this point in the history
* fix: ODS-2206, wrong pipelines xpath

* fix: ODS1814 cluster storage selector wrong xpath

* fix ODS2206 wrong menu navigation
  • Loading branch information
FedeAlonso authored Nov 12, 2024
1 parent 631b19a commit 8655661
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Fill In Run Creation Form # robocop: disable
[Arguments] ${name} ${pipeline_name}=${NONE} ${from_actions}=${TRUE} ${run_type}=Immediate
... ${trigger_type}=Periodic ${start_date}=${NONE} ${start_time}=${NONE}
... ${end_date}=${NONE} ${end_time}=${NONE} ${cron_expr}=${NONE}&{model_param}
Wait Until Page Contains Element ${PIPELINE_RUN_CREATE_BTN_XP}
Element Should Be Disabled ${PIPELINE_RUN_CREATE_BTN_XP}
Input Text ${PIPELINE_RUN_NAME_INPUT_XP} ${name}
Input Text ${PIPELINE_RUN_DESC_INPUT_XP} ${name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ Create Pipeline Run
... ${end_time}=${NONE} ${cron_expr}=${NONE} ${press_cancel}=${FALSE} &{model_param}
Projects.Move To Tab Pipelines
Pipelines.Click Action From Pipeline Actions Menu pipeline_name=${pipeline_name} action=Create run
Wait For RHODS Dashboard To Load expected_page=Create run
... wait_for_cards=${FALSE}
Fill In Run Creation Form name=${name} pipeline_name=${pipeline_name}
... run_type=${run_type} trigger_type=Periodic start_date=${start_date}
... start_time=${start_time} end_date=${end_date} end_time=${end_time}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Select An Existent PV
Run Keyword And Continue On Failure
... Wait Until Element Is Enabled xpath=//input[@placeholder="Select a persistent storage"]
Click Element xpath=//input[@placeholder="Select a persistent storage"]
${existing_pv_xpath}= Set Variable xpath=//ul/li/button[string()="${name}"]
${existing_pv_xpath}= Set Variable xpath=//button//span[text()="${name}"]
Wait Until Page Contains Element ${existing_pv_xpath}
Click Element ${existing_pv_xpath}

Expand Down

0 comments on commit 8655661

Please sign in to comment.