Commit f98f1411 authored by Gabriel Monnerat's avatar Gabriel Monnerat

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
...@@ -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
<?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>
...@@ -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()
......
erp5_ui_test_core
erp5_document_scanner erp5_document_scanner
\ No newline at end of file
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