Skip to content

feature(expect-webdriverio): add number options support for toHaveHeight and toHaveWidth#1851

Merged
christian-bromann merged 2 commits intomainfrom
support-number-options
Jun 5, 2025
Merged

feature(expect-webdriverio): add number options support for toHaveHeight and toHaveWidth#1851
christian-bromann merged 2 commits intomainfrom
support-number-options

Conversation

@erwinheitzman
Copy link
Member

One of our users tried to do the something like below which failed:

await expect(example).toHaveHeight({ gte: 1, lte: 3 });

Support for this has now been added.

@erwinheitzman erwinheitzman added the enhancement New feature or request label Jun 5, 2025
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@christian-bromann christian-bromann merged commit c7f5c93 into main Jun 5, 2025
6 checks passed
@christian-bromann christian-bromann deleted the support-number-options branch June 5, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants