Giter Site home page Giter Site logo

gavrilenkokate / webdriverio_tests Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 65 MB

Automated tests using WebDriverIO test framework for Node.js.

JavaScript 100.00%
webdriverio allure-reporter mocha selenium-standalone selenium regression-testing

webdriverio_tests's Introduction

Automation UI Tests

Features

WebdriverIO v6

Browser and mobile automation test framework for Node.js

Selenium Standalone Service

Helps to run Selenium seamlessly when running tests with the WDIO testrunner. It uses selenium-standalone NPM package that automatically sets up the standalone server and all required drivers.

Mocha Framework

Mocha is a JavaScript test framework running on Node.js and in the browser.

Page Object Pattern

Within web app's UI there are areas that tests interact with. A Page Object simply models these as objects within the test code. This reduces the amount of duplicated code and means that if the UI changes, the fix need only be applied in one place. In other words one of the challenges of writing test automation is keeping selectors (classes, id's, or xpath' etc.) up to date with the latest version of code. Instead of including our selectors in Spec file (Mocha), we place them in a .js file where we can manage all these selectors and methods together. We can also place reusable functions or logic inside of these pages and call them from your step files. The page object serves as a layer of abstraction between tests and code. When A test fails, it fails on a individual step. That step may call a selector that is no longer valid, but that selector may be used by many other steps. By having a single source of truth of what the selector is supposed to be, fixing one selector on the page object could repair a number of failing tests that were affected by the same selector.

Spec Reporter

Spec Reporter prints detailed results to console.

Allure Reporter

A WebdriverIO reporter plugin to create Allure Test Reports. The Allure Reporter creates Allure test reports which is an HTML generated website with all necessary information to debug your test results and take a look on error screenshots.

WebdriverIO

dsfdfdf

webdriverio_tests's People

Contributors

gavrilenkokate avatar

Watchers

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