test(mcp): await fetches in network tests to fix flake#40553
Conversation
The 'filter' and 'stable indexes' tests fired fetches from inline <script> tags and immediately checked browser_network_requests, racing the network responses. Move the fetches into browser_evaluate so the call resolves only after they complete.
Test results for "MCP"13 failed 6850 passed, 1015 skipped Merge workflow run. |
Summary
filterandstable indexesnetwork tests fired fetches from inline<script>tags and immediately checkedbrowser_network_requests, racing the responses.browser_evaluateso the call resolves only after they complete.