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

Update rtl style selenium test

parent b79e37a5
...@@ -30,6 +30,24 @@ ...@@ -30,6 +30,24 @@
<td>//link[@href='${base_url}/rtl_erp5_listbox.css']</td> <td>//link[@href='${base_url}/rtl_erp5_listbox.css']</td>
<td></td> <td></td>
</tr> </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> <!-- <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class="index_html"][contains(@style, 'text-align: right')]</td> <td>//div[@class="index_html"][contains(@style, 'text-align: right')]</td>
...@@ -60,6 +78,25 @@ ...@@ -60,6 +78,25 @@
<td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td> <td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>assertTextPresent</td> <td>assertTextPresent</td>
<td>مدرک</td> <td>مدرک</td>
...@@ -75,70 +112,104 @@ ...@@ -75,70 +112,104 @@
<td>Object ایجاد شد.</td> <td>Object ایجاد شد.</td>
<td></td> <td></td>
</tr> </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> <tr>
<td>type</td> <td>type</td>
<td>field_my_first_name</td> <td>field_my_first_name</td>
<td>علی (آزمایشی)</td> <td>علی (آزمایشی)</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_my_last_name</td> <td>field_my_last_name</td>
<td>حلاجی</td> <td>حلاجی</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_my_default_email_coordinate_text</td> <td>field_my_default_email_coordinate_text</td>
<td>ali.hallaji1@gmail.com</td> <td>ali.hallaji1@gmail.com</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_my_career_subordination_title</td> <td>field_my_career_subordination_title</td>
<td>Nexedi</td> <td>Nexedi</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_mobile_telephone_my_mobile_telephone_coordinate_text</td> <td>field_mobile_telephone_my_mobile_telephone_coordinate_text</td>
<td>+98 939 550 8721</td> <td>+98 939 550 8721</td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>Base_edit:method</td> <td>Base_edit:method</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyPortalStatusMessage</td> <td>verifyPortalStatusMessage</td>
<td>دیتا به روز شد.</td> <td>دیتا به روز شد.</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>selectAndWait</td> <td>selectAndWait</td>
<td>select_action</td> <td>select_action</td>
<td>تأئید</td> <td>تأئید</td>
</tr> </tr>
<tr> <tr>
<td>type</td> <td>type</td>
<td>field_your_comment</td> <td>field_your_comment</td>
<td>کاربر جدید تایید گردد.</td> <td>کاربر جدید تایید گردد.</td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//button[@id='dialog_submit_button']</td> <td>//button[@id='dialog_submit_button']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyPortalStatusMessage</td> <td>verifyPortalStatusMessage</td>
<td>موقعیت تغییر کرد.</td> <td>موقعیت تغییر کرد.</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>open</td> <td>open</td>
<td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td> <td tal:content="string: ${here/portal_url}/person_module/view">/erp5/person_module/view</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertTextPresent</td> <td>assertTextPresent</td>
<td>علی (آزمایشی)</td> <td>علی (آزمایشی)</td>
<td></td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
</body></html> </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