Commit 0de6578b authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: display erp5 based web sites html

Most ERP5 web sites use a global form wrapping the content.
Modify the html viewer to not drop this content.
parent 5b475c22
Pipeline #13451 failed with stage
in 0 seconds
......@@ -37,44 +37,20 @@
<td></td>
</tr>
<!-- gadget's iframe -->
<!-- gadget editor html_viewer -->
<tr>
<td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="editor"]/iframe</td>
<td>//div[@data-gadget-scope="editor"]</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>//div[@data-gadget-scope="editor"]/iframe</td>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope="editor"]//h2[contains(text(), "innovative Unified Business Model")]</td>
<td></td>
</tr>
<!-- ckeditor's iframe -->
<tr>
<td>waitForElementPresent</td>
<td>//iframe</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>//iframe</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>innovative Unified Business Model</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Nexedi</td>
<td>assertElementPresent</td>
<td>//div[@data-gadget-scope="editor"]//a[contains(text(), "Nexedi")]</td>
<td></td>
</tr>
......
......@@ -103,8 +103,6 @@
SCRIPT: true,
STYLE: true,
NOSCRIPT: true,
FORM: true,
FIELDSET: true,
INPUT: true,
SELECT: true,
TEXTAREA: true,
......
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