mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 10:37:59 +08:00
16 lines
500 B
JavaScript
16 lines
500 B
JavaScript
import { visit } from "@ember/test-helpers";
|
|
import { test } from "qunit";
|
|
import { acceptance } from "discourse/tests/helpers/qunit-helpers";
|
|
|
|
acceptance("Assign disabled mobile", function (needs) {
|
|
needs.user({ can_assign: true });
|
|
needs.mobileView();
|
|
needs.settings({
|
|
assign_enabled: false,
|
|
});
|
|
|
|
test("Footer dropdown does not contain button", async function (assert) {
|
|
await visit("/t/internationalization-localization/280");
|
|
assert.dom(".assign").doesNotExist();
|
|
});
|
|
});
|