Skip to content

A platform for community discussion. Free, open, simple.

500 B
Raw Blame
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();
  });
});