Is there a possibility for automated acceptance testing when specific network requests are required by a web application due to user interactions? This type of testing seems unconventional as online discussions and tutorials are lacking in this area. For example, if a user clicks a button triggering an ajax request, the QA team would like to verify that the request is actually sent with specific parameters. While it is common practice to check for interface changes following a request, what happens when these changes are not immediate? Moving testing to unit or integration levels is an option, but what if real browser testing is preferred?
What are the options available for automating acceptance tests where user interaction leads to expected network requests being sent? What tools are necessary for this type of testing (Selenium alone may not suffice)? Are there any examples or tutorials showcasing how to conduct this kind of testing? Your insights on this topic would be greatly appreciated.