automators-com / aigent

Generate tests for you application using an autonomous AI agent
GNU General Public License v3.0
3 stars 0 forks source link

Add screenshots to context on failure #20

Closed RatulMaharaj closed 1 month ago

RatulMaharaj commented 1 month ago

This pull request includes several changes to enhance the functionality of the test framework in the src/agent module. The main updates involve improving the handling of test outputs, particularly for screenshots taken during test failures, and refactoring some utility functions.

Enhancements to Test Framework:

Code Refactoring:

These changes collectively improve the robustness and clarity of the test framework, making it easier to debug test failures by providing direct access to screenshots and simplifying the test-writing process.