From b7953fb88257270318d4e268d6de6f2c8efe62b3 Mon Sep 17 00:00:00 2001 From: jumagura Date: Wed, 21 Dec 2022 01:44:48 -0400 Subject: [PATCH] DEV: Add settled to avoid rendering errors --- test/javascripts/acceptance/admin-wizards-unsuscribed-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/javascripts/acceptance/admin-wizards-unsuscribed-test.js b/test/javascripts/acceptance/admin-wizards-unsuscribed-test.js index 6d009ac6..2646215f 100644 --- a/test/javascripts/acceptance/admin-wizards-unsuscribed-test.js +++ b/test/javascripts/acceptance/admin-wizards-unsuscribed-test.js @@ -426,6 +426,7 @@ acceptance("Admin | Custom Wizard Unsuscribed", function (needs) { ); const wizards = selectKit(".select-kit"); await wizards.expand(); + await settled(); await wizards.selectRowByValue("this_is_testing_wizard"); await settled(); assert.ok( @@ -445,6 +446,7 @@ acceptance("Admin | Custom Wizard Unsuscribed", function (needs) { }); test("creting a new wizard", async (assert) => { await visit("/admin/wizards/wizard"); + await settled(); await click('button:contains("Create Wizard")'); await settled(); assert.ok(