Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
DEV: Remove comments and unused code
Dieser Commit ist enthalten in:
Ursprung
6026d67b12
Commit
b05cbec277
3 geänderte Dateien mit 0 neuen und 7 gelöschten Zeilen
|
@ -5,7 +5,6 @@ import {
|
|||
} from "discourse/tests/helpers/qunit-helpers";
|
||||
import { test } from "qunit";
|
||||
import { findAll, visit } from "@ember/test-helpers";
|
||||
// import selectKit from "discourse/tests/helpers/select-kit-helper";
|
||||
|
||||
acceptance("Admin | Custom Fields", function (needs) {
|
||||
needs.user();
|
||||
|
@ -343,7 +342,5 @@ acceptance("Admin | Custom Fields", function (needs) {
|
|||
assert.ok(visible(".input"), "custom field name is present");
|
||||
assert.ok(visible(".multi-select"), "custom field serializer is present");
|
||||
assert.ok(visible(".actions"), "custom field action buttons are present");
|
||||
|
||||
// TODO: Adding a new custom field
|
||||
});
|
||||
});
|
||||
|
|
|
@ -307,7 +307,6 @@ acceptance("Admin | Manager", function (needs) {
|
|||
const exportCheck = checkbox[0];
|
||||
const destroyCheck = checkbox[1];
|
||||
|
||||
// Find the button and check if it has the "selected" class
|
||||
const exportButton = find("#export-button");
|
||||
assert.ok(
|
||||
exportButton.hasAttribute("disabled"),
|
||||
|
@ -323,7 +322,6 @@ acceptance("Admin | Manager", function (needs) {
|
|||
exportButton.hasAttribute("disabled"),
|
||||
"the export button is disabled when export checkbox is unchecked"
|
||||
);
|
||||
// destroy button
|
||||
const destroyButton = find("#destroy-button");
|
||||
assert.ok(
|
||||
destroyButton.hasAttribute("disabled"),
|
||||
|
|
|
@ -518,9 +518,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
|
|||
3,
|
||||
"Field subscription features are accesible"
|
||||
);
|
||||
// creating action content
|
||||
assert.step("Step 4: Creating a action section");
|
||||
|
||||
const actionAddBtn = find(".action .link-list button:contains('Add')");
|
||||
await click(actionAddBtn);
|
||||
const actionOneText = "action_1 (action_1)";
|
||||
|
|
Laden …
In neuem Issue referenzieren