Cypress Beginner Tutorial 5 | 1st Test

Veröffentlicht am: 16 März 2021
auf dem Kanal: Automation Step by Step
87,529
699

Cypress Quiz - https://automationstepbystep.com/quiz...
Stories by Raghav - https://automationstepbystep.com/stor...
Hi, In this video we will create the first cypress test

Step 1 - Create a file under cypress > integration folder
Step 2 - At the top mention
/// <reference types="cypress" />
To write a test we need a test runner - mocha
mocha comes built-in with cypress
Step 3 - Write test function
it('login and navigate to homepage', () =>
cy.visit('https://google.com/'
})
Step 4 - Run test
npx cypress open

See what happens when you make any changes & save
"watchForFileChanges": true
cypress.json
Step 5 - Access elements

Join Automation Step By Step channel: https://www.youtube.com/automationste...
#CypressTutorial

Cypress Udemy Course - https://bit.ly/3wJAdjq
What is Cypress
Features of Cypress
How to setup Cypress project from scratch
Elements and Assertions
Cypress with JavaScript and TypeScript
Page Object Model
CLI
File Handling
Reporting
API Testing
Custom Commands
Cypress Dashboard
Cypress Studio
Git
Jenkins

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can

Never Stop Learning
Raghav
https://automationstepbystep.com/


Auf dieser Seite können Sie das Online-Video Cypress Beginner Tutorial 5 | 1st Test mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Automation Step by Step 16 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 87,529 Mal angesehen und es wurde von 699 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!