Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
76f9d9ac
Commit
76f9d9ac
authored
Feb 08, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui_test_core: allow clicking on the partial text match
Parameter `partial_text_match` added Fixup
84281a2a
parent
2c654468
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
15 deletions
+42
-15
bt5/erp5_web_renderjs_ui_test_core/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test_core/Zuite_CommonTemplateForRenderjsUi.zpt
...nderjs_ui_test_core/Zuite_CommonTemplateForRenderjsUi.zpt
+42
-15
No files found.
bt5/erp5_web_renderjs_ui_test_core/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test_core/Zuite_CommonTemplateForRenderjsUi.zpt
View file @
76f9d9ac
...
@@ -541,11 +541,20 @@
...
@@ -541,11 +541,20 @@
<tr>
<tr>
<td colspan="3"><b tal:content="python: 'Click on panel link \'%(text)s\'' % click_configuration"></b></td>
<td colspan="3"><b tal:content="python: 'Click on panel link \'%(text)s\'' % click_configuration"></b></td>
</tr>
</tr>
<tr>
<tal:block tal:condition="python: click_configuration.get('partial_text_match', False)">
<td>click</td>
<tr>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'panel\')]//a[text()=\'%s\' and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td>click</td>
<td></td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'panel\')]//a[contains(text(), \'%s\') and contains(@href, \'#!\')]' % click_configuration['text']"></td>
</tr>
<td></td>
</tr>
</tal:block>
<tal:block tal:condition="python: not click_configuration.get('partial_text_match', False)">
<tr>
<td>click</td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'panel\')]//a[text()=\'%s\' and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td></td>
</tr>
</tal:block>
<tr>
<tr>
<td colspan="3"><p></p></td>
<td colspan="3"><p></p></td>
</tr>
</tr>
...
@@ -555,11 +564,20 @@
...
@@ -555,11 +564,20 @@
<tr>
<tr>
<td colspan="3"><b tal:content="python: 'Click on header link \'%(text)s\'' % click_configuration"></b></td>
<td colspan="3"><b tal:content="python: 'Click on header link \'%(text)s\'' % click_configuration"></b></td>
</tr>
</tr>
<tr>
<tal:block tal:condition="python: click_configuration.get('partial_text_match', False)">
<td>click</td>
<tr>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'header\')]//a[text()=\'%s\' and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td>click</td>
<td></td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'header\')]//a[contains(text(), \'%s\') and contains(@href, \'#!\')]' % click_configuration['text']"></td>
</tr>
<td></td>
</tr>
</tal:block>
<tal:block tal:condition="python: not click_configuration.get('partial_text_match', False)">
<tr>
<td>click</td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'header\')]//a[text()=\'%s\' and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td></td>
</tr>
</tal:block>
<tr>
<tr>
<td colspan="3"><p></p></td>
<td colspan="3"><p></p></td>
</tr>
</tr>
...
@@ -569,11 +587,20 @@
...
@@ -569,11 +587,20 @@
<tr>
<tr>
<td colspan="3"><b tal:content="python: 'Click on page link \'%(text)s\'' % click_configuration"></b></td>
<td colspan="3"><b tal:content="python: 'Click on page link \'%(text)s\'' % click_configuration"></b></td>
</tr>
</tr>
<tr>
<tal:block tal:condition="python: click_configuration.get('partial_text_match', False)">
<td>click</td>
<tr>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'m\')]//a[contains(text(), \'%s\') and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td>click</td>
<td></td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'m\')]//a[contains(text(), \'%s\') and contains(@href, \'#!\')]' % click_configuration['text']"></td>
</tr>
<td></td>
</tr>
</tal:block>
<tal:block tal:condition="python: not click_configuration.get('partial_text_match', False)">
<tr>
<td>click</td>
<td tal:content="python: '//div[contains(@data-gadget-scope, \'m\')]//a[text()=\'%s\' and contains(@href, \'#!\')]' % click_configuration['text']"></td>
<td></td>
</tr>
</tal:block>
<tr>
<tr>
<td colspan="3"><p></p></td>
<td colspan="3"><p></p></td>
</tr>
</tr>
...
...
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