Cover entire pages with bUnit #469
Unanswered
SviatoslavK
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @SviatoslavK In general, a page in Blazor is just a component, so bUnit has no problem with that. What you are experiencing can be any number of things, so without a sample that reproduces the issue I cannot really help. Ill convert this to a discussion. If you have any additional info, please share it, and ill be happy to help more if I can. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I stumbled upon the weird problem with bUnit and am unsure if it is a bug or my misuse of bUnit. I'm doing a small integration test on a page. It looks something like this:
For asynchronous actions, I use WaitForAssertion. And the problem is that the tests are written correctly, but they periodically crash without waiting for a timeout or not finding elements on the page. Perhaps this is because the rendering order of the components is different for different test runs? Or I won't be able to cover entire pages with tests using your library?
Version info:
Beta Was this translation helpful? Give feedback.
All reactions