Real Browser Test with Robot Automation Feature #216
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request integrates robot automation into the lf_interop_real_browser.py script, enabling the test to drive a physical robot to specific coordinates and angles for location-based browser performance testing. It includes logic for movement, rotation, and battery management to handle charging cycles automatically. The update also improves data accuracy by implementing specialized statistics collection for both mobile and laptop endpoints at each location and adding a method to reset HTTP counters between iterations. Furthermore, the reporting system has been enhanced to generate PDF and HTML reports featuring horizontal bar charts, summary tables, and embedded live view screenshots, with logic moved to a finally block to ensure reports are created even if errors occur. Finally, the update adds a new Flask endpoint and improved WebUI signaling to ensure the test status is correctly tracked.