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 @@ ...@@ -37,44 +37,20 @@
<td></td> <td></td>
</tr> </tr>
<!-- gadget's iframe --> <!-- gadget editor html_viewer -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="editor"]/iframe</td> <td>//div[@data-gadget-scope="editor"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>selectFrame</td> <td>assertElementPresent</td>
<td>//div[@data-gadget-scope="editor"]/iframe</td> <td>//div[@data-gadget-scope="editor"]//h2[contains(text(), "innovative Unified Business Model")]</td>
<td></td> <td></td>
</tr> </tr>
<!-- ckeditor's iframe -->
<tr> <tr>
<td>waitForElementPresent</td> <td>assertElementPresent</td>
<td>//iframe</td> <td>//div[@data-gadget-scope="editor"]//a[contains(text(), "Nexedi")]</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></td> <td></td>
</tr> </tr>
......
...@@ -103,8 +103,6 @@ ...@@ -103,8 +103,6 @@
SCRIPT: true, SCRIPT: true,
STYLE: true, STYLE: true,
NOSCRIPT: true, NOSCRIPT: true,
FORM: true,
FIELDSET: true,
INPUT: true, INPUT: true,
SELECT: true, SELECT: true,
TEXTAREA: 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