Commit ca231209 authored by Yusei Tahara's avatar Yusei Tahara Committed by Matevz Golob

[erp5_configurator_standard_ui_test] Fix file uploading tests. Use setFile...

[erp5_configurator_standard_ui_test] Fix file uploading tests. Use setFile selenium command to avoid security error.
parent c21d65ce
......@@ -209,10 +209,15 @@
<td>Configure Categories</td>
</tr>
<tr>
<td>type</td>
<td>setFile</td>
<td>//input[@name=&quot;field_your_configuration_spreadsheet&quot;]</td>
<td tal:content="python: here.Zuite_getConfiguratorFilenameLocation('consulting_configurator_sample_categories.ods')"> </td>
<td>${base_url}/functional_test_data_folder/consulting_configurator_sample_categories.ods consulting_configurator_sample_categories.ods</td>
</tr>
<tr>
<td>pause</td>
<td>10000</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name=&quot;next:method&quot;]</td>
......@@ -297,8 +302,13 @@
<tr>
<td>type</td>
<td>//input[@name=&quot;field_your_portal_type_roles_spreadsheet&quot;]</td>
<td tal:content="python: here.Zuite_getConfiguratorFilenameLocation('consulting_configurator_sample_roles_configuration_sheet.ods')"> </td>
<td>${base_url}/functional_test_data_folder/consulting_configurator_sample_roles_configuration_sheet.ods consulting_configurator_sample_roles_configuration_sheet.ods</td>
</tr>
<tr>
<td>pause</td>
<td>10000</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@name=&quot;next:method&quot;]</td>
......
erp5_configurator_standard
erp5_ui_test_core
erp5_run_my_doc
\ No newline at end of file
erp5_run_my_doc
erp5_ui_test_data
\ No newline at end of file
test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Configurator
test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Consultant.Configurator
\ No newline at end of file
test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Configurator
test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Consultant.Configurator
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>consulting_configurator_sample_categories.ods</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>consulting_configurator_sample_categories.ods</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>consulting_configurator_sample_roles_configuration_sheet.ods</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/vnd.oasis.opendocument.spreadsheet</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>consulting_configurator_sample_roles_configuration_sheet.ods</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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