That look 11:20 for that whistle sound 😂... Bro u r doing an amazing job 💯 Ps: but don't get mad whoever that is, LOL.
@letcode10 ай бұрын
I can't that's my mom 😁. Thanks 👍
@kumarrajesh-lu3nw6 ай бұрын
Thank you so much for your videos. Really helped me lot when I stuck so many places while implementing complete new framework.
@letcode6 ай бұрын
Welcome and awesome 👍
@deepthiudayan9098 Жыл бұрын
Thankyou so much for this BDD- playwright videos
@letcode Жыл бұрын
Welcome :)
@lungelozondo7804Ай бұрын
Thank youso much, when using a Mac what do you put as platform name on the report.ts file?
@letcodeАй бұрын
It's a string so mac is fine I guess or Darwin.
@ashirbadprusty93275 ай бұрын
Hi @koushik The donot chart in the report is going veribig and its covering the entire page
@letcode5 ай бұрын
Must be a css issue. You have to report on their GitHub.
@ashirbadprusty93275 ай бұрын
@@letcode thanks can I use previous version of multiple-cucumber-html-reporter?
@letcode5 ай бұрын
Give it a try
@ashirbadprusty93275 ай бұрын
@@letcode tried same isue. something I am doing wrong?
@shilpatiwari19397 ай бұрын
Hi kaushik, your videos are really very helpful. I tried for attach video in the report i am getting error in cucumber.html report like base 64 is not there and in index.html video showing attached but not playing it
@letcode7 ай бұрын
Is the video available on your local folder?
@shilpatiwari19397 ай бұрын
@@letcode. I solve that actually I missed fs now its working fine. Thankyou
@letcode7 ай бұрын
Glad you figured it out.
@jyothsnat55798 ай бұрын
Hi Koushik, Can we generate extent report also. If so pls do one video for extent report
@letcode8 ай бұрын
I don't think the extent report is available for Js/TS.
@AnjaliAnilKumar-q6b2 ай бұрын
Can you add allure report in this framework also. Thank you
@letcode2 ай бұрын
Ok
@harshtyagi57446 ай бұрын
How to change report name to dynamic name and how to add real time start time and end time to a scenario or feature in the report, please suggest.
@letcode6 ай бұрын
Please check the official docs for more information. I'm not sure as I don't use it in my current project.
@renukrishnadevotee Жыл бұрын
Hi, Is there any way we can implement allure reports with bdd and playwright?
@letcode Жыл бұрын
Maybe, I'm not sure. But this report is better than allure.
@renukrishnadevotee Жыл бұрын
@@letcode i have a requirement of allure only
@Cecilia_Vlogs6 ай бұрын
Hi koushik , can we generate a standalone report which can be shared across
@letcode6 ай бұрын
If it has attachment then you have to share the data folder also.
@Cecilia_Vlogs6 ай бұрын
@@letcode Thanks for the response. Apart from attachment....is it possible to generate standalone .html format ...where if I send .html report the other person should be able to view it
@letcode6 ай бұрын
Yes it should be, are you facing any issue?
@Cecilia_Vlogs6 ай бұрын
yeah ....when I am sharing the single index.html report alone.....it's showing no records.....but If I am sharing the complete report folder along with json....html report is proper....
@PriyankaRP-lv4on2 ай бұрын
Hi Koushik, Can we save the older report ins ame folder nad delete it after 1 week? If yes can you please share the code ? or make any video on it?
@letcode2 ай бұрын
Probably yes, but I have to check
@PriyankaRP-lv4on2 ай бұрын
@@letcode Thank you for the reply. I am trying to search the solution , but not getting it. Can you please make video on it? and share code with us?
@joostdejong2507 Жыл бұрын
Thanks for the nice video. I still have one issue. I followed the exact steps (filled the package.json under scripts "test": "cross-env ENV=prod cucumber-js test || true"), but when I execute npm test from a Windows machine with a failing test, I get the error message '''true' is not recognized as an internal or external command, operable program or batch file'. So the posttest is not executed, no report folder is created. Any idea how to fix this?
@letcode Жыл бұрын
Hi, this command won't work with windows default terminal, you have to use gitbash as terminal.
@amangupta-pp7zn Жыл бұрын
You can use this instead "scripts": { "test": "cucumber-js test", "posttest": "npx ts-node src/test/helpers/report.ts", "test:withpost": "npm test || npm run posttest" }, and then run npm run test:withpost
@lucbsilva11 ай бұрын
Now it works with this "test": "cucumber-js test || (exit 0)",
@rossbennett89084 ай бұрын
@@lucbsilva Thank you for the update, fixed my problem.
@jorgefranco23134 ай бұрын
@@lucbsilva Grande, muchas gracias por la solución... ya me genera el reporte cuando hay escenarios fallidos.
@pranitdhole59788 ай бұрын
Hi, will you please make video on cicd for cucumber playwright
@letcode8 ай бұрын
Yes, I'll try my best.
@PaidipatiHarikumar Жыл бұрын
Thanks for the Videos but I am observing the special characters in HTML and JSON reports whenever we compared expected result to String. Kindly help me on this.
@letcode Жыл бұрын
I didn't understand
@MrPriyank23 Жыл бұрын
HI Hari did you got any solution for this issue.
@letcode Жыл бұрын
That is related to the reporter issue. You have to create a bug in their git, they can provide a solution.
@divya-hz2wi9 ай бұрын
How to run the test cases in responsive view ,can you provide the details for this
@divya-hz2wi9 ай бұрын
The main reason for us to implement the playwright is to make our test cases work in responsive views ,but I am stuck on how to invoke them , please tell me the solution for this
@letcode9 ай бұрын
I will upload a video on this soon.
@sivamaamalesh86355 ай бұрын
Is it possible to group the failures based on where it failed. If yes how , can you please explain?
@letcode5 ай бұрын
It gives on the failure, no grouping.
@SajitaD-p7z Жыл бұрын
Can you let me know if we have different generated allure reports then if we want to view different Allure reports in a single allure dashboard is it possible?like how can configure multiple allure reports in a single allure dashboard? how can we see multiple allure project in dashboard
@letcode Жыл бұрын
Not sure
@jyothsnat55797 ай бұрын
Hi Koushik, For scenario outline screenshots are not attaching, only for Scenario it is attaching. Please help how to attach screenshots for scenario Outline too
@letcode7 ай бұрын
It should be the same bro, I have explained
@riyazcommits70304 ай бұрын
@jyothsnat5579 click on examples in the report brother it will open a scenario related to that example. there you can see report of that example you chose. thanks
@AkashSingh-pd1rv2 ай бұрын
Hi @Koushik, Thanks for providing these videos. This is really helpful. Could you please explain how we can handle the cucumber multiple report, where we can can get browser name, OS, etc dynamically, Also I am not able to execute scripts parallelly in 2 browsers. Could you please help me in this
@letcode2 ай бұрын
I have covered the parallel execution in a separate video. You can use the os module nodejs.org/api/os.html
@prashantthube Жыл бұрын
Thanks kaushik , for this video
@letcode Жыл бұрын
Welcome
@shruthikm7359 Жыл бұрын
Hey Koushik, thank you for your videos, very helpful. I am observing that with Cucumber & Playwright has slow start? How can I fix this?
@letcode Жыл бұрын
Hi, a slowness of 5 or lesser seconds is expected. Is it slower than that?
@RahulReddy-pt2zx6 ай бұрын
Hi koushik when I am trying with the failed test cases cucumber report was generated fine but Multiple cucumber html file was (index) was not generated when im trying failed test cases
@letcode6 ай бұрын
Did you mean it's not giving a single index html file?
@RahulReddy-pt2zx6 ай бұрын
Yes it's not giving when the test case are failed , I'm giving everything correct only if the scenarios was passed it will generate a index.html file
@tibivanko42534 ай бұрын
Try this script: "test": "cross-env ENV=test cucumber-js test || exit 0",
@jobi Жыл бұрын
For me I followed the instructions in the video, but when I run npm test, I always get this warning "WARNING: No JSON files found in 'test-results'. NO REPORT CAN BE CREATED!" and when I open the index.html report, it is not populated with data. I have the test-results folder with both JSON & HTML cucumber report. Not sure what I am missing.
@letcode Жыл бұрын
9:00 i hope you followed all the steps properly.
@thusharzacharia1982 Жыл бұрын
Hi Koushik, I have been following your tutorial and its done very well. Specially well crafted for beginners and others. I have been working on play wright with JS code and i was trying to use the multi cucumber report. For some reason on execution, the Index.html file is not getting generated. Could you guide me.
@letcode Жыл бұрын
Sure, check once if u had followed all the steps .
@ChandraSekhar-zv2bb Жыл бұрын
Hi koushik, i have different problem is there any solution for this i was able to run and generate cucumber jvm html and cucumber json report. I need to extract few details from either json or html like test data passed and output Example : if i am submitting an application for 50 to 70 users i want name of the customer and application number after scenario run .
@letcode Жыл бұрын
I'm sure it's possible, but I'll look into it and confirm you.
@shilpatiwari19397 ай бұрын
I added true in command but after execution getting message like "true ' is not recognized as an internal or external command. How we can solve this
@letcode7 ай бұрын
I hope you are using gitBash as command prompt else you have to find the equivalent command, pls refer the other comments I guess already I have added details about it.
@shilpatiwari19397 ай бұрын
@@letcode i added exit 0 instead true now its working fine.
@praveen9202 Жыл бұрын
Bro once i do the same after running scripts I am getting index html along with one more html with some random suffix if i delete that I could not able to access the link of scenario in index. Html report
@letcode Жыл бұрын
Yes, that is expected only. Don't delete any files or folders.
@narayanaswamy2519 Жыл бұрын
Hi Koushik..! It is good to see your video, can you post pdf validation with playwright...?
@letcode Жыл бұрын
Sure, I'll try
@kidvikvlogs Жыл бұрын
Getting true is not recognised as an internal or external command in package.json .when scenario getting failed .kindly help
@letcode Жыл бұрын
Your terminal should be git bash
@kidvikvlogs Жыл бұрын
@@letcode how to change that
@letcode Жыл бұрын
Install git bash and use as your terminal within vs code.
@andrewpoganovsky4937 Жыл бұрын
Or another way, replace "true" with "exit 0", the line will look like this: "cucumber-js test || exit 0"
@lilu4480 Жыл бұрын
@@andrewpoganovsky4937 Thanks for your answer!
@shilpatiwari19397 ай бұрын
How we can add request and reponse of api in the same report
@letcode7 ай бұрын
Writeline function is used in hooks to write in the report, but that is accessible from hooks only. I have to check how to do it from the step definition.
@shilpatiwari19396 ай бұрын
@@letcode hi kausik, i tried to configure playwright.cobfig.ts file in same framework but it did not worked. What Playwright ui is launching but there were no test
@letcode6 ай бұрын
Cucumber and playwright runner are different, so this config will not work for that.
@shilpatiwari19396 ай бұрын
@@letcode I can add another after in hooks . And just like we are fetching pickle and result same way we can fetch request and response as well and we can attach it in report just like screenshot and video.
@miguelmorgado3705 Жыл бұрын
Hello Koushik. First of all, thank you very much for your amazing tutorials. My index file is not created and I have this error: Error: Cannot find module 'node:path' can you help please? thank you in advance.
@letcode Жыл бұрын
Welcome. You have to use the path package, import it and it should work.
@deepaksrivastava-25 Жыл бұрын
@@letcode How and where to import path and please let me know where to use it?
@pranitdhole59788 ай бұрын
Will you please provide solution for - How to handle multiple tabs in this framework? I tried in script - const allpages=context.pages(); const newpage=allpages[1] but it is giving me error context is not defined, actually we have defined context in hooks. Then how to handle this, please reply as soon as possible, is there any other way I can connect with you and share my problem screenshots? I'm stuck in my office project.
@letcode8 ай бұрын
You can ask in the discord. Link is available in the description.
@pranitdhole59788 ай бұрын
I asked on discord under #playwright, please reply.
@sivaramakrishnareddyrajula9605 Жыл бұрын
"progress-bar" is not showing output console correctly. Lines are breaking. Are there any changes we need to do except add it in cucumber.json
Hi Koushik, is there any way to run a particular feature or scenario? If I run a particular scenario using the command npx cucumber-js --name " " , report only showing skipped scenario. Any idea how to solve this?
@letcode Жыл бұрын
If the execution is successful, it should show the result.
@nandaraja5804 Жыл бұрын
No, new report is not generating when I use the command npx cucumber-js
@letcode Жыл бұрын
@@nandaraja5804 continue with the playlist, i have covered those
@nandaraja5804 Жыл бұрын
By the way thanks for taking time to clear all our doubts👍🏼😁
@SamSC09 Жыл бұрын
Hello Koushik, Is there any way to get this type of chart report without using Cucumber, I have already implemented Html and Allure report with help of your videos.
@letcode Жыл бұрын
It is specific to the report. With a custom report we can implement but that will be challenging
@moriyamegidish6345 Жыл бұрын
Thanks you so much !!! I want to customise the report , to add the total run time for all the features and individual run time also can we add customised status like warning
@letcode Жыл бұрын
Welcome. I don't think that option is available in the report.
@moriyamegidish6345 Жыл бұрын
@@letcode Thanks :)
@Jose_Arilson8 ай бұрын
No caso de uma API, como eu posso mostrar no relatório qual o response ou request foi usado em uma step, eu gostaria de colocar no meu relatório. In the case of an API, how can I show in the report which response or request was used in a step, I would like to put in my report.
@letcode8 ай бұрын
I'm not sure, I have to check.
@Jose_Arilson8 ай бұрын
@@letcode I ate it now I was unsuccessful
@KrzysztofBulenger Жыл бұрын
why when some steps are failed results not save in index.html, when all tests pass is ok
@letcode Жыл бұрын
You might have missed await in some steps.
@KrzysztofBulenger Жыл бұрын
|| exit 0 helped
@lilu4480 Жыл бұрын
@@KrzysztofBulenger It's right!
@y.dmamatha9674 Жыл бұрын
Hi , Thanks for the video and is there any way to change the name of the file from index.html to our own file name ?
@letcode Жыл бұрын
I don't remember, but it's possible i guess.
@AlMutasimHasanMuhi-p3w6 ай бұрын
hello brother, I am getting this error. How can I fix this? TIA
@letcode6 ай бұрын
What error?
@shashidharamarannavar9 ай бұрын
I am unable to get the report even i mentioned format in cucumber.json
@letcode9 ай бұрын
Is the test ran?
@tunghuynh8504 Жыл бұрын
Thank you so much, hope to see more tutorial like this
@letcode Жыл бұрын
More to come!
@nandaraja5804 Жыл бұрын
Hi Koushik, you've made things easier for us👍🏼 Is there any way to add time duration for features and scenarios?
@letcode Жыл бұрын
Thank you :), I guess execution time is visible on report.
@sumitgoyal3856 ай бұрын
Thank you fir this means a lot : One ques : In report in failure we get : Error: [31mTimed out 10000ms waiting for [39m [2mexpect( [22m [31mlocator [39m [2m). [22mtoBeVisible [2m() [22m some unreadable character in case of java cucumber : I put monochrome true and it used to fix here I put monochrome : true as below but not worked ,can you tell me where to put this part ? I also put true in double quote same issue { "default": { "formatOptions":{ "snippetInterface": "async-await", "monochrome":true },
@letcode6 ай бұрын
Monochrome is changed in this version, I have covered it in the later videos.
@sumitgoyal3856 ай бұрын
@@letcode wow thanks
@venkatesenkizhapandal2243 Жыл бұрын
Amazing reports
@letcode Жыл бұрын
Yes it is ❤️
@MrPriyank23 Жыл бұрын
Hi Koushik, this is the great videos. But I am having issue in my HTML report whenever there is error like "expecting 'this' but actual is 'something' kind of error" it is not coming in proper way can you please help me on that.
@letcode Жыл бұрын
Thanks. Proper way means it is showing wrong info or assertion is missing?
@ektapatel2246 Жыл бұрын
It is coming with some special characters.. like it is having some square images with it.. if you can try from your side with this kind of assertion then you will get to know.. can you please help with this issue as I have demo at my job by next week..this will be very helpful
@letcode Жыл бұрын
I don't know how to reproduce, kindly send screenshots on our discord server.
@ektapatel2246 Жыл бұрын
Can you please share with me information about discord like how I can connect with you as I don’t know about it
@letcode Жыл бұрын
discord.gg/ZJbzwBEV
@keplervelasco1854 Жыл бұрын
Great Report! thanks
@letcode Жыл бұрын
Cool 😎
@Arshadarsh Жыл бұрын
Will this work in selenium as well?
@letcode Жыл бұрын
Yes
@Arshadarsh Жыл бұрын
@@letcode okay thank you i will try to implement
@letcode Жыл бұрын
Sorry, not for Java.
@letcode Жыл бұрын
You can refer to this kzbin.info/www/bejne/hmWWk2qLpr2eY9k
@theillo4739 Жыл бұрын
You are boss mate ! :)
@letcode Жыл бұрын
Thanks 😎
@vikrantchaudhari7017 Жыл бұрын
Nice video Koushik! Good job! I have a question here. In the report.ts, how can you pass the browser name, browser version, os name, os version etc details from command line? As of now, you are hard coding it. Also, how can we pass the customData values from command line?
@letcode Жыл бұрын
Hi, to pass data from cli I have covered that in the other video, kindly go through the playlist. We can do the same for reporters as well.
@s.niraimathimathi7576 Жыл бұрын
Hi Koushik, Thanks for making this videos.it's very helpful.😊 To get the multiple cucumber report using javascript what command we have to keep in post test. npx js-node is not working
@letcode Жыл бұрын
u can use - node filename.js
@s.niraimathimathi7576 Жыл бұрын
It worked.Thanks a lot Koushik😊
@KarunyaGowda-w4d Жыл бұрын
"posttest": "npx ts-node src/helper/report.ts" is not getting executed. index.html report file is not getting generated and also progress bar is not visible, Please help.
Hi, when the test is failed, don't run the script "npx ts-node src/helper/report.ts"
@letcode Жыл бұрын
If the test fail the next posttest doesn't execute that's y we have || true. But it will work with git terminal.
@venkateshtumpuru44 ай бұрын
@@letcode Didn't get you, How to overcome that?
@cristhiamguerrero1700 Жыл бұрын
I am following the steps, but for some reason, the process never gets concluded, steps Passed, but I must need to press ctrl + C to conclude the process, no index Html file by the moment. no Error, what did I do wrong?
@cristhiamguerrero1700 Жыл бұрын
I could fix it.
@letcode Жыл бұрын
Great, what was the issue?
@cristhiamguerrero1700 Жыл бұрын
@@letcode a line duplicated in the hook file
@letcode Жыл бұрын
@ramkumars9378 r u using git bash?
@miguelmorgado3705 Жыл бұрын
Hi any news on how to fix the need to ctrl + c after the process conclusion?@ramkumars9378 @letcode
@educesportshubmusic8503 Жыл бұрын
How to add tike stamp... Each scenario time... Execution time?
@letcode Жыл бұрын
I guess that is shown by default.
@roharizwan41114 ай бұрын
i used || true in the script to generate the report when the test fails but i am getting below error: scenarios (1 failed, 1 passed) 3 steps (1 failed, 2 passed) 0m05.823s (executing steps: 0m04.891s) 'true' is not recognized as an internal or external command,operable program or batch file. I added exit 0 but still report is not generating
@letcode4 ай бұрын
What terminal r u using?
@roharizwan41114 ай бұрын
@@letcode i installed gitbash and tried to run the command npm test i am getting missing script error. in the windows terminal it is running.
@roharizwan41114 ай бұрын
i closed the vscode and opened it again . and ran the command and it is working .
@letcode4 ай бұрын
Pls share screenshot in discord, link should on the description or channel page.
@letcode4 ай бұрын
Great
@gautammanda0865 ай бұрын
How to generate allure report
@letcode5 ай бұрын
I haven't used allure with bdd playwright, I'll check
@AnjaliAnilKumar-q6b2 ай бұрын
@@letcode please share the video fast . It would help us a lot. Thank you
@bfrkovich Жыл бұрын
the sentence "cucumber-js test || true " does not recognize me
@letcode Жыл бұрын
Use git bash as terminal
@andrewpoganovsky4937 Жыл бұрын
Or another way, replace "true" with "exit 0", the line will look like this: "cucumber-js test || exit 0"
@csatheeshkumar42056 ай бұрын
Awesome.
@letcode6 ай бұрын
Thanks 😊
@Ashokkumar-uv4fs11 ай бұрын
Hi Koushik, i am getting this error ( page.goto: net::ERR_NAME_NOT_RESOLVED at ) while running in pipeline, how to resolve this
@letcode11 ай бұрын
Hi, Is the url is https?
@Ashokkumar-uv4fs11 ай бұрын
@@letcode if i use http also i am getting this error.
@Ashokkumar-uv4fs11 ай бұрын
Getting time out error while running in playwright.
@letcode11 ай бұрын
Not sure about it.
@shilpatiwari19397 ай бұрын
Hi Kaushik , thankyou for your videos. I need your help. I want to print proper data in console. I am not able to share screeshot here could you please share your email. I am trying to do coding for this but its not working.
@letcode7 ай бұрын
You can share in the discord, link is in the description and channel page.