Commit ade16831 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

mark file uploading tests as expected failure.

because they raise "The operation is insecure" error in recent Firefox.
parent 7eb83abb
......@@ -40,14 +40,14 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Express Access Tab</title>\n
<title>testAttachDocument (expected failure)</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name);\n
person_full_name string:DMS tester">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testAttachDocument (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
......@@ -40,12 +40,12 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Express Access Tab</title>\n
<title>testContributeAndEmbedImageWithFCKEditor (expected failure)</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testContributeAndEmbedImageWithFCKEditor (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
......@@ -40,12 +40,12 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Express Access Tab</title>\n
<title>testContributeTab (expected failure)</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testContributeTab (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
......@@ -40,13 +40,13 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Express Access Tab</title>\n
<title>testPortalContributionsToolNewFile (expected failure)</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testPortalContributionsToolNewFile (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
29
\ No newline at end of file
30
\ No newline at end of file
......@@ -40,13 +40,13 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title tal:content="template/getId"/>\n
<title>testMyDocumentsGadget (expected failure)</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.Freedom.TioLive.Spreadsheet-001-en.ods;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testMyDocumentsGadget (expected failure)</td></tr>\n
  • If this just check "my documents", maybe we can modify the test to use another way than uploading a local file to create the document, such as adding the document in business template or creating it by a script.

Please register or sign in to reply
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
......@@ -40,13 +40,13 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title tal:content="template/getId"/>\n
<title>testCheckPDFThumbnail (expected failure)</title>\n
  • If this just check PDF thumbnails, maybe we can modify the test to use another way than uploading a local file to create the PDF, such as adding the pdf document in business template or creating it by a script.

Please register or sign in to reply
</head>\n
<body tal:define="file_name string:tiolive-ERP5.Freedom.TioLive.MultiplePages.PDF-001-en.pdf;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testCheckPDFThumbnail (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
......@@ -40,13 +40,13 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title tal:content="template/getId"/>\n
<title>testCreateNewFile (expected failure)</title>\n
</head>\n
<body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n
full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
<tr><td rowspan="1" colspan="3">testCreateNewFile (expected failure)</td></tr>\n
</thead><tbody>\n
\n
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
......
167
\ No newline at end of file
168
\ 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