Giter VIP home page Giter VIP logo

wizeline-challenge's Introduction

wizeline-challenge

This is my proposal for this wizeline challenge: https://www.wizeline.com/front-end-testing-automation-challenge/

I'm Using WebdriverIO with Javascrip implementing the following:

• The project is organized using Page Object Model (POM)

• All test cases must contains at least one assertion

• Meaningful validations

• Data provider for the test data.

• Test data reporter.

• Multi-browser testing.

HOW TO RUN:

prerequisites:

• nodeJS • npm • webdriverIO

To run the full Test Suite:

npx wdio wdio.conf.js --suite full

To run the just one Test:

npx wdio wdio.conf.js --spect TEST_CASE_NAME.js

To run multiple Tests:

npx wdio wdio.conf.js --spect TEST_CASE_NAME.js --spect TEST_CASE_NAME.js

HOW TO ENABLE MULTI BROWSER TESTTING:

By default webdriverio user chromedriver to run the tests. In order to anable the multi browser testing with firefox, run geckodriver in a new terminal:

./geckodriver --binary 'FIREFOX_PATH'

then run the Tests.

Also you can use Selenium-standalone to enable multi browser testing.

HOW TO GENERATE TESTS REPORTS:

By default WebdriverIO is using spec reporter in the commandline.

In order to generate Allure reports:

prerequisites: • allure-commandline • java

Run the command:

allure generate allure-results/ && allure open

wizeline-challenge's People

Contributors

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