Thankyou Gleb, Please do update the Split repo frequently upon Cypress updates, We are heavily dependant on the Split plugin, Thankyou So So So much, we reduced 45+mins tests into 20 mins
hello, is it possible to split based on folders, not based on the number of files, for example, in the e2e folder there are two folders, folder A and folder B, can you split folder A and folder B, so when you run the cypress script the split is based on the folder name, not based on the number of files like in the video
hey Gleb, Thanks for the tip. I use the plugin on bitbucket file but i keep getting "cypress encountered an error while parsing the argument --env". could you please help ?
Thankyou Gleb, i have to automate the parallel testing using Spec duration, i have followed your steps, seems , when i check in the gitlab, all the spec file is running in one instance, there are not splitting in to 3 part , in 3part all the spec are running.
@@abus-x8u Successfully executed with cypress split , 40 minute's of pipeline execution reduce to 12 - 13 minute's Thankyou so much for the wonderful video
I am trying cypress with cucumber framework, ,, feature file scenario is tagged with different group and i need implement parallel execution in such a way that, the test case within a group should execute test in sequentially and test case accross group need to execute parallely. And the each thread has different login credential.Whether it is possible. Any suggestion? Thank you...
@gleb Sorry, I can not share the current repo which I have due to security issues. Whether it is possible achieve the above without using cypress-split plugin. Any sugestions? Thank you
@@sbjeetham it is possible I’m sure but I can’t say more than “try reading the readme or look if this example is covered in the cypress-split course” if you don’t give me an example to help with. Even if you have to make a small public repo
Hi Gleb, great video, but what about the total time taken to run the test job on 2 machines, it is only slightly less than running on single machine, total time has not reduced much
Because when you use short tiny specs the overhead of launching the machines, installation or restoring cache and running specs is dominant. In a real tests the overhead would be a much smaller percentage of the total and the savings would be significant.
@@gleb okay, thanks Gleb, one more question, I want to run specs from only 1 folder and not all folder, so split plugin should only split specs from that one folder only, what is the way to do that?
@@gleb I'm interested in buying the course however saw that split plugin hasn't been listed as a trusted or official plugin by cypress community, what should I do about that?
@@marianrys316I did not mean to be rude. Just trying to teach everyone: if you have a question then provable the same question was asked before and I put an answer somewhere public like README or cypress.tips
Thankyou Gleb, Please do update the Split repo frequently upon Cypress updates, We are heavily dependant on the Split plugin, Thankyou So So So much, we reduced 45+mins tests into 20 mins
There is Renovate set up there, so it keeps testing and upgrading it
Priceless! Thank you for sharing
hello, is it possible to split based on folders, not based on the number of files, for example, in the e2e folder there are two folders, folder A and folder B, can you split folder A and folder B, so when you run the cypress script the split is based on the folder name, not based on the number of files like in the video
Hey Gleb, this is great. Does the plugin create reports and link to test screenshots and videos?
No, but you can do it easily via github.com/bahmutov/cypress-workflows
Does this work on Azure Pipelines and Teamcity?
hey Gleb, Thanks for the tip. I use the plugin on bitbucket file but i keep getting "cypress encountered an error while parsing the argument --env". could you please help ?
Can you open an issue in github.com/bahmutov/cypress-split with details
Hey Gleb, am using Jenkins for CI/CD, does this plug-in supports jenkins. and can i run multiple threads of specs in the same machine?
The README has the example. I would not run multiple instances on the same machine without isolation (Docker)
@@gleb Thanks for the timely response, but is it possible to run multiple instances (thread)on the same machine?
Thankyou Gleb, i have to automate the parallel testing using Spec duration, i have followed your steps, seems , when i check in the gitlab, all the spec file is running in one instance, there are not splitting in to 3 part , in 3part all the spec are running.
Please turn on debug logs to see how it finds the specs and decides to split the specs github.com/bahmutov/cypress-split?tab=readme-ov-file#debugging
hey man any luck?
@@abus-x8u Successfully executed with cypress split , 40 minute's of pipeline execution reduce to 12 - 13 minute's
Thankyou so much for the wonderful video
Hi Gleb, can we use cypress-aplit when running tests locally?
Not really, maybe with Docker containers
I am trying cypress with cucumber framework, ,, feature file scenario is tagged with different group and i need implement parallel execution in such a way that, the test case within a group should execute test in sequentially and test case accross group need to execute parallely. And the each thread has different login credential.Whether it is possible. Any suggestion?
Thank you...
Sure it is possible. Give me an example repo and I might add a lesson showing how to do it to my cypress-split course
@gleb Sorry, I can not share the current repo which I have due to security issues. Whether it is possible achieve the above without using cypress-split plugin. Any sugestions? Thank you
@@sbjeetham it is possible I’m sure but I can’t say more than “try reading the readme or look if this example is covered in the cypress-split course” if you don’t give me an example to help with. Even if you have to make a small public repo
Great, does this plugin supports bamboo?
I would check the plugin's README, I am sure one can use it for Bamboo github.com/bahmutov/cypress-split?tab=readme-ov-file
Hi Gleb, great video, but what about the total time taken to run the test job on 2 machines, it is only slightly less than running on single machine, total time has not reduced much
Because when you use short tiny specs the overhead of launching the machines, installation or restoring cache and running specs is dominant. In a real tests the overhead would be a much smaller percentage of the total and the savings would be significant.
@@gleb okay, thanks Gleb, one more question, I want to run specs from only 1 folder and not all folder, so split plugin should only split specs from that one folder only, what is the way to do that?
Certainly, I even have a lesson about it in my course cypress.tips/courses/cypress-split
@@gleb I'm interested in buying the course however saw that split plugin hasn't been listed as a trusted or official plugin by cypress community, what should I do about that?
I stopped adding my plugins to the official list after they rejected cypress-data-session plugin due to its name. So the official page does not matter
Hi Glab.
I would like to understand how can I use a similar strategy for teamcity
Look at the README for cypress-split. To help any more I would need access to a TeamCity instance
@@gleb I will take a look and try for my own. If I need further clarifications I contact you
Does it work wirh different platform e.g.: azure or gitlab?
What does the README say?
@@gleb there is no need to be rude. simple information, that partial answer is written is in the readme file would be enough.
@@marianrys316I did not mean to be rude. Just trying to teach everyone: if you have a question then provable the same question was asked before and I put an answer somewhere public like README or cypress.tips
will it work for google cloud build as well?
Can you run parallel machines there? If yes, then it should be possible to split the specs across N machines
Is it possible to setup this on Azure?
Yes, I have a lesson showing how to do it on Azure cypress.tips/courses/cypress-split