Commit d64b8b83 authored by Jérome Perrin's avatar Jérome Perrin

fixup! erp5_core: use the html_viewer when the field is non editable

update test after c3eb0b30 , because non editable editor now render HTML
parent dfb15874
...@@ -88,16 +88,9 @@ ...@@ -88,16 +88,9 @@
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr><td>waitForElementPresent</td>
<td>//div[@data-gadget-scope="editor"]//iframe</td><td></td></tr>
<tr><td>selectFrame</td>
<td>//div[@data-gadget-scope="editor"]//iframe</td><td></td></tr>
<tr><td>waitForText</td> <tr><td>waitForText</td>
<td>//body</td> <td>//div[@data-gadget-scope="editor"]</td>
<!-- the "1" is because we have line number. We have a * at the end because monaco has some hidden text --> <td>Hello</td></tr>
<td>glob:1*Hello*</td></tr>
<tr><td>selectFrame</td>
<td>relative=top</td><td></td></tr>
</tbody></table> </tbody></table>
</body> </body>
......
...@@ -66,15 +66,9 @@ ...@@ -66,15 +66,9 @@
<tr><td>click</td> <tr><td>click</td>
<td>//div[@class="actions"]//span[text() = "View"]</td><td></td></tr> <td>//div[@class="actions"]//span[text() = "View"]</td><td></td></tr>
<tr><td>waitForElementPresent</td>
<td>css=.bottom iframe</td><td></td></tr>
<tr><td>selectFrame</td>
<td>css=.bottom iframe</td><td></td></tr>
<tr><td>waitForText</td> <tr><td>waitForText</td>
<td>//body</td> <td>//div[contains(@data-gadget-url, 'gadget_editor.html')]</td>
<td>glob:1*Hello*</td></tr> <td>Hello</td></tr>
<tr><td>selectFrame</td>
<td>relative=top</td><td></td></tr>
</tbody></table> </tbody></table>
</body> </body>
......
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