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

docs(testServer): Update example to simulate button click #3855

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

Conversation

gadenbuie
Copy link
Member

Fixes #2745 by updating the example in ?testServer to simulate a button click. #2745 points out that unlike other inputs, it's not obvious how to simulate the update for a button click.

I modified the existing example to follow a more real-world example, albeit a very simple one. I included the UI function for the module to help make the example feel more realistic – the current example demonstrates server logic testing but doesn't map well to a real app.

@gadenbuie gadenbuie requested a review from cpsievert July 10, 2023 14:53
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.

Add $click() method to MockSession
1 participant