DEV: add a prefix with the plugin name to spec names (#180)

This commit is contained in:
Andrei Prigorshnev 2021-07-30 22:39:38 +04:00 committed by GitHub
parent 9ecc1581fd
commit bdff555968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ import { click, visit } from "@ember/test-helpers";
import { clearTopicFooterButtons } from "discourse/lib/register-topic-footer-button";
import { test } from "qunit";
acceptance("Assign mobile", function (needs) {
acceptance("Discourse Assign | Assign mobile", function (needs) {
needs.user();
needs.mobileView();
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.settings({ assign_enabled: true });
needs.hooks.beforeEach(() => clearTopicFooterButtons());

View File

@ -9,7 +9,7 @@ import { visit } from "@ember/test-helpers";
import { cloneJSON } from "discourse-common/lib/object";
import topicFixtures from "discourse/tests/fixtures/topic";
acceptance("Assigned topic", function (needs) {
acceptance("Discourse Assign | Assigned topic", function (needs) {
needs.user();
needs.settings({
assign_enabled: true,

View File

@ -4,7 +4,7 @@ import AssignedTopics from "../fixtures/assigned-group-assignments-fixtures";
import GroupMembers from "../fixtures/group-members-fixtures";
import { test } from "qunit";
acceptance("GroupAssignments", function (needs) {
acceptance("Discourse Assign | GroupAssignments", function (needs) {
needs.user();
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });
needs.pretender((server, helper) => {

View File

@ -7,7 +7,7 @@ import { click, currentURL, visit } from "@ember/test-helpers";
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
import { test } from "qunit";
acceptance("Quick access assignments panel", function (needs) {
acceptance("Discourse Assign | Quick access assignments panel", function (needs) {
needs.user();
needs.settings({ assign_enabled: true, assigns_user_url_path: "/" });

View File

@ -7,7 +7,7 @@ import {
import { fillIn, visit } from "@ember/test-helpers";
import { test } from "qunit";
acceptance("Search - Full Page", function (needs) {
acceptance("Discourse Assign | Search - Full Page", function (needs) {
needs.settings({ assign_enabled: true });
needs.user();
needs.pretender((server, helper) => {

View File

@ -4,7 +4,7 @@ import { visit } from "@ember/test-helpers";
import AssignedTopics from "../fixtures/assigned-topics-fixtures";
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.settings({ assign_enabled: true, assigns_user_url_path: "/" });
needs.pretender((server, helper) => {

View File

@ -5,7 +5,7 @@ import { discourseModule, query } from "discourse/tests/helpers/qunit-helpers";
import hbs from "htmlbars-inline-precompile";
discourseModule(
"Integration | Component | group-assigned-filter",
"Discourse Assign | Integration | Component | group-assigned-filter",
function (hooks) {
setupRenderingTest(hooks);