0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

DEV: Add manager test

Dieser Commit ist enthalten in:
jumagura 2022-12-21 12:11:29 -04:00
Ursprung c866395495
Commit 28cf4421d4

Datei anzeigen

@ -1,5 +1,5 @@
import { acceptance, query } from "discourse/tests/helpers/qunit-helpers";
import { skip } from "qunit";
import { test } from "qunit";
import { click, find, findAll, settled, visit } from "@ember/test-helpers";
acceptance("Admin | Manager", function (needs) {
@ -163,7 +163,7 @@ acceptance("Admin | Manager", function (needs) {
subscription_client_installed: false,
});
});
server.get("admin/wizards/wizard", () => {
server.get("/admin/wizards/wizard", () => {
return helper.response({
wizard_list: [
{ id: "this_is_testing_wizard", name: "This is testing wizard" },
@ -282,7 +282,7 @@ acceptance("Admin | Manager", function (needs) {
});
});
// TODO Review failing test
skip("viewing manager fields content", async (assert) => {
test("viewing manager fields content", async (assert) => {
await visit("/admin/wizards/manager");
await settled();
assert.ok(