GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TsypliakAlexandr/Cypress-Simple-Example: UI and API automated tests examples using Cypress

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
cypress
cypress
 
 
.gitignore
.gitignore
 
 
cypress.config.js
cypress.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
readme.md
readme.md
 
 

Repository files navigation

Cypress for QA

Introduction

This page contains guide on using Cypress for UI and API testing for the first time.

Bellow considering example of Windows 10 with preintallled:

  • NodeJS v18.14.2
  • Chrome Version 124.0.6367.119
  • Visual Studio Code 1.77.3 (no additional plugins required)

Run commands listed bellow in CMD in the location of project.

Option 1: Use this repository as template

  1. Clone repository using GitBash:
git clone https://github.com/TsypliakAlexandr/Cypress-Simple-Example.git
  1. Intall dependencies:
npm install

Option 2: Create Cypress project from scratch

  1. Create new NodeJS project:
npm init
  1. Install Cypress:
npm install cypress --save-dev

The demo

  1. Open Cypress in browser to run your tests:
npx cypress open
  1. Choose E2E testing option
  2. Choose Chrome as browser
  3. Use Chrome UI of Cypress, go to Specs run independent case for UI and API
  4. Open folder with repository using Visual Studio Code, find tests implementation in "cypress\e2e" folder

References

  • Handling variables in Cypress
  • Interacting with web UI elements in Cypress
  • Interacting with API via Cypress

About

UI and API automated tests examples using Cypress

Topics

cypresscypress-apicypress-examplecypress-ui

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.