Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
erp5
Commits
acb503bc
Commit
acb503bc
authored
Oct 14, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whenever possible, use submitDialogConfirm() in examples.
parent
bfcd55ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
erp5/util/benchmark/examples/createSPL.py
erp5/util/benchmark/examples/createSPL.py
+2
-2
erp5/util/benchmark/examples/createWebPage.py
erp5/util/benchmark/examples/createWebPage.py
+1
-1
No files found.
erp5/util/benchmark/examples/createSPL.py
View file @
acb503bc
...
@@ -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
.
submit
DialogConfirm
(
))
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
.
submit
DialogConfirm
(
))
assert
browser
.
getTransitionMessage
()
==
'Status changed.'
assert
browser
.
getTransitionMessage
()
==
'Status changed.'
erp5/util/benchmark/examples/createWebPage.py
View file @
acb503bc
...
@@ -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
.
submit
DialogConfirm
(
))
assert
browser
.
getTransitionMessage
()
==
'Status changed.'
assert
browser
.
getTransitionMessage
()
==
'Status changed.'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment