Testing Using Cypress And GitHub Actions: From Zero To Hero
Vložit
- čas přidán 11. 09. 2024
- This video creates a new project and adds a few default Cypress tests. Then it creates a repository on GitHub and runs the Cypress tests using Cypress GitHub Action. I then show how to debug a failed test using test artifacts stored on GitHub after each test run. Find the full source code at github.com/bah... and for more answers, use cypress.tips/s...
Very well explained, it's super easy for new guys in Cypress ,
I remember when i was trying to integrate Git Hub action I was totally confused with the online help about Git Hub action integration with Cypress ,
But today after watching your video i am feeling wish i could see this video before
The video was awesome and the explanation was easy to understand.
I'm new to Cypress and i had a lot of troubles to push to GitHub, but now I did it. Thanks for the video.
Thank you very much, my company that i work right now don't do any testing and whenever i go to another interview they always ask me about ci/cd and testing. So i am self studying about cypress right now. Your video is very helpful
Yup, also read glebbahmutov.com/blog/cypress-skills-ladder/
Very good explanation, straight to the point. Helped a lot
Well explained, it was great!
Hi Gelb, very nice vidoe and inspiration. Thx a lot for zour open source passion!!
Hi, could you please prepare similiar video but using Gitlab CI/CD?
Hej ja ci mogę pomóc
Hey Gleb, great hands-on explanation as always. One think - what's git done, never used it
It is one of my Git aliases, see glebbahmutov.com/blog/git-aliases/
@@gleb Thanks!
I think this isn't working for me, I have two folder in my repo which is client and server, and I created GitHub action on the root folder, when I ran it on push it always throw error, my problem how can I make it to only work on client folder
I am sorry it is not working for you. Can you read the Cypress github action documentation? Or set up a repo showing the problem and open an issue in the relevant github repo?
Hello sir thank you for the awesome video! ☺️ We currently have the same results summary as you have in this video at the moment. Is there a way to put like a passing rate on beside the passed, failed ones? Or an overall summary of all the runs like for example we have 1 feature file each job, and we have 6 jobs, total 100 test cases. How do we create a summary with 99 tests passed 1 test failed 99% pass rate something like that? 🙏
you mean you have several machines running the tests and need to combine the reports?
In a way yes. 1 workflow, 6 jobs, 6 feature files, 100 test cases total. Can we have one summary we can take a look for easier documentation? Contains pass rate, pass, failed numbers of 100TCs combined.
So you need a single report that merges results from the individual jobs (not from the previous jobs, that would be a historical test report portal), see glebbahmutov.com/blog/the-awesome-battle/
Thank you sir! ☺️ Lemme check it out
Legal! 👍
I have done all the steps u said but in Action not change Anything, can you help on this
Can you provide a lot more details?
thank you kind russian dude
I do what I can!
okay ty
@@gleb
Cool. What about gitLab from zero. Thanks
You can find pretty good examples for gitlab on Cypress site, plus unfortunately GitLab does not have reusable actions like github, making easy config more difficult
awoseme
ci.yml doesn't work
I don't know what "doesn't work mean", please provide details
not change anything in action
@@gleb