Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
DEV: Add settled to avoid rendering errors
Dieser Commit ist enthalten in:
Ursprung
9583851501
Commit
b7953fb882
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
|
@ -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(
|
||||||
|
|
Laden …
In neuem Issue referenzieren