Amazing HTML Reporter for Cypress 10+ [MOCHAWESOME REPORTER]

preview_player
Показать описание


#cypress #testing #javascript #typescript
Рекомендации по теме
Комментарии
Автор

It worked perfectly for me! Thank you very much! I was struggling to make my screenshots be visible on reports, but this plugin has solved it all. Won a new subscriber :)

elcio-dalosto
Автор

Thanks for making this video! The new Cypress v10 update had me confused for older tutorials but you explained the setup easily

P.D.V.J
Автор

@JoanMedia thanks for the video, I'm using cypress for api testing and i used this for reporting only thing is when test passes i don't see the status code and detailed results like cypress logs...i have integrated my repo to azure pipelines, can you show how to generate a detailed HTML report in azure devops please ?

selvaganapathy
Автор

Thank you for this video. It works perfectly for me. New subscriber :)

pg_
Автор

That`s amazing news, that You are the amasador of the Cypress ❤

goabeach
Автор

@Joan I get webpack compilation error after installing mochawesome and running my script....any idea on how to solve?

roselinjoseph
Автор

Hi, i follow ur steps but in reports folder it is generating as 'mochawesome.json' .no new asset nothng html report ...please help me

ankeetasahu
Автор

@joanmedia great description here! One question... Do you know if there is any way to configure mochawesome to show history for each test? Let's say you run the same suite 10 times... is there any way to "merge" those 10 reports into one, and see a history for every test (something like you see with Cypress Dashboard or Sorry Cypress)? Thanks!

jprealiniyt
Автор

Hi Joan thanks
mochawesome does not generate graphics?

jussarar
Автор

I have a question. This reporter works with cucumber. You have a video of Cypress with Cucumber and a report with Can this reporter (MOCHAWESOME ) work with both processors and cucumbers?

jesusantonioperezsandoval
Автор

HI can you please teach us how to automate authenticated api's in Cypress using page object model. Can you please show us an example in which you get (return token) token from sign up POST api and use it in some other class or page for next api. I am able to get that token on same page in same class but facing issue when trying to get on some other class/page.

diybysobi
Автор

The screenshot portion of the reporter does not work for component testing. Do you have a workaround or suggestion how we can get report with screenshots for component testing?

oguzhanozturk
Автор

Hi Joan! Could you please help me with context in the reports. Don't know why but in aech test result i see code. If test was failed i see error and also this code, if it was passed i see only this code.
return cy
.then(() => state.onStartScenario(scenario, indexedSteps))
.then(() =>
resolveAndRunBeforeHooks.call(this, scenario.tags, state.feature.name)
)
.then(() =>
indexedSteps.forEach((step) =>
stepTest.call(this, state, step, rowData)
)
)
.then(() =>

anonimanonim-mphx
Автор

Allure reporter is also good and needs java in the local. But good looking report with too much data in allure. Works awesome with Cucumber

gallabalaji
Автор

Could you please make video on automating api's with Cypress using page object model. Could you please teach us how to write authenticated api's Cypress tests by using page object model. If we are returning token from login api then how can we use in some other api using POM

diybysobi
Автор

Hello joanmedia, can you make some tutorial on how to send the generated mochawesome reporter to an email address?

shadowkun-
Автор

@joan Thanks for the video, kindly share the git-hub link for above project ie :Cypress Typescript

manikantan
Автор

How do you using in cypress.config.ts file. When I use this command I am getting "Require statement not part of import statement. Would you please let me know how to fix this issue. If I use /* eslint-disable */ to fix the issue then my reports does not run and I am still getting error "Error loading the reporter: I will really appreciate if you reply.

tarishah
Автор

I guess that we need some additional settings for screenshots to be displayed in Mochawesome report isn't it? Otherwise html report contains log files only and in this case Mochawesome is not so helpful and "Amazing". How can we do that? I can see that reports folder contains screenshot of the failed test but it is not inserted into report.

vitaliyovcharenko
Автор

Mochawesome used to be my go to reporter but it does not tend to work as well when you are using cucumber.

norgate