Commit 646d6461 authored by Ali Hallaji's avatar Ali Hallaji

Update rtl style selenium test

parent b79e37a5
......@@ -30,6 +30,24 @@
<td>//link[@href='${base_url}/rtl_erp5_listbox.css']</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>window.getComputedStyle(document.getElementById('selenium_myiframe').contentWindow.document.querySelector('.index_html'), ':before').getPropertyValue('text-align');</td>
<td>text-align</td>
</tr>
<tr>
<td>type</td>
<td>top_your_search_text</td>
<td>${text-align}</td>
</tr>
<tr>
<td>verifyValue</td>
<td>top_your_search_text</td>
<td>${text-align}</td>
</tr>
<!-- <tr>
<td>assertElementPresent</td>
<td>//div[@class="index_html"][contains(@style, 'text-align: right')]</td>
......@@ -60,6 +78,25 @@
<td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>window.getComputedStyle(document.getElementById('selenium_myiframe').contentWindow.document.querySelector('.status'), ':before').getPropertyValue('direction');</td>
<td>direction</td>
</tr>
<tr>
<td>type</td>
<td>listbox_title</td>
<td>${direction}</td>
</tr>
<tr>
<td>verifyValue</td>
<td>listbox_title</td>
<td>${direction}</td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>مدرک</td>
......@@ -75,70 +112,104 @@
<td>Object ایجاد شد.</td>
<td></td>
</tr>
<tr>
<td>storeEval</td>
<td>window.getComputedStyle(document.getElementById('selenium_myiframe').contentWindow.document.querySelector('#action'), null).getPropertyValue('float');</td>
<td>direction</td>
</tr>
<tr>
<td>type</td>
<td>field_your_search_text</td>
<td>${float}</td>
</tr>
<tr>
<td>verifyValue</td>
<td>field_your_search_text</td>
<td>${float}</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
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