Giter Site home page Giter Site logo

automation-test's Introduction

Instructions


First, an quickly overview of app, if a simple api searching for TV shows, the main objetive is a litle form with a search box, when the button search is pressed redirect to another page with result.

Important: You need to create a fork of this project to solve the exercise

Run app

npm i

npm run dev

Access to http://localhost:3000/shows

Steps to-do in test

1- Configure Jest in application and make unit test for:

  • Search box is empty and button search is pressed
  • Search without query not work well
  • Search results show a list of items
  • Validate that image is not showed when image values is null

2- Configure Selenium or Cypress and make the following workflow:

  • Open browser in http://localhost:3000/shows
  • Enter a text in search box with text batman
  • Press button search
  • Navigate to the url that is show in second card of results
  • Navigate back using browser features
  • Change css background color to #4a148c to card with title Batman Unlimited
  • Press back button
  • Make sure that input for search is empty

automation-test's People

Contributors

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