summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/tests/web_editor_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/tests/web_editor_tests.js')
-rw-r--r--addons/web_editor/static/tests/web_editor_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/tests/web_editor_tests.js b/addons/web_editor/static/tests/web_editor_tests.js
index 12a5937988f..1995add777d 100644
--- a/addons/web_editor/static/tests/web_editor_tests.js
+++ b/addons/web_editor/static/tests/web_editor_tests.js
@@ -256,7 +256,7 @@ QUnit.test('html_frame does not crash when saving in edit mode (editor not loade
});
testUtils.form.clickEdit(form);
- testUtils.fields.editInput(form.$('input'), 'trululu');
+ testUtils.fields.editInput(form.$('input.o_input.o_field_char'), 'trululu');
testUtils.form.clickSave(form); // crash without editor fully loaded
assert.verifySteps(['read']);
@@ -308,7 +308,7 @@ QUnit.test('html_frame saving in edit mode (editor and content fully loaded)', f
});
testUtils.form.clickEdit(form);
- testUtils.fields.editInput(form.$('input'), 'trululu');
+ testUtils.fields.editInput(form.$('input.o_input.o_field_char'), 'trululu');
testUtils.form.clickSave(form);
loadDeferred.resolve(); // simulate late loading of html frame