0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-13 21:42:53 +01:00

DEV: Add settled to avoid rendering errors

Dieser Commit ist enthalten in:
jumagura 2022-12-21 01:44:48 -04:00
Ursprung 9583851501
Commit b7953fb882

Datei anzeigen

@ -426,6 +426,7 @@ acceptance("Admin | Custom Wizard Unsuscribed", function (needs) {
); );
const wizards = selectKit(".select-kit"); const wizards = selectKit(".select-kit");
await wizards.expand(); await wizards.expand();
await settled();
await wizards.selectRowByValue("this_is_testing_wizard"); await wizards.selectRowByValue("this_is_testing_wizard");
await settled(); await settled();
assert.ok( assert.ok(
@ -445,6 +446,7 @@ acceptance("Admin | Custom Wizard Unsuscribed", function (needs) {
}); });
test("creting a new wizard", async (assert) => { test("creting a new wizard", async (assert) => {
await visit("/admin/wizards/wizard"); await visit("/admin/wizards/wizard");
await settled();
await click('button:contains("Create Wizard")'); await click('button:contains("Create Wizard")');
await settled(); await settled();
assert.ok( assert.ok(