Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
142
Merge Requests
142
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
d64b8b83
Commit
d64b8b83
authored
Feb 08, 2021
by
Jérome Perrin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
17 deletions
+4
-17
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
...tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
+2
-9
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorXHTMLStyle.zpt
...al_tests/monaco_editor_zuite/testTextEditorXHTMLStyle.zpt
+2
-8
No files found.
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorRenderJSStyle.zpt
View file @
d64b8b83
...
...
@@ -88,16 +88,9 @@
</tal:block>
<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>
<td>
//body
</td>
<!-- the "1" is because we have line number. We have a * at the end because monaco has some hidden text -->
<td>
glob:1*Hello*
</td></tr>
<tr><td>
selectFrame
</td>
<td>
relative=top
</td><td></td></tr>
<td>
//div[@data-gadget-scope="editor"]
</td>
<td>
Hello
</td></tr>
</tbody></table>
</body>
...
...
bt5/erp5_monaco_editor_ui_test/PathTemplateItem/portal_tests/monaco_editor_zuite/testTextEditorXHTMLStyle.zpt
View file @
d64b8b83
...
...
@@ -66,15 +66,9 @@
<tr><td>
click
</td>
<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>
<td>
//body
</td>
<td>
glob:1*Hello*
</td></tr>
<tr><td>
selectFrame
</td>
<td>
relative=top
</td><td></td></tr>
<td>
//div[contains(@data-gadget-url, 'gadget_editor.html')]
</td>
<td>
Hello
</td></tr>
</tbody></table>
</body>
...
...
Romain Courteaud
@romain
·
Feb 08, 2021
Owner
thanks
🙏
thanks 🙏
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment