This commit is contained in:
Jarek Radosz 2024-11-30 23:19:26 +01:00
parent acc8c2a161
commit 489b27ca03
No known key found for this signature in database
GPG Key ID: 62D0FBAE5BF9B953
3 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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"
);

View File

@ -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) {