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
Lukas Niegsch
erp5
Commits
655deb57
Commit
655deb57
authored
Dec 19, 2013
by
Aurel
Committed by
Gabriel Monnerat
Dec 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test page are now part of a bt5, so test them locally
parent
49b01f2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
25 deletions
+10
-25
product/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
...ct/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
+10
-25
No files found.
product/ERP5Type/tests/testFunctionalStandaloneUserTutorial.py
View file @
655deb57
...
@@ -27,45 +27,28 @@
...
@@ -27,45 +27,28 @@
#
#
##############################################################################
##############################################################################
import
os
import
unittest
import
unittest
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
\
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
\
ERP5TypeFunctionalTestCase
ERP5TypeFunctionalTestCase
BASE_REMOTE_SELENIUM_TEST_URL_LIST
=
[
"http://www.erp5.com/user-Howto.Create.Persons/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.Organisations/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Link.Persons.and.Organisations/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.Campaigns/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.Outgoing.Events/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Post.Outgoing.Events/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Manage.Support.Request/TestPage_viewSeleniumTest"
,
# Part 2 - PDM, Trade and simulation related tests
"http://www.erp5.com/user-Howto.Create.and.Manage.Products/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.Trade.Conditions/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.Sale.Orders/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Manage.Packing.Lists/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Manage.Invoices/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-Howto.Create.A.Payment/TestPage_viewSeleniumTest"
,
# Extra Tests, Additional Tests not yet related to any previous tutorial
"http://www.erp5.com/user-HowTo.Use.FullText.Search-TESTONLY/TestPage_viewSeleniumTest"
,
"http://www.erp5.com/user-HowTo.Change.Language-TESTONLY/TestPage_viewSeleniumTest"
]
class
TestZeleniumStandaloneUserTutorial
(
ERP5TypeFunctionalTestCase
):
class
TestZeleniumStandaloneUserTutorial
(
ERP5TypeFunctionalTestCase
):
run_only
=
"user_tutorial_zuite"
run_only
=
"user_tutorial_zuite"
remote_code_url_list
=
BASE_REMOTE_SELENIUM_TEST_URL_LIST
def
afterSetUp
(
self
):
url_list
=
[]
for
x
in
self
.
portal
.
test_page_module
.
objectValues
():
url_list
.
append
(
x
.
absolute_url
())
self
.
remote_code_url_list
=
url_list
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
def
getBusinessTemplateList
(
self
):
def
getBusinessTemplateList
(
self
):
"""
"""
Return the list of business templates.
Return the list of business templates.
"""
"""
return
(
'erp5_core_proxy_field_legacy'
,
'erp5_full_text_myisam_catalog'
,
return
(
'erp5_core_proxy_field_legacy'
,
'erp5_full_text_myisam_catalog'
,
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_
ui_test'
,
'erp5_
forge'
,
'erp5_base'
,
'erp5_ui_test_core'
,
'erp5_forge'
,
'erp5_dhtml_style'
,
'erp5_dhtml_style'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_jquery'
,
'erp5_jquery_ui'
,
'erp5_knowledge_pad'
,
'erp5_knowledge_pad'
,
...
@@ -84,6 +67,8 @@ class TestZeleniumStandaloneUserTutorial(ERP5TypeFunctionalTestCase):
...
@@ -84,6 +67,8 @@ class TestZeleniumStandaloneUserTutorial(ERP5TypeFunctionalTestCase):
'erp5_l10n_fr'
,
'erp5_crm'
,
'erp5_l10n_fr'
,
'erp5_crm'
,
'erp5_accounting_ui_test'
,
'erp5_accounting_ui_test'
,
'erp5_user_tutorial_ui_test'
,
'erp5_user_tutorial_ui_test'
,
'erp5_run_my_doc'
,
'erp5_test_page_test_data'
,
)
)
def
test_suite
():
def
test_suite
():
...
...
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