DEV: more reliable d-editor test (#7607)

This commit is contained in:
Joffrey JAFFEUX 2019-05-27 15:41:55 +02:00 committed by GitHub
parent 912f1d83ac
commit a2d7eab31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -797,7 +797,7 @@ composerTestCase("replace-text event for composer", async function(assert) {
) {
this.set("value", BEFORE);
textarea.focus();
await click(textarea);
assert.ok(document.activeElement === textarea);
assert.ok(textarea.value === BEFORE);