Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: added numberrangeinput interaction tests #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thetaungg
Copy link
Contributor

No description provided.


Interactions.args = {
...Controlled.args,
minInputProps: {
Copy link
Contributor

Choose a reason for hiding this comment

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

share a common testId and make it -min and -max

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

await delay(500);

// now there shouldn't be any errors
await expect(canvas.queryByText('Invalid number range.')).not.toBeTruthy();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you confirm the output value from here also?
Ideally, you shouldn't have to have so many delays..
Each event should be able to run instantly..
delays make me assume that there are performance issues..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants