Commit 072ec753 authored by Ali Hallaji's avatar Ali Hallaji

Add ui test for RTL style

parent e02f268a
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Zuite" module="Products.Zelenium.zuite"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_rtl_ui_zuite</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ERP5 RTL UI test</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<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_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>testRTL</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode>RTL Test</unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test RTL</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">RTL Zuite | تست آرایش وبگاه</td></tr>
</thead><tbody>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />
<tr>
<td>open</td>
<td>${base_url}</td>
<td></td>
</tr>
<tr>
<td>select</td>
<td>name=select_language</td>
<td>فارسی</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>Base_doLanguage:method</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>حسابداری</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=document_creation_tab</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>مدرک</td>
<td></td>
</tr>
<tr>
<td>selectAndWait</td>
<td>select_action</td>
<td>شخص را اضافه کنید</td>
</tr>
<tr>
<td>verifyPortalStatusMessage</td>
<td>Object ایجاد شد.</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>field_my_first_name</td>
<td>علی (آزمایشی)</td>
</tr>
<tr>
<td>type</td>
<td>field_my_last_name</td>
<td>حلاجی</td>
</tr>
<tr>
<td>type</td>
<td>field_my_default_email_coordinate_text</td>
<td>ali.hallaji1@gmail.com</td>
</tr>
<tr>
<td>type</td>
<td>field_my_career_subordination_title</td>
<td>Nexedi</td>
</tr>
<tr>
<td>type</td>
<td>field_mobile_telephone_my_mobile_telephone_coordinate_text</td>
<td>+98 939 550 8721</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>Base_edit:method</td>
<td></td>
</tr>
<tr>
<td>verifyPortalStatusMessage</td>
<td>دیتا به روز شد.</td>
<td></td>
</tr>
<tr>
<td>selectAndWait</td>
<td>select_action</td>
<td>تأئید</td>
</tr>
<tr>
<td>type</td>
<td>field_your_comment</td>
<td>کاربر جدید تایید گردد.</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//button[@id='dialog_submit_button']</td>
<td></td>
</tr>
<tr>
<td>verifyPortalStatusMessage</td>
<td>موقعیت تغییر کرد.</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>علی (آزمایشی)</td>
<td></td>
</tr>
</tbody></table>
</body></html>
\ No newline at end of file
2018-01-04
* Add RTL support
2018-01-15
* Add UI test for RTL
\ No newline at end of file
Copyright (C) 2018 Nexedi SA
\ No newline at end of file
GPL
\ No newline at end of file
portal_tests/erp5_rtl_ui_zuite
portal_tests/erp5_rtl_ui_zuite/**
\ 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