GithubHelp home page GithubHelp logo

automationpractise-playwright-typescript's Introduction

Global Automation Project

Description of the Test

Test website is: http://automationpractice.com/index.php
Test steps;

  • Add to the cart a Faded Short Sleeve T Shirt, size medium, colour blue (this product is called Faded Short Sleeve T-shirts and its price is $16.51)
  • Add to the cart an Evening Dress, size small, colour beige (this product is called Printed Dress and its price is $50.99)
  • Add to the cart a Printed Summer Dress, size medium, colour orange (this product is called Printed Summer Dress and its price is $28.98 with 5% discount)
  • Go to Checkout
  • Remove the Evening Dress from the cart
  • Add a second Faded Short Sleeve T Shirt of the same size and colour
  • Assert the total for each line in the cart
  • Assert the cart total is $64.00 (It is not $65.53, because one of the product has 5% discount)

Video of the test

video.webm

How to run the scenario?

You can run your tests with "npm test" on terminal, and you can choose the test you want to run on playwright.config file. Also, there are other scripts to run tests on package.json file.

How to run the scenario with GitHub Action?

There is also the GitHub action file. You can find it at workflows. With this CI/CD, you can run your test, which is defined on github.config file.

How to see the report of the test?

  • Write on terminal 'allure serve' to see the report.
  • Note: If you are using Windows, you should download allure from: 'https://docs.qameta.io/allure/', and go to environment variables then add to path.

Also, you can see reports on; playwright-report, test-results.json.

automationpractise-playwright-typescript's People

Contributors

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