Part 40 - Cypress - Cucumber - HTML Report With Screenshot

  Рет қаралды 7,706

QA Box Let's Test

QA Box Let's Test

Күн бұрын

Пікірлер: 55
@ElPalcoTigreHermano
@ElPalcoTigreHermano 2 жыл бұрын
THANK YOU! I had built with the standard preprocessor setup, but I was missing the screenshots. Code at 14:58 has everything I needed. Flawless copy paste. Thank you.
@domin0602
@domin0602 Жыл бұрын
Amazing. Helped to attached the screenshot to my html report
@vinay_30
@vinay_30 2 жыл бұрын
Thanks for this!! Can you please help me with this : I want url used in reports I am running scripts for multiple URL so when reports get generate it should print that one parameter of URL used
@likeme388
@likeme388 2 жыл бұрын
Great work brother, Really helpful 👏
@lyubaboerma2835
@lyubaboerma2835 2 жыл бұрын
thanks a lot! now we have beautiful reports!
@gokult4355
@gokult4355 2 жыл бұрын
Is it possible to skip feature file e.g. if login feature file failed other feature file need to skip
@gokult4355
@gokult4355 2 жыл бұрын
In Cucumber report I can attach screenshot link but after clicked on link is broken(before it was working).
@Shahzilrind
@Shahzilrind 3 жыл бұрын
Best lecture can you please make a tutorial on scenario outline with example table. For login feature file with multiple user
@QABoxLetsTest
@QABoxLetsTest 3 жыл бұрын
Thanks for your nice words, I've used datatable to create multiple todos. That scenario ideally has to be named as scenario outline. Hope that answers.
@gokult4355
@gokult4355 2 жыл бұрын
Thank You for video, its working
@sudheermanikonda392
@sudheermanikonda392 3 жыл бұрын
A very good one. I am badly looking for a video where we can easily select dates from calendar in cypress. Will you be able to do that?
@QABoxLetsTest
@QABoxLetsTest 3 жыл бұрын
Thanks, just use type if there is also an input box to show the selected date. Else you need to write a custom function to select specific date. For normal typing a trick is there that I have shown in the following video kzbin.info/www/bejne/n5XZpamphZaCnNU
@kunalkansal4241
@kunalkansal4241 2 жыл бұрын
Sir, your videos are very helpfull but there is a confusion, is it possible to do load and stress testing in cypress. If yes can you please provide some refrence.
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
No, Cypress focus on functional testing only; which is predominantly focused on client side rendering. So, using Google lighthouse it can do client side performance testing but stress and load is applied on Server. And for that you have tools like jmeter and k6
@kunalkansal4241
@kunalkansal4241 2 жыл бұрын
@@QABoxLetsTest Thank sir for the response. i am trying to run some cypress tests in my repository and it is giving this error "cant run because no spec file found." and"We searched for any files inside of this folder:" and then complete directory name. All the test cases are under integration folder. Can you please help me on that?
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
This happens when Cypress doesn't find your test files. Check the path of Integration folder in cypress.json file. It should point to folder where you are keeping your test files.
@kunalkansal7718
@kunalkansal7718 2 жыл бұрын
@@QABoxLetsTest thanks you so much, issue resolved.
@diieggo2
@diieggo2 2 жыл бұрын
Thank you
@gokult4355
@gokult4355 2 жыл бұрын
Can you please tell me how to execute headed chrome with test command
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Ideally we don't run tests in head mode in ci/cd pipeline. If you still want to do then please watch part 21 of this series.
@firuzakasirova8303
@firuzakasirova8303 2 жыл бұрын
Sorry may I ask you how we can to use start time and end time for multiple-cucumber-html-reporter, because for working end time but start time not, maybe can to give suggestion
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
displayDuration Type: boolean Mandatory: No If set to true the duration of steps, scenarios and features is displayed on the Features overview and single feature page in an easily readable format. This expects the durations in the report to be in nanoseconds, which might result in incorrect durations when using a version of Cucumber(JS 2 and 3) that does not report in nanoseconds but in milliseconds. This can be changed to milliseconds by adding the parameter durationInMS: true Please read www.npmjs.com/package/multiple-cucumber-html-reporter for more details
@firuzakasirova8303
@firuzakasirova8303 2 жыл бұрын
@@QABoxLetsTest Thanks , I found solution for this.
@firuzakasirova8303
@firuzakasirova8303 2 жыл бұрын
I had another question do you have some information how I can to use for Cypress BDD with Mocking API,, Can you give me suggestion
@firuzakasirova8303
@firuzakasirova8303 2 жыл бұрын
How I see you have really a lot of information about cypress
@abdullasuhail6070
@abdullasuhail6070 3 жыл бұрын
How can i share reports to my lead/manager when this report is generated in my local ?
@QABoxLetsTest
@QABoxLetsTest 3 жыл бұрын
You have to share the complete reports folder.
@surishettysainath3369
@surishettysainath3369 2 жыл бұрын
when sending the cucumber HTML report to someone they couldn't view the report properly. Is there any solution for this issue.
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
A web page is made up of css, html and js. Send everything you are using in your report
@gokult4355
@gokult4355 2 жыл бұрын
Zip the report folder and sent to anyone then other can see
@gokult4355
@gokult4355 2 жыл бұрын
Is possible to attach video for failed steps e. g like screenshot
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Possible in non bdd style
@gokult4355
@gokult4355 2 жыл бұрын
@@QABoxLetsTest But i could attach screenshot for failed step in cucumber report(BDD style), similarly is there any way to attach video for failed step
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Yeah, I covered what was possible at that point of time, which is adding screenshot
@MsJaichan
@MsJaichan 2 жыл бұрын
Hii!!. I have configured everything as per your tutorial but I don't see the screenshot in report. I see screenshot link but after clicked Image is broken. Im using mac and have tried opening the report in multiple browsers Please help!
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
I believe screenshot path isn't set correctly, that's the only reason images could appear broken on a web page.
@vikashsharma7905
@vikashsharma7905 2 жыл бұрын
Please check if the name of the scenario/feature you are using does not have spl charecter like colon , which is not supported by file name
@mathiasmartinez1011
@mathiasmartinez1011 2 жыл бұрын
@@QABoxLetsTest Hi, I have the same problem. And let me tell you that I follow step by step the cpy paste code as you have on your repo and the screenshot appears as broken. I tried many ways what happen but I don´t know
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Link seems broken because the path of file is not set to right location. Right click the image element and check it's src attribute. It should point to location where your screenshots are.
@mathiasmartinez1011
@mathiasmartinez1011 2 жыл бұрын
@@QABoxLetsTest If you just copy paste as your video it means that it should works for me also. Can you provide me some email to send my repo please if you can check please?
@suchitnarayan
@suchitnarayan 2 жыл бұрын
For running scripts using tag, when I run the scripts using the tag as mentioned in the video then the scripts which are not getting executed are showing as skipped in the report which in turn shows the wrong pass percentage. Is there any solution to not to show the skipped tests
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
In JS Mocha skip means not executed and we don't have dependantOn scenario. Hence leaving skip in report is fine.
@suchitnarayan
@suchitnarayan 2 жыл бұрын
@@QABoxLetsTestThanks for the response. Anything that can be done for pass percentage?? Eg: if I have 4 scenarios and 1 got executed using tag with status as pass. now pass percentage is showing as 25% and not 100% . So this calculation is also considering the skipped test case. Anything that can be done to fix this
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
If you are using mochawesome reporter then in my video on mochawesome I showed how you could customise it in context of Cypress. May be you need to check that and see if you could do something regarding your case.
@suchitnarayan
@suchitnarayan 2 жыл бұрын
@@QABoxLetsTest I am using cucumber html reporter but thanks I will try something out. Thanks for the useful tutorial
@kapillomte8409
@kapillomte8409 2 жыл бұрын
Hello it's very good video, is it possible to integrate cucumber reports in azure?
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Well, thanks but unfortunately Azure doesn't allow html reports at this point of time as I explained in my Cypress on Azure video
@kapillomte8409
@kapillomte8409 2 жыл бұрын
Is it possible to do
@kapillomte8409
@kapillomte8409 2 жыл бұрын
We have one cucumber html report plugin in azure if we install I think then it will work
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
When I last checked there was no support for html reports. But if there is one as you are saying then please go ahead and give it a try.
@MrLakeshoreBoy
@MrLakeshoreBoy 2 жыл бұрын
Is it possible to add logs and video to this report?
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
Not possible at the time of recording this video.
@digimortalll
@digimortalll 2 жыл бұрын
Hi. This code is not working even if all errors are fixed.
@QABoxLetsTest
@QABoxLetsTest 2 жыл бұрын
You might be doing something wrong Just use my GitHub repo and run it It works perfectly fine.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 49 МЛН
Attach screenshots to failed steps in Cypress Cucumber reports
8:54
Dane Harnett Devs
Рет қаралды 2,5 М.
Cypress Mochawesome Reporting with Cypress 12 is awesome ⚡️📊
11:06
Execute Automation
Рет қаралды 10 М.
Reports in Cypress and Cucumber
7:38
Dane Harnett Devs
Рет қаралды 3,5 М.
Part 14 - How to find broken links in Cypress
20:28
AB Automation Hub
Рет қаралды 1,5 М.
#10 Generate HTML Report In Cypress | MochAwesome Reporter
26:23
Mukesh otwani
Рет қаралды 13 М.
Wordpress vs coding - why devs SHOULD learn Wordpress
11:03
SuperSimpleDev
Рет қаралды 314 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН