Skip to content

Commit

Permalink
Merge pull request #115 from plone/fix-debug-keyword
Browse files Browse the repository at this point in the history
Fix the Debug keyword
  • Loading branch information
thet authored Nov 14, 2019
2 parents 39504f3 + 116ad14 commit f79eead
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions news/114.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix the Debug keyword
6 changes: 3 additions & 3 deletions src/plone/app/robotframework/keywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f79eead

Please sign in to comment.