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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
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
Changes
5
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 @@
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title>
Test
Page Front
</title>
<title>
Test
Scan Document (expected failure)
</title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<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>
<tr>
<td>
open
</td>
...
...
@@ -93,12 +93,6 @@
<td>
//a[text()="Scan Document"]
</td>
<td></td>
</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>
<td>
click
</td>
<td>
//a[text()="Scan Document"]
</td>
...
...
@@ -134,11 +128,6 @@
<td>
field_your_version
</td>
<td>
001
</td>
</tr>
<tr>
<td>
select
</td>
<td>
field_your_publication_section
</td>
<td>
Financial Reports
</td>
</tr>
<tr>
<td>
select
</td>
<td>
field_your_publication_state
</td>
...
...
@@ -224,7 +213,6 @@
<td>
Done
</td>
<td></td>
</tr>
</tal:block>
</tbody></table>
</body>
</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 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
import
unittest
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
ERP5TypeFunctionalTestCase
...
...
@@ -33,16 +34,6 @@ class TestRenderJSDocumentScanner(ERP5TypeFunctionalTestCase):
foreground
=
0
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
():
suite
=
unittest
.
TestSuite
()
...
...
bt5/erp5_document_scanner_ui_test/bt/dependency_list
View file @
f98f1411
erp5_ui_test_core
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