Giter VIP home page Giter VIP logo

du-assessment's Introduction

Assessment


This repo contains e2e tests for a portion on Saucedemo website written in Cypress with Typescript

Test Setup

Installations You need to have Node.js installed before using Cypress. Typescript, and Cucumber dependenies must be installed as well

Run Tests The test can be run in GUI mode Run npx cypress open --e2e to launch Cypress and select desired browser

Tools, Framework and Liberaries Used


Framework: Cypress

Any IDE that support JAVASCRIPT can be used, VS code is light weight and easy to use. Thus it is recommeneded.

Framework Version: 9.7.0 Supporting Language: Javascript

Supporting Libraries:

Node.js (12 or Higher) Cypress Fill Command [https://www.npmjs.com/package/cypress-fill-command#installation] cypress-cucumber-preprocessor [https://www.npmjs.com/package/cypress-cucumber-preprocessor#installation]

Local Setup

After cloning this repo to the local machine, open a terminal inside the project then execute to install from the <package.json file>.

Supported Browsers

The following are the supported browsers as of this version; 10.0.0


  • Chrome
  • Edge
  • Electron (default)
  • Firefox

Getting Started

Clone the code from thr repository address with 'git clone https://github.com/abumumin/RedAcre.git' Navigate into the repository after successfully cloning it and and launch the IDE. Run 'npm i' or 'npm install' to install all the dependencies. you can equally run 'npm ci' if you want to run a clean install from the package-lock.json instead. The easier option is 'npm install'. Open terminal and run the code with 'npm run headless-chrome' to run the script.

Script Focus: What Does The Script Do?

The following activities were carried out on the Script


  • Launch web url
  • Login
  • View inventory
  • Filter inventory page
  • Add product to cart
  • View cart
  • Remove Item from cart
  • Checkout
  • Logout

du-assessment's People

Contributors

abumumin 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.