Skip to content

Interaction with other components #243

Answered by egil
Robelind asked this question in Q&A
Oct 28, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Something like this should work:

var cut = RenderComponent<ComponentA>();

cut.Find("button").Click();

Assert.IsTrue(cut.Markup.StartsWith("Hello world"));

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Robelind
Comment options

@egil
Comment options

egil Oct 29, 2020
Maintainer

Answer selected by egil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants