fixups
This commit is contained in:
parent
acc8c2a161
commit
489b27ca03
|
@ -2,7 +2,7 @@ import { click, currentRouteName, visit } from "@ember/test-helpers";
|
|||
import { test } from "qunit";
|
||||
import { GROUP_SMTP_SSL_MODES } from "discourse/lib/constants";
|
||||
import formKit from "discourse/tests/helpers/form-kit-helper";
|
||||
import { acceptance, query } from "discourse/tests/helpers/qunit-helpers";
|
||||
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
|
||||
import selectKit from "discourse/tests/helpers/select-kit-helper";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ acceptance("Topic", function (needs) {
|
|||
assert
|
||||
.dom(".d-editor-input")
|
||||
.hasValue(
|
||||
`Continuing the discussion from [Internationalization / localization](${window.location.origin}/t/internationalization-localization/280):`,
|
||||
`Continuing the discussion from [Internationalization / localization](${window.location.origin}/t/internationalization-localization/280):\n\n`,
|
||||
"fills composer with the ring string"
|
||||
);
|
||||
assert.strictEqual(
|
||||
|
@ -71,7 +71,7 @@ acceptance("Topic", function (needs) {
|
|||
assert
|
||||
.dom(".d-editor-input")
|
||||
.hasValue(
|
||||
`Continuing the discussion from [PM for testing](${window.location.origin}/t/pm-for-testing/12):`,
|
||||
`Continuing the discussion from [PM for testing](${window.location.origin}/t/pm-for-testing/12):\n\n`,
|
||||
"fills composer with the ring string"
|
||||
);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ acceptance("User Drafts", function (needs) {
|
|||
await click(".user-stream-item .resume-draft");
|
||||
assert
|
||||
.dom(".d-editor-input")
|
||||
.hasValue("A fun new topic for testing drafts.");
|
||||
.hasValue(/A fun new topic for testing drafts./);
|
||||
});
|
||||
|
||||
test("Stream - has excerpt", async function (assert) {
|
||||
|
|
Loading…
Reference in New Issue