Skip to content

Commit

Permalink
test(core/select): add visible check
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-ellington committed Jan 10, 2025
1 parent dae93c1 commit 507c5eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function selectController(select: Locator) {
const dropdownChevron = select.locator('ix-icon-button');

const dropdownVisible = async () => {
expect((await dropdown.elementHandle()).waitForElementState('stable'));
await (await dropdown.elementHandle()).waitForElementState('stable');
await expect(dropdown).toBeVisible();
};

return {
Expand Down

0 comments on commit 507c5eb

Please sign in to comment.