/QA-Technical

Primary LanguageJavaScript

QA-Technical-test

What is Cypress?

Cypress is a Javascript End to End testing framework.

Installing

npm install cypress --save-dev

Opening Cypress

./node_modules/.bin/cypress open

Running Tests

  1. ./node_modules/.bin/cypress run
  2. $(npm bin)/cypress run
  3. npx cypress run (requires npm@5.2.0 or greater)

Running individual test

cypress run --spec "cypress/integration/examples/test1.spec.js"

Running tests in a browser (e.g. chrome)

cypress run --spec "cypress/integration/examples/test1.spec.js" -b chrome

Other Instructions regarding the Technical Test

  • I tried to finish this project as I have time constraint and managing a UAT and Live release during the week and the coming next week.

  • I think I could have done better in different ways or with different languages

  • My other work that I've been practising and doing some work in my free time: https://github.com/khana25/

Many Thanks for giving me the opportunity and considering me for the role