Skip to content

Commit

Permalink
try to fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Mar 6, 2024
1 parent 01ebe78 commit 316404f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/components/settings-form/handle-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]', { timeout: 1000 });
await waitFor('[data-test-handle-position]', { timeout: 2000 });

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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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', { timeout: 1000 });
await waitUntil(() => model.text === 'some multiline text', { timeout: 2000 });
assert.strictEqual(model.text, 'some multiline text', 'text was updated');
});
});

0 comments on commit 316404f

Please sign in to comment.