-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Performing a Click() (via BUnit) on a Table Cell does not fire the onclick method in the page #2412
Comments
Hello! any update? for me it does not work also (.Click() on tr/td of Blazorise's DataGrid) please type here when it is fixed/resolved or you have any workaround |
@David-Moreira can you please have a look at this? |
here is test code: 'span.hfghjgfjhkg' should be visible/accessible via cut.Find("span.hfghjgfjhkg") after tableRow.Click() but it's not the case :( |
another helpful info is here (at the end of bUnit discussion): bUnit-dev/bUnit#399 specifically last posts, please look, it could help with debigging |
Hello, |
@andz-gl as a temporary workaround, please use the suggestion provided by @egil on the BUnit's issue, setting the click event argument detail to 1. Also, expect to not need to explicitly set it in the future, as @egil is expecting to fix it in BUnit in the future. Updated the branch with working example:
|
Click(detail: 1) works. Thank you! |
Great! Closing issue. |
Describe the bug
As stated.
Tracked here:
bUnit-dev/bUnit#399
Example project included in the above
The text was updated successfully, but these errors were encountered: