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

test time select #1869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

test time select #1869

wants to merge 1 commit into from

Conversation

HerrTopi
Copy link
Contributor

The problem: When the test modifies the first time select, and it's onChange handler also modifies the second time select's value, next it can't clear the value of the second before typing in something new, so the two texts will be concatenated.

There is a modified example in ui-avatar.

Run the docs app and check out the avatar page to see the example

Run the avatar "new tests" npm run test:vitest-watch packages/ui-avatar to see the test problems.

Edit packages/ui-avatar/src/Avatar/__new-tests__/Avatar.test.tsx to change tests

@HerrTopi HerrTopi requested review from matyasf and balzss February 13, 2025 08:49
@matyasf matyasf self-assigned this Feb 13, 2025
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