Giter Site home page Giter Site logo

mbio_test's Introduction

Javascript - Tests for MB.IO

Repository with exercise on automated tests for MB.io using Playwright.

For this project, the following stack was used

  • JavaScript
  • Docker
  • Playwright

Pre-requisites

Node.js

Make sure to have the correct Node version installed, which can be found in the .nvmrc file in the repository root.

Yarn

The project also uses Yarn, if you don't have one, please follow the installation steps.

To run using Docker

  • Perform all the tests on the container docker-compose up
  • To perform the tests one by one using the docker build: docker-compose up -d
  • To teardown docker-compose down

Running locally

  • Install dependencies: yarn install
  • Run End-to-end tests: yarn test:e2e
  • Run End-to-end tests with HTML report: yarn test:e2e:html

Mandatory Steps

  • Open the Mercedes-Benz Shop used cars in the Australian market.
  • Fullfil the dialog input data
  • Click on the filter icon
  • Select Pre-Owned Tab
  • Select to filter by Colour
  • Navigate to the Vehicle Details of the most expensive car on the filtered results.
  • Save the following car details to a file: VIN number Model Year
  • In the side vehicle details click “Enquire Now”
  • Fill in the “Contact Details and Account Creation” form with invalid data. (e.g. with an invalid email format)
  • Click "Proceed" and validate the error.

image


License

License

mbio_test's People

Contributors

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