Coder Social home page Coder Social logo

foysal619 / basic-api-automation-testing-with-cypress Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 542 KB

This repository consists of Basic API Automation using Cypress, Mocha, and JavaScript. I have automated the admin login, get all user lists, and user creation for Customers, and deleted the recently created user. Finally, I have created a report for all the test cases using Mochawesome Report.

JavaScript 100.00%
api-automation api-automation-testing api-testing cypress javascript mocha-chai mochawsome

basic-api-automation-testing-with-cypress's Introduction

Basic-API-Automation-Testing-With-Cypress

This repository consists of Basic API Automation using Cypress, Mocha, and JavaScript. I have automated the admin login, get all user lists, and user creation for Customers, and deleted the recently created user. Finally, I have created a report for all the test cases using Mochawesome Report.

Assigned Work Scenario

  1. Do Login by admin
  2. Get all the user list
  3. Create a new user
  4. Delete the newly created user

How to run this project

  • Clone This project
  • open the cloned project in vs code
  • Type npm install in Terminal and Hit Enter
  • Then Hit the following command in terminal
 npx cypress run

Tools and Tech

  • JavaScript
  • VS Code
  • Chai Mocha
  • Cypress
  • Mocha Awsome report

Report Screenshots

image

Project Demonstration

UserLogin.cy.js.mp4
GetUserList.cy.js.mp4
CreateUser.cy.js.mp4
DeleteUser.cy.js.mp4
Basic-API-Automation-Testing-With-Cypress.mp4

basic-api-automation-testing-with-cypress's People

Contributors

foysal619 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.