I really appreciate your work, and sharing the content with us! can you please create a video with Supertest using mocha and Allure reporting? I will really appreciate it! if you can !
@hellocodeur2 ай бұрын
Thank you !
@qatester64252 жыл бұрын
Great video bro, just wanna ask how to display the response body data json in html report? Thank you.
@devisenapati82953 жыл бұрын
i recently upgraded to webdriverio v7 and post upgrade mochawesome report is nt getting generated, the dependencies are updated as well with ncu command . I checked it's unable to generate the required json file and tried to downgrade my dependencies to older version but still getting same error. Checked the official documentation they have provided official version compatibility details for wdio v4 and v5. Could you please give any suggestions on this, the dependencies used are mochawesome-report-generator:5.2.0 wdio-mochawesome-reporter:4.0.0
@joejpf Жыл бұрын
How to add request and response logs to mochawesome report?
@mbadakhoury2 Жыл бұрын
any idea if we can use mochawesome in parallel mode? ive been having problems with the generated report (error at runtime)
@sdetunicorns Жыл бұрын
Yeah that should work, that's how I have run it in CI. May be open an issue in the Github for this
@mbadakhoury2 Жыл бұрын
it worked only when i added --require mochawesome/register to the command@@sdetunicorns
@mbadakhoury2 Жыл бұрын
this registers the --parallel as a hook, without it the generated json file will be corrupted, which will lead to runtime error when running the generated html
@saurabhsrivastav902 Жыл бұрын
Hi, I am using cy.log(JSON.stringify(res.body)) and can see the API response in Test runner, but it doesn't display the API response in mocha HTML report. Can you guide me how to print the API response in Mocha HTML report?
@sdetunicorns Жыл бұрын
You need to build a custom report to show API responses in html report.
@saurabhsrivastav902 Жыл бұрын
@@sdetunicorns can you guide me through it. Have tried fee of them from online but no luck.
@shoaibkiyani98134 жыл бұрын
Can you share how to integrate it with webdriverio and also how to generate same steps in report of test script under execution.
@sdetunicorns4 жыл бұрын
You can use this package for webdriverio - www.npmjs.com/package/wdio-mochawesome-reporter. It has all the instructions on how to set it up.
@shoaibkiyani98134 жыл бұрын
@@sdetunicorns Thank you so much for your reply but its not compatible with version 6 of WebdriverIO.
@sdetunicorns4 жыл бұрын
Should probably use Allure in that case, has a lot more features - kzbin.info/www/bejne/m3q5ppdqm5WZl8U
@piyushmathpal42443 жыл бұрын
unable to generate reports in v7. Can you please confirm? Instead getting log files
@sdetunicorns3 жыл бұрын
I am assuming you are referring to WebdriverIO v7? This video is for API Automation only and does not apply to WebdriverIO.
@piyushmathpal42443 жыл бұрын
@@sdetunicorns wanted to explore on mocha awesome reports, so landed over here. Yes Im integrating it with wdIO but getting 2 log files instead of html and json file
@sdetunicorns3 жыл бұрын
mocha awesome hasn't been upgraded since v5, so I would not use that for WebdriverIO. You can use TimelineReporter instead - webdriver.io/docs/wdio-timeline-reporter
@shilpakothari9903 жыл бұрын
Thank you for the video. I followed all your steps but not able to run the report. Is there something to do with the version . Please guide.