Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
08a0f37f
Commit
08a0f37f
authored
May 28, 2015
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_ecommerce_test: update zelenium tests to echo screenshot text
parent
935a2cfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
bt5/erp5_web_ecommerce_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.xml
...5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.xml
+17
-0
No files found.
bt5/erp5_web_ecommerce_test/PathTemplateItem/portal_tests/erp5_web_e5g_ecommerce_ui_zuite/testE5gEcommerceBasicNavigation.xml
View file @
08a0f37f
...
...
@@ -106,6 +106,23 @@
<td>
//span[@data-i18n="E-COMMERCE"]
</td>
\n
<td>
E-COMMERCE
</td>
\n
</tr>
\n
<tr>
\n
<td>
pause
</td>
\n
<td>
5000
</td>
\n
<td></td>
\n
</tr>
\n
<!-- DEBUG -->
\n
<!-- storeEval can pass CSP. And iframe. -->
\n
<tr>
\n
<td>
storeEval
</td>
\n
<td>
function x(el){var n,a=[],w=document.createTreeWalker(el,NodeFilter.SHOW_TEXT,{acceptNode:function(m){if(!/^\\\\s*$/.test(m.data)){return NodeFilter.FILTER_ACCEPT;}}},false);while(n=w.nextNode())a.push(n);return a;}var i,len,t="",list=x(document.getElementById("selenium_myiframe").contentDocument.querySelector("body div"));for(i=0,len=list.length;i
<
len;i++){t+=list[i].nodeValue+" "}
</td>
\n
<td>
my_global_text
</td>
\n
</tr>
\n
<tr>
\n
<td>
echo
</td>
\n
<td>
${my_global_text}
</td>
\n
<td></td>
\n
</tr>
\n
<tr>
\n
<td>
waitForTextPresent
</td>
\n
<td>
Super Product
</td>
\n
...
...
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