Giter Site home page Giter Site logo

plan-a-assignment's Introduction

Plan-A-Assignment

  • Clone the project in local directory from github
  • Open console with the path to your project folder
  • Run command "npm install" in your console to install all dependencies
  • After installing the depedencies run command (npx cypress open) Or (npm run test) to run the tests.

Test Case Strategy:

  • I have divided my test cases to different files to make them indepedent of each other.

  • You can find helpers files in the helpers folder, which I have used to write reusable functions in test cases files.

  • I have made data.json file and selector.json files separately in Fixtures folder to increase reusability and reduce overwork if somehing is changed in future.

  • I have kept the test cases simple and tried to put as much assertions as I can for given scenerios.

  • The API test cases are flaky for now, as per requirement we had to use the data dynamically from previous call. So for methane the test case is running fine, but for rest it is giving time out, because API has to fetch a lot of data for the time interval we are getting from data-range Api.

plan-a-assignment's People

Contributors

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