Skip to content

Commit

Permalink
move fail statement
Browse files Browse the repository at this point in the history
Signed-off-by: lugi0 <[email protected]>
  • Loading branch information
lugi0 committed Oct 2, 2024
1 parent b27473f commit fbf8232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit fbf8232

Please sign in to comment.