Going from shortest -> scrappy playwright test code #340
Miyamura80
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What
At the end of an anthropic computer use run, is it possible to get playwright code to run whatever the anthropic computer use ran?
It would be really useful to go from shortest (non-deterministic, but smart) -> playwright test suites (deterministic, but dumb) for E2E tests
The optimal UX for shortest would be something like, I have a folder of .txt files, I just specify roughly what the test should do in natural language, let shortest do a first pass at trying those natural language tasks, and then give me a v1 playwright code for each of the .txt files
I believe: #134 is close to what I have in mind, but I want a playwright code at the end, so I can plug it directly into my CI as E2E tests
I would be happy to pay for a feature that does this as well. Key is that I want playwright tests at the end
Why
Currently, shortest is great for sanity checks, but not that useful to use for E2E tests on CI/CD, due to the lack of determinism.
It would be extremely helpful for shortest to generate v1 of E2E test suite, where I just go from shortest -> deterministic E2E playwright tests right away
Example
Shortest -> generate playwright tests -> plug into CI E2E tests in staging environment
Beta Was this translation helpful? Give feedback.
All reactions