Hello Joan. Is there a plan to redo this video now Cypress 10 is out and the cypress-cucumber-preprocessor has changed. While I have gotten it to run tests in the new style I cant for the life of me work out how to create HTML reports with it.
@mathiasmartinez10112 жыл бұрын
Hola joan, una consulta. He seguido tu tutorial paso a paso y de verdad me parece increible el reporte que genera cucumber. Quisiera saber si hay alguna manera de poder adjuntar en el mismo reporte los screenshots tanto para los test positivos como los que fallan. Intente seguir algunos que vi por internet y hasta ahora no he tenido exito. Te agradeceria bastante si me puedes orientar
@joanmedia2 жыл бұрын
Hola Matias tendria que investigar. Apenas pueda intento echar algun vistazo
@marwafhal6828 Жыл бұрын
Hi thanks for the video but the report part didnt work for me i got eereur msg module not found
@joanmedia Жыл бұрын
Hello:) it is a bit old. Please look for the newest videos with Cypress version 10+
@willofdvlog2 жыл бұрын
how can I put a timestamp for cucumber-json for reportin as It is always overwriting the JSON file, hope you can help me. Thanks.
@iranamiriyeva2 жыл бұрын
Thank you for the Awesome useful video! :) I have one question: How to use env variables in feature files? For example: ${Cypress.env(ADMIN_USERNAME)} . There is a task to NOT use direct the data in the Examples in the feature file. I cannot find how to use env variables.
@hbmichang2 жыл бұрын
Es imposible que intentes agregar código en un .features, lo que tienes que hacer es agregarlo en el step definition. Si estás en un scenario outline solo coloca un texto "admin" y luego en tu step definition agrega un validación if(username == "admin") username=${Cypress.env(ADMIN_USERNAME)
@johnanaya39302 жыл бұрын
How can I use the datatable to login with multiple user names and passwords?
@joanmedia2 жыл бұрын
Hello! You can use the same approach and combine it with this video to connect Cypress to a database? kzbin.info/www/bejne/eJ-Zo2htmdJspK8&ab_channel=JoanMedia
@sivakumarmudili10012 жыл бұрын
In npm run test single file failng remaining are why failing
@joanmedia2 жыл бұрын
I am not sure why, but please compare your work with my repo: github.com/JoanEsquivel/cypress-cucumber It was working, as you can see in the video :)
@sivakumarmudili10012 жыл бұрын
@@joanmedia you did not use any Hooks if one test case fail remaining also failing