Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Runtime framework selection in model deployment - dropdown is available only if there's multiple selection #2051

Merged
merged 6 commits into from
Nov 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,26 @@
... Possible values for now: "onnx", "openvino_ir"
[Arguments] ${framework}
TRY
Open Model framework (name - version) Options Menu
Page Should Contain Element xpath://li/button[contains(., "${framework}")]
Click Element xpath://li/button[contains(., "${framework}")]
${is_enabled}= Run Keyword And Return Status
... Element Should Be Enabled xpath://button[@id="inference-service-framework-selection"]

IF ${is_enabled}
FOR ${retry_idx} IN RANGE 0 1+${retries}
Open Model framework (name - version) Options Menu
Page Should Contain Element xpath://li/button[contains(., "${framework}")]
${selected}= Run Keyword And Return Status
... Click Element xpath://li/button[contains(., "${framework}")] #robocop: disable
IF ${selected}==${TRUE} BREAK
Dismissed Show dismissed Hide dismissed
END
ELSE
Element Should Be Disabled id:inference-service-framework-selection
${text}= Get Text xpath://button[@id="inference-service-framework-selection"]/span
Should Be True ${framework} in ${text}
END
EXCEPT
Log framework ${framework} does not appear to be supported by the chosen model server
END
END
Dismissed Show dismissed Hide dismissed


Select Existing Data Connection
[Documentation] Selects an existing data connection in the "deploy model" modal.
Expand Down
Loading