Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
646d6461
Commit
646d6461
authored
Jan 17, 2018
by
Ali Hallaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update rtl style selenium test
parent
b79e37a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
0 deletions
+71
-0
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
...thTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
+71
-0
No files found.
bt5/erp5_rtl_support/PathTemplateItem/portal_tests/erp5_rtl_ui_zuite/testRTL.zpt
View file @
646d6461
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment