Skip to content

Commit

Permalink
Fix Upload Serving Runtime Template in ODHDashboard Settings
Browse files Browse the repository at this point in the history
Signed-off-by: manosnoam <[email protected]>
  • Loading branch information
manosnoam committed Mar 19, 2024
1 parent 5c5ff4f commit c8e1012
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ Upload Serving Runtime Template
[Documentation] Uploads via UI a YAML file containing a custom Serving Runtime definition
[Arguments] ${runtime_filepath} ${serving_platform}
Click Add Serving Runtime Template Button
SeleniumLibrary.Click Element ${UPLOAD_RUNTIME_BTN_XP}
Element Should Be Enabled ${UPLOAD_RUNTIME_BTN_XP}
${rc} ${pwd}= Run And Return Rc And Output echo $PWD
Should Be Equal As Integers ${rc} ${0}
SeleniumLibrary.Choose File ${EDITOR_RUNTIME_BTN_XP}//input[@type="file"] ${pwd}/${runtime_filepath}
Run Keyword And Continue On Failure SeleniumLibrary.Wait Until Page Contains Element //span[text()="kind"]
Run Keyword And Continue On Failure SeleniumLibrary.Wait Until Page Contains Element //span[text()="ServingRuntime"]
Wait For Dashboard Page Title Add serving runtime
Select Model Serving Platform platform=${serving_platform}
IF '${serving_platform}'=='single' Select Runtime API Protocol
Submit Serving Runtime Template
Expand Down

0 comments on commit c8e1012

Please sign in to comment.