Skip to content

Commit

Permalink
fix tests :/
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Oct 20, 2023
1 parent 2df276f commit 4ff3f95
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]');
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');
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');
await waitUntil(() => model.text === 'some multiline text', { timeout: 1000 });
assert.strictEqual(model.text, 'some multiline text', 'text was updated');
});
});

0 comments on commit 4ff3f95

Please sign in to comment.