mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: more reliable d-editor test (#7607)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user