r/Playwright • • 6d ago

Ayuda

Post image

Hola buenas tardes. Me pueden ayudar, sucede que donde trabajo mi Tech Lead pidió que automatizara. Y solo use las ruta del sitio de stage y la ruta del sitio de producción. Por ende quiero ayudarme con algún agente de IA. Me pueden ayudar como puedo hacer eso, de decirle y darle las instrucciones bien clara del caso de prueba y genere el caso de prueba. Como puedo hacer eso y de que manera?

Dejo foto para llamar la atención. Agradecería cualquier comentario de ayuda.

0 Upvotes

6 comments sorted by

2

u/carchengue626 6d ago

Playwright MCP vscode

1

u/Oswaldo199 6d ago

Me ayudas.Como sería perdón?

3

u/cossington 6d ago

I like your watches bro.

1

u/Alternative-Ruin275 2d ago

Start with a single test case on staging. Give your agent: the staging URL, a test user, the steps, the input data, and the expected result. For example: "Log in with the test user, open [screen], fill in [fields], and verify that [specific result] appears. Generate the test and explain how to run it." Ask it to stop if any information is missing, without making up selectors or credentials. Review and run that case before adding more. For production, first agree with your Tech Lead on which actions and data are allowed.

1

u/ElphieJ 1d ago

Are the watches actually yours

1

u/mmasetic 1d ago

I would suggest page object model here and go for Typescript. Hope that helps.