Giter Club home page Giter Club logo

sat-page's Introduction

SAT Page Simple Availability Dates Check

This is a small piece of code for an automation testing challenge requesting to validate if there are any dates available for the following request: URL: https://citas.sat.gob.mx/citasat/agregarcita.aspx "Yucatán -> Módulo Yucatán/ADSC Yucatán "1" -> e.firma de Personas Físicas"

It is requested to display the days available and not available and also grab a screenshot of the calendar displayed.

One basic test is present in this code:

  1. Validate the number of days available is greater than 0.

This is a work expected to be improved implementing page objects and parameters configurable in a separate data file. Also, it is expected to add more test cases to the program

Code style

JS Standard was used as coding style

Tech/framework used

  • Mocha
  • Chai

Installation

  • npm install @antiadmin/anticaptchaofficial
  • AntiCaptcha USER KEY to be added to test/sat.js file

How to use?

  • Add the Anticaptcha USER KEY to test/sat.js file
  • npm test

Credits

The amazing @antiadmin/anticaptchaofficial library that helped me to solve this anticaptcha problem

Luis Cardeña

sat-page's People

Contributors

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