Skip to content

Commit

Permalink
add warning for route ui delay workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
bdattoma committed Jan 17, 2024
1 parent e3e12de commit 41d5efb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ Get Model Route via UI
${route_xpath}= Set Variable xpath://div[.="${model_name} "]${MS_TABLE_ENDPOINT_INPUT}
${loaded}= Run Keyword And Return Status SeleniumLibrary.Wait Until Page Contains Element ${route_xpath} timeout=15s
IF ${loaded} == ${FALSE}
Log message=Model Route was not loaded in UI. Trying refreshing! level=WARN
SeleniumLibrary.Reload Page
SeleniumLibrary.Wait Until Page Contains Element ${route_xpath} timeout=15s
SeleniumLibrary.Wait Until Page Contains Element ${route_xpath} timeout=15s
END
${url}= SeleniumLibrary.Get Element Attribute ${route_xpath} value
RETURN ${url}
Expand Down

0 comments on commit 41d5efb

Please sign in to comment.