From 4ff3f95b4da09addc9b1dac4b48cd5ca38790668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Mestres?= Date: Fri, 20 Oct 2023 15:51:56 +0200 Subject: [PATCH] fix tests :/ --- tests/integration/components/settings-form/handle-test.ts | 2 +- tests/integration/components/settings-form/type-select-test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/components/settings-form/handle-test.ts b/tests/integration/components/settings-form/handle-test.ts index c957647..2bf7685 100644 --- a/tests/integration/components/settings-form/handle-test.ts +++ b/tests/integration/components/settings-form/handle-test.ts @@ -29,7 +29,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 waitFor('[data-test-handle-position]'); + await waitFor('[data-test-handle-position]', { timeout: 1000 }); assert.dom('[data-test-handle-position]').exists('it show handle-position input'); assert.dom('[data-test-settings-handle-size]').exists('it show handle-size input'); diff --git a/tests/integration/components/settings-form/type-select-test.ts b/tests/integration/components/settings-form/type-select-test.ts index 230bd04..48999d6 100644 --- a/tests/integration/components/settings-form/type-select-test.ts +++ b/tests/integration/components/settings-form/type-select-test.ts @@ -44,7 +44,7 @@ module('Integration | Component | settings-form/select-type', function (hooks) { await click( `calcite-segmented-control-item[data-test-type="${ModelType.VerticalTextWithSupport}"]`, ); - await waitUntil(() => model.text === 'some multiline text'); + await waitUntil(() => model.text === 'some multiline text', { timeout: 1000 }); assert.strictEqual(model.text, 'some multiline text', 'text was updated'); }); });