Commit ed394ef0 authored by Sven Franck's avatar Sven Franck

erp5_web_ehr_test: add debug test instructions

parent 0289cdde
......@@ -114,6 +114,19 @@
<td>${base_url}/web_site_module/e5g_ehr/</td>\n
<td></td>\n
</tr>\n
\n
<!-- DEBUG -->\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&lt;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
\n
<tr>\n
<td>waitForTextPresent</td>\n
<td>E-HR</td>\n
......
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