cvenkatreddy / taf-favqs-api

A sample framework created using cypress, javascript and docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

taf-favqs-api

A sample framework created using cypress, javascript and docker

Pre-requisite Tools

  1. Node version 12 or above
  2. Visual Studio Code

Quickstart

You know setting up framework is very quick!

  1. npm install

set env vars in cypress.config.js

  1. go to cypress.config.js file
  2. set baseurl, apiKey, login and password

Dashboard execution

  1. Go to project root,
  2. npx cypress open or npm run cy:open
  3. click specific feature

cmmd line Execution

  1. npm run cy:run # for a full run
  2. npm run dev-cy:run # for a full run on dev environment, need to change baseUrls accordingly

and refer to more other npm scripts added in package.json

Docker Execution

  1. Download and install Docker

  2. Go to project root and run command docker build -t cypress .

About

A sample framework created using cypress, javascript and docker


Languages

Language:JavaScript 96.1%Language:Dockerfile 3.9%