Cypress (Web Testing Framework) Crash Course - 2021

  Рет қаралды 105,789

Laith Academy

Laith Academy

Күн бұрын

Testing can be a hard & tedious process. Cypress tries to alleviate the stress from the testings process and make it fun to do. This crash course will cover how to use it in great detail.
Second Channel:
/ @laiture123
GitHub Repo:
github.com/harblaith7/cypress...
Udemy Courses:
GraphQL - www.udemy.com/course/modern-g...
Timeline
0:00 - Intro
4:00 - Cypress Setup
19:12 - .get() Command
51:43 - .contains() Command
1:01:30 - .find() Command
1:04:57 - Our First Tests
1:22:08 - Writing More Tests
1:37:16 - Testing HTTP Requests & Mocks

Пікірлер: 110
@emmanuelehis1194
@emmanuelehis1194 3 жыл бұрын
Where have you been all my life?????? Your contents are exclusive. People barely talk much about stuff like this. Definitely leaving my notification on!! Great work man!
@techjandro
@techjandro 3 жыл бұрын
I just discovered your channel and I'm already obsessed, your content and way of explaining is just exceptional. Thank you!
@thru_and_thru
@thru_and_thru 2 жыл бұрын
Your content is amazing man, you have become one my favorite educators on youtube! Your channel deserves to blow up.
@user-xj2vc1qk6p
@user-xj2vc1qk6p Жыл бұрын
I was lucky to find your tutorials learning serverless, than was graphql and now cypress. You are my favorite teacher, thank you so much!
@tichouls5176
@tichouls5176 2 жыл бұрын
You, Sir, are an amazing content creator. I wish your channel skyrocks in 2022. You truly deserve it
@sarahharb6773
@sarahharb6773 2 жыл бұрын
Unreal information taught so well. Thank you for this Laith!
@stylesg7818
@stylesg7818 2 жыл бұрын
Thank you very much for your crash courses. Really great!!
@haminazku
@haminazku 2 жыл бұрын
Man, this was some high quality tutorial. Cheers!
@chetanjain4616
@chetanjain4616 2 жыл бұрын
this was probably the best cypress tutorial I have seen, found you through Net Ninja's video so big shout out for him as well
@anass6625
@anass6625 2 жыл бұрын
Great quality content, i truly appreciate your hard work
@mohamedlaraiche7319
@mohamedlaraiche7319 Жыл бұрын
by far one of the best content creator, i really like way you explain things. thanks lot :D
@mortamortute4191
@mortamortute4191 Жыл бұрын
Your course is exactly what I needed! So well structured, concrete, nicely explained and in appropriate pace, I really enjoyed it very much, thank you!! I am going to check right away if you have even more courses related to Cypress :)
@freivincampbell
@freivincampbell 2 жыл бұрын
Thanks so much for all that time invested in, this free course is much better even than paid one ... 🤓💻
@thebanishedone9182
@thebanishedone9182 2 жыл бұрын
I got a new job as a software tester at a company which uses cypress so I wanted to get some basic knowledge in it. Thanks man, your course helped me a lot!
@chandraadari2669
@chandraadari2669 2 жыл бұрын
Thanks a lot, looking forward to more advanced concepts.
@somebodyoverthere
@somebodyoverthere 2 жыл бұрын
This is the best tutorial I have EVER watched.
@adarshnair9846
@adarshnair9846 2 жыл бұрын
Beautiful crash course. Thank you!
@davidmulholland5450
@davidmulholland5450 2 жыл бұрын
This was great, thank you, you speak very clearly and it is explained very well.
@kwesigepi-attee1620
@kwesigepi-attee1620 2 жыл бұрын
Great tutorial..Best one I've seen so far and great example sites.
@nadavfriedman5934
@nadavfriedman5934 2 жыл бұрын
No doubts, Laith - you are one of the bests and your channel should be much more evaluated. Thx a lot , great content
@violaobrasileiro
@violaobrasileiro 2 жыл бұрын
Amazing course. Very well explained. Thank you!
@DC-xt1ry
@DC-xt1ry 2 жыл бұрын
Thx for sharing, and looking forward to the next level up!
@adittttya
@adittttya Жыл бұрын
Thanks mate! Was very easy and intuitive to follow along =D
@mfessal475
@mfessal475 Жыл бұрын
Oh my God! Does someone really teach like this on youtube. Your teaching skills are amazing. Thanks from the community.
@vasiliybutenko4378
@vasiliybutenko4378 3 жыл бұрын
Thank you for this awesome useful tutorial!
@Matrium0
@Matrium0 2 жыл бұрын
Awesome introduction- thank you!
@NeoCoding
@NeoCoding 2 жыл бұрын
always neat tuts thank you very much!
@allandacasin9041
@allandacasin9041 2 жыл бұрын
Thank you so much! Excellent content!
@kant859600
@kant859600 2 жыл бұрын
Great video man, congrats for the explanation, you do it very well. Just add a point in the async code. Sometimes we need more than 4 seconds for our code to be asserted, in those cases, we want to pass an option in get/contains/find command, which should be like this cy.contains("This Accomplisment was Successfully Submitted", { timeout: 10000 }).should("be.visible"); In this example, the test will still check for 10 seconds instead of only 4. Nice crash course man.
@agustinlavalla8892
@agustinlavalla8892 2 жыл бұрын
Wonderful introduction. Thanks so much!
@TheFilburt88
@TheFilburt88 Жыл бұрын
Excellent course, thanks a lot!
@user-zn5ky3fw5h
@user-zn5ky3fw5h 2 жыл бұрын
Wow, Laith, nice course, really enjoyed it, and cypress afterwards feels very nice tool to use in own projects) And of course, I totally agree that giraffe sound very offensive)
@abe10
@abe10 2 жыл бұрын
This was great. Thank You.
@MrVisheshsingh
@MrVisheshsingh 2 жыл бұрын
wow 🤩, thank you Laith!
@patrickc.6183
@patrickc.6183 3 жыл бұрын
Great explanations!
@cliffordowusuamponsah9532
@cliffordowusuamponsah9532 2 жыл бұрын
This video is terrific!😀
@markuspxpx
@markuspxpx 2 жыл бұрын
Thank you for all the knowledge
@bobera21000
@bobera21000 Жыл бұрын
Great work mate
@martygo
@martygo Жыл бұрын
Better content about Test end2end and cypress. Thanks for share with us.
@user-hm1nb6pu5k
@user-hm1nb6pu5k Жыл бұрын
Awesome, thank u very much for this
@sivaganesh4489
@sivaganesh4489 Жыл бұрын
Thanks a lot brother, everytiime i will learn something new from you
@RizaHariati
@RizaHariati Жыл бұрын
Thank you so much. And thank you for the Jest/React Test Library on NetNinja.
@AlirezaGarshasbi-kr1on
@AlirezaGarshasbi-kr1on Жыл бұрын
learnt alot. great content.
@darencee4858
@darencee4858 2 жыл бұрын
thanks you're amazing! 🙌 🙌
@jaimearriola1495
@jaimearriola1495 Жыл бұрын
The best course about cypress that I found in the internet and its free!! 😎wow!! it's pretty awesome. I ran into some issues but I was able to solve them 😄. Thanks so much for your great content!! Like and suscribe for you 😁😁
@magnata219
@magnata219 2 жыл бұрын
My god, such a perfect content that of yours, subscribed!! o/
@hiteshsuthar1097
@hiteshsuthar1097 2 жыл бұрын
I wish to watch all your content, just got suprised when i see it.
@mohamedyahya7463
@mohamedyahya7463 Жыл бұрын
thanks a lot ,really good job
@michalkotlicki4710
@michalkotlicki4710 2 жыл бұрын
This is giraffing awesome!
@eeebeltran5445
@eeebeltran5445 2 жыл бұрын
I love you bro, greetings from Chile :)
@sairaj5660
@sairaj5660 3 жыл бұрын
Yours is professional content
@gzhrk
@gzhrk 2 жыл бұрын
thank you so much , you are the best
@abhishekthakur9459
@abhishekthakur9459 2 жыл бұрын
Nice. Useful content 👍
@mahendranath2504
@mahendranath2504 2 жыл бұрын
Thank you so much 👍🏼🎉🙏❤️
@namng5422
@namng5422 2 жыл бұрын
how awesome channel !!
@mahendranath2504
@mahendranath2504 3 жыл бұрын
Thank you 👍🏼❤️
@brancode404
@brancode404 2 жыл бұрын
Love your channel Laith. Can you do Nuxt and Django Ecommerce and Portfolio Website with deployment?
@MuhammadBilal-cq6tp
@MuhammadBilal-cq6tp Жыл бұрын
Great content
@BjornOttenheim
@BjornOttenheim Жыл бұрын
Cool, cool cool!!
@Pingsmingu
@Pingsmingu 2 жыл бұрын
Very good content . Subscribed will watch all the videos . Thank you Can you do an example on conditional login in your test. Example: if i see grid being populated delete first and then add. If grid is empty to begin with then add content
@sabuein
@sabuein Жыл бұрын
Thank you.
@ibrahimmttreestruct
@ibrahimmttreestruct Жыл бұрын
I Like it 👍
@Rehankhan-qb9eb
@Rehankhan-qb9eb 2 жыл бұрын
Very good video. It will be very helpful if you post video about some real testing (authentication with google lets say with changed origin) and not this child level label span etc testing.
@filippetkovski9957
@filippetkovski9957 2 жыл бұрын
Great work. Can you please code a TDD app that is a bit more complex. Thumbs up!
@khattasallaman337
@khattasallaman337 Жыл бұрын
Thanks
@fabi8274
@fabi8274 Жыл бұрын
"this is terrific"
@Karan60191
@Karan60191 2 жыл бұрын
Ok I might be late in this party but surely I'm gonna subscribe , well explained video , thankyou :) +1 subscribe and notifications ✔
@SAMEERKHAN-nd7ti
@SAMEERKHAN-nd7ti 2 жыл бұрын
can you please make tutorial on same with typescript react app and its how to setup with typescript and cypress
@javapda
@javapda 2 жыл бұрын
what vscode packages do you use? specifically, to get vscode to recognize /// btw, great video - thank you
@batuhankir8402
@batuhankir8402 Жыл бұрын
great
@gurusoftware9110
@gurusoftware9110 2 жыл бұрын
Legends are not born.
@laithacademy
@laithacademy 2 жыл бұрын
Yes, exactly
@scally9341
@scally9341 Жыл бұрын
I wanted to watch this but without instructions on how to resolve the package problems in 2023, it's impossible for beginners to follow this tutorial. Probably this is expected, but just thought I'd put that out there.
@Culo91sija
@Culo91sija 2 жыл бұрын
Nice intro tutorial
@thiagocruz1149
@thiagocruz1149 Жыл бұрын
Hey buddy great explanation. I am just having some difficulties finding the locators.spec.js after creating it under the new folder e2e that I believe it replaced the integration one. However, I deleted the example folder as you also mentioned and everything I can see now when I start the project is nothing less than cypress saying "Create your first spec". Any help I can get I appreciate.
@Chron1cles31098
@Chron1cles31098 Жыл бұрын
You are the patrick jmt of Coding my friend.
@MeriiTV
@MeriiTV 2 жыл бұрын
Hello dude, first of all excellent cypress tutorial...I have some question for part of code its about "rewards.spec.js" - > should display a list of rewards with mock first time show me 3 stuff from "rewards.json" after second and third runing cypress showing me up all rewards. So my question is why this happen?
@shahbazahmed119
@shahbazahmed119 2 жыл бұрын
Thank you for such a content. but localhost:3000 its not running at my side. what's the error?
@spongebob93lover
@spongebob93lover Жыл бұрын
for those who have a problem starting the app, replace your start script with "react-scripts --openssl-legacy-provider start".
@lannguyen7460
@lannguyen7460 Жыл бұрын
😍😍😍
@wasimakram2935
@wasimakram2935 2 жыл бұрын
Hi Is there any other way apart from cy.reload() to reload the page Thanks in advancd
@kairunbee1914
@kairunbee1914 2 жыл бұрын
Hi is it possible in cypress to run 1. Specs file in parallel 2. It block in parallel
@ktw4071
@ktw4071 2 жыл бұрын
2:02:12 Just cuirous why this req.reply is getting caught in try & catch error ? You didn't set any statusCode (e.g 400), I doubt that req.reply() automatically sets POST response with 400. Any explanation?
@slavonnord3210
@slavonnord3210 2 жыл бұрын
Hi everyone If anyone knows how to open tests that are located outside integration foder
@shabnam7039
@shabnam7039 2 жыл бұрын
Hi all, any one knows how to login to application with Microsoft authenticator from cypress. I m having application which redirects to Microsoft authentication and then log into the application. Any comments?
@lkfranklin
@lkfranklin 11 ай бұрын
39:10 laith: zooming out actually makes it bigger.... that makes sense... i hope it makes sense.... viewers: not so much, laith! :D PIN IT.
@schwarzarbyter
@schwarzarbyter Жыл бұрын
i challenge you to dring a shot of booze every time he says "super"
@27sosite73
@27sosite73 Жыл бұрын
ahahahah n1, mate
@adedoyinharleem3433
@adedoyinharleem3433 2 жыл бұрын
@1:43:32 line 3 is not working because the asterisk ** are in reverse it should be "**/examples/*". Great tutorial. Easy to follow. Thank you
@sirping
@sirping 2 жыл бұрын
Really to Debug... What?
@andrijavranic5058
@andrijavranic5058 2 жыл бұрын
might learn not to confuse hyphen with "slash"! great job otherwise.,
@MrStefantoshkov
@MrStefantoshkov Жыл бұрын
min 46:36 not "SLASH" , it is called "HYGHPHEN"
@27sosite73
@27sosite73 Жыл бұрын
aahahahha n1
@ShashotoANur
@ShashotoANur 2 жыл бұрын
Everyone knows saying giraffe is offensive
@addicted2cookies
@addicted2cookies 2 жыл бұрын
is no one gonna mention that he always says "sy" instead of "cy" lmao
@ShashotoANur
@ShashotoANur 2 жыл бұрын
I was about to comment that
@lacis9546
@lacis9546 Жыл бұрын
Why, what's the difference? I'm asking to learn. Doesn't the beginning of cycle and psychology sound the same? saı-
@addicted2cookies
@addicted2cookies Жыл бұрын
@@lacis9546 its been a while since I last saw this video, but I believe I was referring to his spelling. You can see it for example at 30:14, where he says "sy" when instead he typed out "cy" in vscode. But yes, to answer your question, there is no difference between the pronunciation of cycle and psycology.
@lacis9546
@lacis9546 Жыл бұрын
@@addicted2cookies Thank you, addict ;)
@GAVIGHUMMAN
@GAVIGHUMMAN Жыл бұрын
this tutorial is quite outdated
@lkagan2000
@lkagan2000 2 жыл бұрын
16:12 Cypress 9.5.1 "ignoreTestFiles": ["**/1-getting-started/*", "**/2-advanced-examples/*"]
@tktutorialscom
@tktutorialscom Жыл бұрын
Any reason why you installed cypress as prod dependency? That was confusing for me, I did check later Cypress docs which states install it as dev dependency. But great work, thank you for the sharing
@andrewa5080
@andrewa5080 Жыл бұрын
Hi Laith, Thanks for the fantastic video. It’s a life saver and good introduction for me into Cypress Automation. I have 2 questions though, are you going to make an updated version with Cypress 10 since alot has changed in the framework naming and structure? Can you also share your email pls, I want to contact you directly. Thanks, Andrew
@zoehadwani1485
@zoehadwani1485 2 жыл бұрын
I am facing this error pass two days and still haven't found solution. need urgent help. Error: read ECONNRESET { errno: -4077, code: 'ECONNRESET', syscall: 'read' } Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:211:20) Thank you
@user-lm4ko1md6b
@user-lm4ko1md6b Жыл бұрын
$ npm start > client@0.1.0 start > react-scripts start node:internal/modules/cjs/loader:535 throw e; ^ Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in D:\Denys\cypress-crash-course\project-1 ode_modules\postcss-safe-parser ode_modules\postcss\package.json at new NodeError (node:internal/errors:393:5) at throwExportsNotFound (node:internal/modules/esm/resolve:358:9) at packageExportsResolve (node:internal/modules/esm/resolve:668:3) at resolveExports (node:internal/modules/cjs/loader:529:36) at Module._findPath (node:internal/modules/cjs/loader:569:31) at Module._resolveFilename (node:internal/modules/cjs/loader:981:27) at Module._load (node:internal/modules/cjs/loader:841:27) at Module.require (node:internal/modules/cjs/loader:1061:19) at require (node:internal/modules/cjs/helpers:103:18) at Object. (D:\Denys\cypress-crash-course\project-1 ode_modules\postcss-safe-parser\lib\safe-parser.js:1:17) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' } Node.js v18.12.0 Денис Литвин@LAPTOP-F9EB40EB MINGW64 /d/Denys/cypress-crash-course/project-1 (master) $ Why I have such problem after writting npm start? (I have written npm i)
@kruno25
@kruno25 6 ай бұрын
1.npm install -g npm@latest 2.npm cache clean --force 3.rm -rf node_modules rm package-lock.json OR Remove-Item -Recurse -Force node_modules, package-lock.json 4.npm install 5.npm audit fix --force
@helleyt1
@helleyt1 2 жыл бұрын
sy.get and data/cy almost did me in. lol
@mfessal475
@mfessal475 Жыл бұрын
Oh my God! Does someone really teach like this on youtube. Your teaching skills are amazing. Thanks from the community.
Cypress Patterns and Practices
1:17:37
Cypress.io
Рет қаралды 60 М.
Cypress Complete Beginners Masterclass 1 | Step by Step | Raghav Pal |
1:20:54
Automation Step by Step
Рет қаралды 185 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 115 МЛН
React Redux (with Hooks) Crash Course
48:00
Laith Academy
Рет қаралды 208 М.
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 474 М.
The Microfrontend Crash Course
57:27
Laith Academy
Рет қаралды 32 М.
Jest Crash Course - Learn How to Test your JavaScript Application
1:06:53
The Next.js 13 Bootcamp
2:11:30
Laith Academy
Рет қаралды 21 М.
The Pinia Crash Course
34:40
Laith Academy
Рет қаралды 15 М.
React Testing Crash Course
58:36
Traversy Media
Рет қаралды 313 М.
Learn Docker in 1 Hour | Full Docker Course for Beginners
1:27:53
JavaScript Mastery
Рет қаралды 277 М.
Kubernetes Course - Full Beginners Tutorial (Containerize Your Apps!)
2:58:01
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,3 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31