diff --git a/news/114.fixed b/news/114.fixed new file mode 100644 index 0000000..6bea177 --- /dev/null +++ b/news/114.fixed @@ -0,0 +1 @@ +Fix the Debug keyword \ No newline at end of file diff --git a/src/plone/app/robotframework/keywords.robot b/src/plone/app/robotframework/keywords.robot index 98e2805..758dd22 100644 --- a/src/plone/app/robotframework/keywords.robot +++ b/src/plone/app/robotframework/keywords.robot @@ -32,11 +32,11 @@ Debug ${fallback} = Run keyword and ignore error ... Import library plone.app.robotframework.keywords.Debugging ... WITH NAME DebuggingLibrary - Run keyword if ${debug}[0] == 'PASS' + Run keyword if '${debug}[0]' == 'PASS' ... DebugLibrary.Debug - Run keyword if ${debug}[0] == 'FAIL' and ${dialogs}[0] == 'PASS' + Run keyword if '${debug}[0]' == 'FAIL' and '${dialogs}[0]' == 'PASS' ... DialogsLibrary.Pause Execution - Run keyword if ${debug}[0] == 'FAIL' and ${dialogs}[0] == 'FAIL' + Run keyword if '${debug}[0]' == 'FAIL' and '${dialogs}[0]' == 'FAIL' ... DebuggingLibrary.Stop Pause