mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 16:29:32 +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);
|
this.set("value", BEFORE);
|
||||||
|
|
||||||
textarea.focus();
|
await click(textarea);
|
||||||
|
|
||||||
assert.ok(document.activeElement === textarea);
|
assert.ok(document.activeElement === textarea);
|
||||||
assert.ok(textarea.value === BEFORE);
|
assert.ok(textarea.value === BEFORE);
|
||||||
|
Reference in New Issue
Block a user