DEV: Remove viewing personal messages test on old user navigation menu
Core is moving towards the redesigned user page navigation menu so the old test is no longer required.
This commit is contained in:
parent
a907a98d87
commit
bf85df865e
|
|
@ -3,7 +3,7 @@ import {
|
||||||
acceptance,
|
acceptance,
|
||||||
updateCurrentUser,
|
updateCurrentUser,
|
||||||
} from "discourse/tests/helpers/qunit-helpers";
|
} from "discourse/tests/helpers/qunit-helpers";
|
||||||
import { click, currentURL, visit } from "@ember/test-helpers";
|
import { currentURL, visit } from "@ember/test-helpers";
|
||||||
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
||||||
import { cloneJSON } from "discourse-common/lib/object";
|
import { cloneJSON } from "discourse-common/lib/object";
|
||||||
import selectKit from "discourse/tests/helpers/select-kit-helper";
|
import selectKit from "discourse/tests/helpers/select-kit-helper";
|
||||||
|
|
@ -27,17 +27,6 @@ acceptance("User Private Messages | Discourse Assign", function (needs) {
|
||||||
});
|
});
|
||||||
|
|
||||||
test("viewing assigned messages", async function (assert) {
|
test("viewing assigned messages", async function (assert) {
|
||||||
await visit("/u/eviltrout/messages");
|
|
||||||
await click(".assigned-messages a");
|
|
||||||
|
|
||||||
assert.strictEqual(
|
|
||||||
currentURL(),
|
|
||||||
"/u/eviltrout/messages/assigned",
|
|
||||||
"transitioned to the assigned page"
|
|
||||||
);
|
|
||||||
});
|
|
||||||
|
|
||||||
test("viewing assigned messages when redesigned user page nav has been enabled", async function (assert) {
|
|
||||||
updateCurrentUser({ redesigned_user_page_nav_enabled: true });
|
updateCurrentUser({ redesigned_user_page_nav_enabled: true });
|
||||||
|
|
||||||
await visit("/u/eviltrout/messages");
|
await visit("/u/eviltrout/messages");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue