Cypress for Beginners e2e Tests in Frontend Apps Erick Wendel

22,646 views

Erick Wendel

Published on Premiered Apr 9, 2024
About :

Cypress, one of the most popular tools in the world and incredible for testing web applications. Cypress For Beginners e2e Tests In Frontend Apps Erick Wendel In this video I will show you how to test a web application from the users' point of view, inserting values, clicking buttons, triggering keys and more. As a bonus, I will show you how to set up a continuous integration environment in GitHub Actions so that any change in the repository causes the test battery to validate whether the project continues to work. And to close, I prepared challenges for you to practice and apply everywhere in your work. So, let's see? ✅ TAJS METHOD ???? TAJS Opportunity: https://bit.ly/tajs-oportunidade0411 ✅ CLASS SOURCE CODE Application to be tested: https://github.com/ErickWendel/vanill... Full source code: https://bit.ly/cypress-for-begginers-... ✅ CHAPTERS 00:00 - What you will see in this video 00:43 - Why you should start creating automated tests today 01:09 - What you will see in this class 01:25 - Content tips on automated testing 01:55- Start of the demo 02:10 - Node.js version used in the project 02:20 - Get to know the base project repository 03:24 - Initializing a node.js project 04:11 - The test scenario specification file 04:48 - The challenge of this class 05:23 - Cypress version used and basic configuration 06:47 - Downloading the NTL to see the scripts in package.json 07:18 - Configuring e2e tests in cypress 09:05 - Adding configurations in cypress.config 10:41 - Testing the other script 12:00 - Defining the website url in the configuration 12:39 - Checking the specification and creating the test suites 15:26 - Interacting with the image form 17:48 - Creating the first test, to check title and URL 19:19 - Testing the changes 19:52 - Replicating the first test to the second test 20:25 - Using the Cypress execution timeline 20:56 - Creating the test for the submit click 21:45 - Validating if the fields are correct 22:28 - Functions of the Cypress to validate objects 23:04 - Testing changes and fixing tests 23:47 - How to inspect values ​​with debugger 24:51 - Replicating the test to validate the URL 25:26 - Validating the color of the input title (red for error and true for success) 27:54 - Fetching the color of the input title border 29:46 - Validating the border color field with assert 31:09 - Cleaning up localStorage, so one test doesn't dirty the other 32:00 - Adding a Github Action to run the project's tests with each git push 36:18 - Some details of the complete project 37:10 - Final considerations about this class 37:59 - Recording errors 38:24 - Subscribe to the channel and share this video!

Trend Videos
20:20
396,409 views   2 days ago
14:55
369,813 views   2 days ago
21:05
661,484 views   1 day ago
10:25
4,270,995 views   2 weeks ago
39:16
24:40
441,898 views   21 hours ago
24:40
441,898 views   21 hours ago
3:20
Google AdSense
336 x 280
Up Next
30:48
Emin San
82,249 views
11 months ago
47:33
16:54
Hunter Medya
2,077 views
5 days ago
27:09
Emin San
70,852 views
10 months ago
32:29
Emin San
119,219 views
9 months ago
35:49
Küçük Burjuvazi
909,885 views
1 year ago
41:19
29:55
Orkun Işıtmak
4,619,402 views
2 months ago
18:06
Emin San
127,532 views
1 year ago
26:12
Driven34
34,232 views
1 month ago
1:15:31
8:44
2:03:50
Claudia Sheinbaum Pardo
121,190 views
Streamed 2 hours ago
10:07:42
11:55:00
3:03:21
8:29:40
Ultramix TV
2,233 views
Streamed 12 days ago
Google AdSense
336 x 280

fetery.com. Copyright 2024