Git Product home page Git Product logo

shubhamverma94 / hack2skill-assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15.49 MB

Hack2Skill company has assigned the task of automating the "Broken Images" and "File-Upload" functionalities. I have used two types of automation: POM (Page Object Model) with Cypress for both tasks and BDD (Behavior-Driven Development) with Cucumber for both tasks. Additionally, Mochawesome Report is used to generate detailed test reports.

JavaScript 48.92% Gherkin 3.39% HTML 47.69%
bdd-framework cucumber cypress mocha mochawesome netlify

hack2skill-assignment's Introduction

✨Hack2Skill Assignment✨
H2S


Tasks :- 🚀

❓ # Access http://the-internet.herokuapp.com/broken_images, validate if there are broken images. 🖥️

❓ # Access http://the-internet.herokuapp.com/upload and try uploading any file 🖥️


💡 REPORT 📝: Mochawesome Report ✍️

Screenshot 2023-07-19 030655

Screenshot 2023-07-19 030710


💫Tech & Tools Used :

Cypress , BDD-Cucumber , Mochawesome Report


Setup 🚀

Steps to run the project locally:-

  1. Clone the code from GitHub
  2. If Run POM - {"specPattern": "cypress/integration/herokuapp/*.js"} in "cypress.config.js"

or

  1. If Run BDD Cucumber - {"specPattern": "cypress/UAT/features/*.{js,feature}"} in "cypress.config.js"
  2. Run '.\node_modules\.bin\cypress open'
  3. 🖥️ !

🌟 Enjoy testing with Cypress and BDD-Cucumber! 🌟

✨Thank You✨

hack2skill-assignment's People

Contributors

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