From 7733c227c2fff182099a33e71723dca759292b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Mestres?= Date: Fri, 31 May 2024 13:06:06 +0200 Subject: [PATCH] chore: try to fix this f******* test --- tests/integration/components/settings-form/handle-test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/components/settings-form/handle-test.ts b/tests/integration/components/settings-form/handle-test.ts index 3938897..bf265fd 100644 --- a/tests/integration/components/settings-form/handle-test.ts +++ b/tests/integration/components/settings-form/handle-test.ts @@ -22,6 +22,7 @@ module('Integration | Component | advanced-settings-form/handle', function (hook this.set('model', model); await render(hbs``); + await waitCalciteReady(); assert.dom('[data-test-handle-type-item]').exists('it render handle type radio group'); @@ -30,7 +31,7 @@ module('Integration | Component | advanced-settings-form/handle', function (hook .doesNotExist('it does not render handle settings when handle-type is "none"'); await click('[data-test-handle-type-item] [data-test-value="hole"]'); - await waitUntil(() => model.handleSettings.type === 'hole'); + await waitUntil(() => model.handleSettings.type === 'hole', { timeout: 5000 }); await waitCalciteReady(); await waitFor('[data-test-handle-position]', { timeout: 5000 }); assert.dom('[data-test-handle-position]').exists('it show handle-position input');