From fbf823234b465ad4d4448999f06adda77e6024b0 Mon Sep 17 00:00:00 2001 From: lugi0 Date: Wed, 2 Oct 2024 15:07:55 +0200 Subject: [PATCH] move fail statement Signed-off-by: lugi0 --- .../Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ods_ci/tests/Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot b/ods_ci/tests/Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot index 24f9f71c2..666f8a613 100644 --- a/ods_ci/tests/Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot +++ b/ods_ci/tests/Resources/Page/ODH/JupyterHub/JupyterLabLauncher.robot @@ -72,8 +72,8 @@ JupyterLab Code Cell Error Output Should Not Be Visible ... SeleniumLibrary.Element Should Be Visible xpath://div[contains(@class,"jp-OutputArea-output") and @data-mime-type="application/vnd.jupyter.stderr"] A JupyterLab code cell output returned an error # robocop: disable IF ${failure} Capture Element Screenshot xpath://div[contains(@class,"jp-OutputArea-output") and @data-mime-type="application/vnd.jupyter.stderr"] # robocop: disable + Fail msg=A JupyterLab code cell output returned an error, see screenshot END - Fail msg=A JupyterLab code cell output returned an error, see screenshot Get JupyterLab Code Cell Error Text ${error_txt} = Get Text //div[contains(@class,"jp-OutputArea-output") and @data-mime-type="application/vnd.jupyter.stderr"]