1
0
Fork 0

DEV: Remove comments and unused code

Dieser Commit ist enthalten in:
jumagura 2022-12-20 17:56:12 -04:00
Ursprung 6026d67b12
Commit b05cbec277
3 geänderte Dateien mit 0 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -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
});
});

Datei anzeigen

@ -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"),

Datei anzeigen

@ -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)";