DEV: add a prefix with the plugin name to spec names (#180)
This commit is contained in:
parent
9ecc1581fd
commit
bdff555968
|
@ -8,7 +8,7 @@ import { click, visit } from "@ember/test-helpers";
|
||||||
import { clearTopicFooterButtons } from "discourse/lib/register-topic-footer-button";
|
import { clearTopicFooterButtons } from "discourse/lib/register-topic-footer-button";
|
||||||
import { test } from "qunit";
|
import { test } from "qunit";
|
||||||
|
|
||||||
acceptance("Assign mobile", function (needs) {
|
acceptance("Discourse Assign | Assign mobile", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.mobileView();
|
needs.mobileView();
|
||||||
needs.settings({ assign_enabled: true });
|
needs.settings({ assign_enabled: true });
|
||||||
|
@ -50,7 +50,7 @@ acceptance("Assign mobile", function (needs) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
acceptance("Assign desktop", function (needs) {
|
acceptance("Discourse Assign | Assign desktop", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.settings({ assign_enabled: true });
|
needs.settings({ assign_enabled: true });
|
||||||
needs.hooks.beforeEach(() => clearTopicFooterButtons());
|
needs.hooks.beforeEach(() => clearTopicFooterButtons());
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { visit } from "@ember/test-helpers";
|
||||||
import { cloneJSON } from "discourse-common/lib/object";
|
import { cloneJSON } from "discourse-common/lib/object";
|
||||||
import topicFixtures from "discourse/tests/fixtures/topic";
|
import topicFixtures from "discourse/tests/fixtures/topic";
|
||||||
|
|
||||||
acceptance("Assigned topic", function (needs) {
|
acceptance("Discourse Assign | Assigned topic", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.settings({
|
needs.settings({
|
||||||
assign_enabled: true,
|
assign_enabled: true,
|
||||||
|
|
|
@ -4,7 +4,7 @@ import AssignedTopics from "../fixtures/assigned-group-assignments-fixtures";
|
||||||
import GroupMembers from "../fixtures/group-members-fixtures";
|
import GroupMembers from "../fixtures/group-members-fixtures";
|
||||||
import { test } from "qunit";
|
import { test } from "qunit";
|
||||||
|
|
||||||
acceptance("GroupAssignments", function (needs) {
|
acceptance("Discourse Assign | GroupAssignments", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
||||||
needs.pretender((server, helper) => {
|
needs.pretender((server, helper) => {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { click, currentURL, visit } from "@ember/test-helpers";
|
||||||
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
||||||
import { test } from "qunit";
|
import { test } from "qunit";
|
||||||
|
|
||||||
acceptance("Quick access assignments panel", function (needs) {
|
acceptance("Discourse Assign | Quick access assignments panel", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import {
|
||||||
import { fillIn, visit } from "@ember/test-helpers";
|
import { fillIn, visit } from "@ember/test-helpers";
|
||||||
import { test } from "qunit";
|
import { test } from "qunit";
|
||||||
|
|
||||||
acceptance("Search - Full Page", function (needs) {
|
acceptance("Discourse Assign | Search - Full Page", function (needs) {
|
||||||
needs.settings({ assign_enabled: true });
|
needs.settings({ assign_enabled: true });
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.pretender((server, helper) => {
|
needs.pretender((server, helper) => {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { visit } from "@ember/test-helpers";
|
||||||
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
|
||||||
import { test } from "qunit";
|
import { test } from "qunit";
|
||||||
|
|
||||||
acceptance("UnAssign/Re-assign from the topics list", function (needs) {
|
acceptance("Discourse Assign | UnAssign/Re-assign from the topics list", function (needs) {
|
||||||
needs.user();
|
needs.user();
|
||||||
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
|
||||||
needs.pretender((server, helper) => {
|
needs.pretender((server, helper) => {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { discourseModule, query } from "discourse/tests/helpers/qunit-helpers";
|
||||||
import hbs from "htmlbars-inline-precompile";
|
import hbs from "htmlbars-inline-precompile";
|
||||||
|
|
||||||
discourseModule(
|
discourseModule(
|
||||||
"Integration | Component | group-assigned-filter",
|
"Discourse Assign | Integration | Component | group-assigned-filter",
|
||||||
function (hooks) {
|
function (hooks) {
|
||||||
setupRenderingTest(hooks);
|
setupRenderingTest(hooks);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue