zachblume / autospec

Autospec is an open-source AI agent that takes a web app URL and autonomously QAs it, and saves its passing specs as E2E test code
https://autospec.dev
MIT License
47 stars 4 forks source link

WIP: Use playwright actions api #65

Open craigmulligan opened 4 months ago

craigmulligan commented 4 months ago

Fixes #55.

TODO:

zachblume commented 4 months ago

Awesome start!

What are your thoughts as we dip into modularization -- my feeling is that it may end up making more sense to modularize and co-locate code by phase (discovery/execution/caching/accumulation of tests) rather than by e.g. e.g. a single schema.ts where we declare all the schema types for all the modules. I was also thinking this through re: prompts as well. They are a bit different because you might imagine people wanting to tweak the prompts more frequently, across all modules. SWE-agent took the approach of placing everything configurable AND prompts into a single config file, e.g. https://github.com/princeton-nlp/SWE-agent/blob/main/config/default.yaml

craigmulligan commented 4 months ago

Yeah, I really like organizing it by phase, that makes a lot of sense. I'll move schemas back into index.ts and then we can tackle re-organizing things later.