From cc35c5edea933ee393acb119b04326fbee92d665 Mon Sep 17 00:00:00 2001 From: lugi0 Date: Wed, 2 Oct 2024 17:31:30 +0200 Subject: [PATCH] refresh dashboard if model registry not present Signed-off-by: lugi0 --- .../1302_model_registry_model_serving.robot | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ods_ci/tests/Tests/1300__model_registry/1302_model_registry_model_serving.robot b/ods_ci/tests/Tests/1300__model_registry/1302_model_registry_model_serving.robot index 849d15e92..87c30e527 100644 --- a/ods_ci/tests/Tests/1300__model_registry/1302_model_registry_model_serving.robot +++ b/ods_ci/tests/Tests/1300__model_registry/1302_model_registry_model_serving.robot @@ -321,7 +321,12 @@ Upload Python Client Files In The Workbench Open Model Registry Dashboard Page [Documentation] Opens the Model Registry page from the dashboard nav bar - SeleniumLibrary.Wait Until Page Contains Model Registry + ${mr_present}= Run Keyword And Return Status SeleniumLibrary.Page Should Contain Model Registry + WHILE ${mr_present}!=${TRUE} limit=120s + SeleniumLibrary.Reload Page + ${mr_present}= Run Keyword And Return Status + ... SeleniumLibrary.Page Should Contain Model Registry + END SeleniumLibrary.Click Link Model Registry Wait For RHODS Dashboard To Load wait_for_cards=${FALSE} expected_page=Model Registry SeleniumLibrary.Wait Until Page Contains Select a model registry to view and manage your registered models.