Commit 902d660b authored by Boxiang Sun's avatar Boxiang Sun

xxx

parent 70c3f151
......@@ -141,7 +141,17 @@
This is a sample content for check the JS section can be executed in JSMD viewer.\n
\n
%% js\n
2 + 40</string> </value>
\n
var div = document.createElement(\'div\'),\n
pre = document.createElement(\'pre\'),\n
result_element = document.createElement(\'code\'),\n
result;\n
\n
result = 2 + 299492456;\n
result_element.innerHTML = result;\n
pre.appendChild(result_element);\n
div.appendChild(pre);\n
document.body.appendChild(div);</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -49,7 +49,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//p[contains(text(),'check the JS section')]</td>
<td>//code[contains(text(),'299492458')]</td>
<td></td>
</tr>
</tbody></table>
......
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