mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 03:13:39 +08:00
DEV: more reliable d-editor test (#7607)
This commit is contained in:
parent
912f1d83ac
commit
a2d7eab31d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user