-
Notifications
You must be signed in to change notification settings - Fork 390
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
Concat FluentCounterBadge tests #904
Concat FluentCounterBadge tests #904
Conversation
FluentCounterBadge_BackgroundColorLightweightLuminanceLight & FluentCounterBadge_BackgroundColorLightweightLuminanceDark.
@microsoft-github-policy-service agree |
Actually, both tests are needed. The dark one however has a wrong value for the color parameters. We found this because of your work here. Thanks! |
@dvoituron p.2 Sounds like logic, but now (I didn't commit yet), FluentCounterBadge_BackgroundColorLightweightLuminanceDark test throw unexpected assert:
Do you know what's wrong? Code is invalid or test environment? I will so happy if you will help me :) @vnbaaij and @dvoituron Thank's for your fast reaction, you are very good programmers! ;) |
You have our FluentUI Unit Tests documentation here : https://github.com/microsoft/fluentui-blazor/blob/dev/unit-tests.md#fluentui-blazor-unit-tests Probably you could update the .verified file with the new changes. I will check this evening to give you more details. |
@vnbaaij Thank's for merge @dvoituron Thank's for help, but I have some problems :( I updated FluentCounterBadge_BackgroundColorLightweightLuminanceDark.verify.razor and now:
But my code is the same as Expected. What's wrong?
Thank you for this :) |
@vnbaaij @dvoituron Thanks again, good luck to you and your product ;) |
If you want to and are up to it, please submit more PRs with tests. We need them! |
📖 Description
My changes concat duplicated tests in single.
As you can see
Has duplicate logic, and I think it's not good, because:
I hope this changes make your code better. Thank you for this super cool Blazor components! :)
✅ Checklist
General
Component-specific