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
Labels
Merge Requests
140
Merge Requests
140
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
f98f1411
Commit
f98f1411
authored
Nov 25, 2019
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_document_scanner_ui_test: Clean up bt5 and declare test as expected failure properly
parent
7c90c3be
Pipeline
#6827
failed with stage
in 0 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
87 deletions
+4
-87
bt5/erp5_document_scanner_ui_test/PathTemplateItem/portal_tests/renderjs_erp5_document_scanner_zuite/testScanDocument.zpt
...renderjs_erp5_document_scanner_zuite/testScanDocument.zpt
+2
-14
bt5/erp5_document_scanner_ui_test/SkinTemplateItem/portal_skins/erp5_document_scanner_ui_test/Base_enableDocumentScannerTest.py
...ocument_scanner_ui_test/Base_enableDocumentScannerTest.py
+0
-1
bt5/erp5_document_scanner_ui_test/SkinTemplateItem/portal_skins/erp5_document_scanner_ui_test/Base_enableDocumentScannerTest.xml
...cument_scanner_ui_test/Base_enableDocumentScannerTest.xml
+0
-62
bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testRenderJSDocumentScanner.py
...ortal_components/test.erp5.testRenderJSDocumentScanner.py
+1
-10
bt5/erp5_document_scanner_ui_test/bt/dependency_list
bt5/erp5_document_scanner_ui_test/bt/dependency_list
+1
-0
No files found.
bt5/erp5_document_scanner_ui_test/PathTemplateItem/portal_tests/renderjs_erp5_document_scanner_zuite/testScanDocument.zpt
View file @
f98f1411
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test
Page Front
</title>
<title>
Test
Scan Document (expected failure)
</title>
</head>
</head>
<body>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<thead>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test
Page Action Breadcrumb List
</td></tr>
<tr><td
rowspan=
"1"
colspan=
"3"
>
Test
Scan Document (expected failure)
</td></tr>
</thead><tbody>
</thead><tbody>
<tr>
<tr>
<td>
open
</td>
<td>
open
</td>
...
@@ -93,12 +93,6 @@
...
@@ -93,12 +93,6 @@
<td>
//a[text()="Scan Document"]
</td>
<td>
//a[text()="Scan Document"]
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr
tal:condition=
"not:here/Base_enableDocumentScannerTest"
>
<td>
assertEval
</td>
<td>
true == false
</td>
<td>
This test is disabled to run automatically. You need to run manually and enable it in Base_enableDocumentScannerTest
</td>
</tr>
<tal:block
tal:condition=
"here/Base_enableDocumentScannerTest"
>
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
//a[text()="Scan Document"]
</td>
<td>
//a[text()="Scan Document"]
</td>
...
@@ -134,11 +128,6 @@
...
@@ -134,11 +128,6 @@
<td>
field_your_version
</td>
<td>
field_your_version
</td>
<td>
001
</td>
<td>
001
</td>
</tr>
</tr>
<tr>
<td>
select
</td>
<td>
field_your_publication_section
</td>
<td>
Financial Reports
</td>
</tr>
<tr>
<tr>
<td>
select
</td>
<td>
select
</td>
<td>
field_your_publication_state
</td>
<td>
field_your_publication_state
</td>
...
@@ -224,7 +213,6 @@
...
@@ -224,7 +213,6 @@
<td>
Done
</td>
<td>
Done
</td>
<td></td>
<td></td>
</tr>
</tr>
</tal:block>
</tbody></table>
</tbody></table>
</body>
</body>
</html>
</html>
\ No newline at end of file
bt5/erp5_document_scanner_ui_test/SkinTemplateItem/portal_skins/erp5_document_scanner_ui_test/Base_enableDocumentScannerTest.py
deleted
100644 → 0
View file @
7c90c3be
return
False
bt5/erp5_document_scanner_ui_test/SkinTemplateItem/portal_skins/erp5_document_scanner_ui_test/Base_enableDocumentScannerTest.xml
deleted
100644 → 0
View file @
7c90c3be
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_enableDocumentScannerTest
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testRenderJSDocumentScanner.py
View file @
f98f1411
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
##############################################################################
##############################################################################
import
unittest
import
unittest
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
ERP5TypeFunctionalTestCase
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
ERP5TypeFunctionalTestCase
...
@@ -33,16 +34,6 @@ class TestRenderJSDocumentScanner(ERP5TypeFunctionalTestCase):
...
@@ -33,16 +34,6 @@ class TestRenderJSDocumentScanner(ERP5TypeFunctionalTestCase):
foreground
=
0
foreground
=
0
run_only
=
"renderjs_erp5_document_scanner_zuite"
run_only
=
"renderjs_erp5_document_scanner_zuite"
def
getBusinessTemplateList
(
self
):
return
(
'erp5_web_renderjs_ui'
,
'erp5_web_renderjs_ui_test'
,
'erp5_ui_test_core'
,
'erp5_dms'
,
'erp5_accounting'
,
'erp5_pdf_merge'
,
'erp5_document_scanner'
)
def
test_suite
():
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
=
unittest
.
TestSuite
()
...
...
bt5/erp5_document_scanner_ui_test/bt/dependency_list
View file @
f98f1411
erp5_ui_test_core
erp5_document_scanner
erp5_document_scanner
\ No newline at end of file
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