diff --git a/tests/integration/components/lang-switcher-test.ts b/tests/integration/components/lang-switcher-test.ts index 2145ef9..32035c3 100644 --- a/tests/integration/components/lang-switcher-test.ts +++ b/tests/integration/components/lang-switcher-test.ts @@ -38,6 +38,7 @@ module('Integration | Component | lang-switcher', function (hooks) { this.owner.register('component:link-to', MyLinkTo); await render(hbs``); + await wait(); assert .dom('calcite-segmented-control') diff --git a/tests/integration/components/settings-form/text-test.ts b/tests/integration/components/settings-form/text-test.ts index 16e6058..89a3eb8 100644 --- a/tests/integration/components/settings-form/text-test.ts +++ b/tests/integration/components/settings-form/text-test.ts @@ -9,6 +9,7 @@ const { } = config; import TextMakerSettings from 'text2stl/models/text-maker-settings'; import { ModelType } from 'text2stl/services/text-maker'; +import wait from 'text2stl/tests/helpers/wait'; import fillCalciteInput from 'text2stl/tests/helpers/fill-calcite-input'; @@ -99,6 +100,7 @@ module('Integration | Component | settings-form/text', function (hooks) { await click( '[data-test-settings-text-alignment] calcite-radio-button[data-test-value="right"]', ); + await wait(); assert.strictEqual(model.alignment, 'right', 'model.alignment was updated'); assert