Code Monkey home page Code Monkey logo

qa-web-template's Introduction

Introduction

The goal is to test www.etsy.com using the template provided on https://github.com/soap6gal/qa-web-template.

The tasks are:

  1. To implement the remaining two scenarios tagged as @wip in the search.feature file. The first two scenarios have been implemented to serve as examples of implementing the tests via Page Object and Screenplay patterns. Candidates may use either pattern and modify the framework as they see fit.
  2. To write and implement a few more BDD scenarios for UI and API tests to demonstrate candidates understanding of what scenarios are best for UI and what scenarios are best for API tests. Tips: Refer to Reference #2 for API tests.
  3. Good to have but not required: How to run the tests in parallel, with batch strategy, etc.
  4. Any other improvements / suggestions.

Candidates are encouraged to use the given framework but welcome to use their own framework (in Java/Javascript) however clear instructions on how to use and run the tests and why the framework is better should also be provided.

References:

  1. http://serenity-bdd.info/docs/serenity/
  2. https://github.com/rest-assured/rest-assured/wiki/Usage

Tips:

  1. Try not to hard-code any locator and driver paths ;)

How to customize this project

Edit serenity.properties to make changes specific to your needs.

Running tests

To run all tests, run the command below:

$ gradle clean test aggregate

To run scenarios tagged as pageobject OR screenplay on Chrome:

$ gradle clean test aggregate -Dwebdriver.driver=chrome -Dcucumber.options="--tags @pageobject,@screenplay"

To run scenarios tagged as ui AND NOT wip on Safari: $ gradle clean test aggregate -Dwebdriver.driver=safari -Dwebdriver.base.url=http://abc.com -Dcucumber.options="--tags @ui --tags ~@wip"

Reporting

View the report at target/site/serenity/index.html

qa-web-template's People

Contributors

vikramvi avatar

Stargazers

Vladimir Z. avatar

Watchers

James Cloos 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.