GithubHelp home page GithubHelp logo

sauce's Introduction

SAUCEDEMO

Version 1.0.0

Automation test for https://www.saucedemo.com/ website with WDIO.

The tests were divided into 4 sections:

Login, Inventory, Cart and Checkout.

The tests show the process of logging in, adding products to the cart and complete the purchase of the products.


INSTALLING DEPENDENCIES.

npm install @wdio/cli

npx wdio config (local machine, Jasmine, sync, crhomedriver)

npm install @wdio/sync


LOGIN SECTION TESTS.

In this section the users provided by the saucedemo website were tested.

The testing in this section focuses on making sure that the users are able

to log in or not and, in case the credentials are incorrect, informing the user

through the correct message.


INVENTORY SECTION TESTS.

Once the user has successfully logged in, the Inventory page is displayed.

Here testing focuses on adding and removing items from the cart, checking menu

functionality, resetting added items to start a new cycle, and social media links.


CART SECTION TESTS.

In this section the tests focus on reviewing the items added to the cart.

Attempt to remove an item, try to go back to inventory and

add more items and then move on to the next section.


CHECKOUT SECTION TESTS.

Finally in this section, the tests focus on receiving the user's personal data, checking

if the amount to be paid is correct, the option to cancel the purchase and

the option to return to the inventory page once the purchase is completed.


Contributors


License & Copyright

© Vicenzo Mantilla.

sauce's People

Contributors

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