Thank you, Naveen. I watched a few videos and only your explanations helped me to understand how it all works.
@maheshkalagatta53643 жыл бұрын
Thanks @Naveen AutomationLabs. We could gain much knowledge on Cypress and related topics. Could you please make more videos on Cypress API and also on Framework part
@shabbyguy43344 жыл бұрын
Hi Naveen, great video Buddy, Is there a away to add screenshots to the report for FAILED Test Cases?
@mohdfahad54752 жыл бұрын
Use Cypress Dashboard Feature.
@apurvarohamare46652 жыл бұрын
Hi Naveen, thank you for this video it is really helpful and very well explained. I have a request if you could share a video, where we send a email along with report attached.
@poojashaw85264 жыл бұрын
Thanks for the awesome video.One request...can you please continue the DS and algo series videos?
@mayankjain99414 жыл бұрын
hello, Pooja have you tried the above video? Actually, I am getting an error while merging .json file.
@appansingharoy4914 жыл бұрын
@@mayankjain9941 try out the below for merging - "merge": "mochawesome-merge cypress/reports/*.json -o cypress/reports/final.json",
@mayankjain99414 жыл бұрын
@@appansingharoy491 I got the above solution a 2 month back only. Anyway thanks for your comments
@TechnicallyTaken3 жыл бұрын
Hi Naveen, Thanks for the information covered. How we can remove those codes and variables from tc and add cy.logs instead.pls take a look into this 🙏
@nayahm47874 жыл бұрын
Hi Naveen, very good explanation. Thank you! Is there a good way to clean reports too and add that to the script ? I tried and something not right with how I have done the cleanup. It is throwing me error and exists. Could you pls showcase with example if possible ?
@nikhilgupta57212 жыл бұрын
One big limitation in Cypress report I can see is that it only gets generated after all specs ran, we can not see the reports in between the execution. Let's say you have a regression suite contains many specs and would like to see are they running fine or not we can see only at the last and in that way let's say something goes wrong then we have waisted that much amount of time waiting for it to get complete of execution, just only one way of monitoring console for pass and fail but observing report is satisfying.
@vipuljain4206 ай бұрын
Thank you so much
@wajid9893 жыл бұрын
Hi Naveen, Can you please create a video if possible about how to attach mochawesome report as attachment to mail via Jenkins.
@gauravtyagi75673 жыл бұрын
Hi Naveen , Can you please create a video or comment here to change the mochawesome merge report browser tab title. currently it is "Mochawesome Report" title. For Signle Report i am able to change the title but while merging it is displaying the "Mochawesome Report" only
@nealbangia147 Жыл бұрын
Sir is there any way to send this report in email ? Like if run my test suite then automatically report attached to email and send
@nalamarusivasankar8932 жыл бұрын
Hi naveen, i am unable to merge the reports getting the below errors npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cypressautomation@1.0.0 combine-reports script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
@BeOptimisticWithMe2 жыл бұрын
you need to execute this command under the folder path were cypress folder or testcases are present
@nityaupadhyay6294 жыл бұрын
Hi Sir. Request to please make a video for validating data in pdf using cypress Automation. Thankyou
@pradeepkumar123ful4 жыл бұрын
after imlimentation my test are failed & cypress' is not recognized as an internal or external command, operable program or batch file.
@manishabro3 жыл бұрын
Hi Naveen, Thanks for the video and it was good learning. I am working on Windows OS and I am executing 2 specs with a total of 7 scripts. But with the given command it's giving me an error. "merge": "mochawesome-merge .\\cypress\ esults\\webshop\\*.html > .\\cypress\ esults\\webshop\\output.html" "merge": "mochawesome-merge cypress esults\webshop\*.html > cypress esults\webshop\output.html" "generate": "marge cypress/results/webshop/output.html --reportDir ./ --inline" Please can you help me with the path issue for Windows OS. Thanks in advance
@syamalaalapati62062 жыл бұрын
Hii..nice video..but in command line browser was not opened directly run in command line by default then show the results. can you please tell me the solution for that?
@rehthro4 жыл бұрын
Any idea on how I can then export these if I run the tests via a CI tool
@lovely-do8ns2 жыл бұрын
Report Folder is not created in my folder any solution ?
@chicharapidugutanishk3 жыл бұрын
Hi Naveen, I am unable to join your Telegram group - link provided above.. Please provide valid lin to join your telegram group
@BeOptimisticWithMe2 жыл бұрын
I am getting below error after executing npm run merge SyntaxError: cypress/reports/output.json: Unexpected end of JSON input at JSON.parse () at D:\ ode_modules\jsonfile\index.js:33:18 at D:\ ode_modules\graceful-fs\graceful-fs.js:123:16
@SurajSingh-jg2rw2 жыл бұрын
just replace > sign with -o and it should work
@animeshkr293 жыл бұрын
Hi Naveen Is possible to send this mocha report in email and recipient can open in their desktop and see ? Any help ?
@simranarora98372 жыл бұрын
Hi Animesh, did you receive any solution for your question? Actually i am having the same query as of now.
@animeshkr292 жыл бұрын
@@simranarora9837 Hi Simran ,no reply so far , but I got one work around , if you using Jenkins and running with pipeline job then we can show Run report in Jenkins it self and a simple link can be shared with team for reporting
@rcbchowdarytumati12244 жыл бұрын
I am struggling to download a PDF file for two months, could you please help me please.
@mayankjain99414 жыл бұрын
Hey Naveen sir while executing "npm run merge" command on terminal I am getting below error > cypress_practice@1.0.0 merge C:\Mayank\Cypress_Code > mochawesome-merge cypress/reports/*.json > cypress/reports/output.json ERROR: Failed to merge reports SyntaxError: cypress/reports/output.json: Unexpected end of JSON input at JSON.parse () at C:\Mayank\Cypress_Code ode_modules\jsonfile\index.js:33:18 at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3) would you please help me to resolved above issue. I am using Window 10 OS
@mirshodtairov34982 жыл бұрын
Hello, i am getting the same issue. Were you able to resolve it? if yes, would you please share the solution. Thanks In advance
@BeOptimisticWithMe2 жыл бұрын
the .json files you have should not be blank or contains 0 result
@shashankatole696810 ай бұрын
"merge": "mochawesome-merge cypress/reports/*.json -o cypress/reports/output.json", USE THIS WAY -0
@venkataharishutpala89853 жыл бұрын
when i run the command npm run merge , i am getting this error bro , can you please check this once. ERROR: Failed to merge reports SyntaxError: cypress/reports/output.json: Unexpected end of JSON input at JSON.parse () at C:\D Drive\Test\Cypress API Automation\TestProject ode_modules\mochawesome-merge ode_modules\jsonfile\index.js:33:18 at C:\D Drive\Test\Cypress API Automation\TestProject ode_modules\graceful-fs\graceful-fs.js:123:16 at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:73:3)
@SurajSingh-jg2rw2 жыл бұрын
just replace > sign with -o and it should work
@prabhumishra33232 жыл бұрын
I am getting the error failed to merge reports
@kailashpathak89064 жыл бұрын
when tests pass, NPM exits without an error message when tests fail you see npm ERR! code ELIFECYCLE npm ERR! Exit status 3 Can anyone help
@MohanRaj-by9us4 жыл бұрын
Hi, Myself also facing same problem. Did you identify any solution? Please let me know.
@kailashpathak89063 жыл бұрын
@@MohanRaj-by9us , Watch How I fix the problem "Execute Cypress tests in jenkins with Mochawesome reports" lnkd.in/gDdD9xM kzbin.info/www/bejne/gaPVgGmAnJ2SkK8 A medium page for end set up kailash-pathak.medium.com/execute-cypress-test-case-in-jenkin-with-integrating-mochawesome-report-ca5e91a5afc4
@priyankawadodkar56814 жыл бұрын
Hi Naveen, when using merge command getting error as unexpected end if json.can you suggest fix.
@Vinni-Dhruva4 жыл бұрын
Hi, I am also facing the same issue while executing merge command. Did you find any solution? please let me know.
@niharranjanmahalik65423 жыл бұрын
@@Vinni-Dhruva did u get fixed?
@niharranjanmahalik65423 жыл бұрын
did u get fixed? iam also facing the same
@venkataharishutpala89853 жыл бұрын
Hi I am also facing same issue . if anyone fixed this please mention in comment section
@mirshodtairov34982 жыл бұрын
@@venkataharishutpala8985 were you able to fix this issue ?