Commit acb503bc authored by Arnaud Fontaine's avatar Arnaud Fontaine

Whenever possible, use submitDialogConfirm() in examples.

parent bfcd55ae
...@@ -76,7 +76,7 @@ def createSPL(result, browser): ...@@ -76,7 +76,7 @@ def createSPL(result, browser):
result('Waiting for start_action', waiting_for_start_action) result('Waiting for start_action', waiting_for_start_action)
result('Show start', show_start_time) result('Show start', show_start_time)
result('Started', browser.mainForm.submit(name='Base_callDialogMethod:method')) result('Started', browser.mainForm.submitDialogConfirm())
assert browser.getTransitionMessage() == 'Status changed.' assert browser.getTransitionMessage() == 'Status changed.'
...@@ -89,6 +89,6 @@ def createSPL(result, browser): ...@@ -89,6 +89,6 @@ def createSPL(result, browser):
result('Waiting for stop_action', waiting_for_stop_action) result('Waiting for stop_action', waiting_for_stop_action)
result('Show stop', show_stop_time) result('Show stop', show_stop_time)
result('Stopped', browser.mainForm.submit(name='Base_callDialogMethod:method')) result('Stopped', browser.mainForm.submitDialogConfirm())
assert browser.getTransitionMessage() == 'Status changed.' assert browser.getTransitionMessage() == 'Status changed.'
...@@ -57,7 +57,7 @@ def createWebPage(result, browser): ...@@ -57,7 +57,7 @@ def createWebPage(result, browser):
result('Waiting for publish_action', waiting_for_publish_action) result('Waiting for publish_action', waiting_for_publish_action)
result('Show publish', show_publish_time) result('Show publish', show_publish_time)
result('Published', browser.mainForm.submit(name='Base_callDialogMethod:method')) result('Published', browser.mainForm.submitDialogConfirm())
assert browser.getTransitionMessage() == 'Status changed.' assert browser.getTransitionMessage() == 'Status changed.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment