An open API service indexing awesome lists of open source software.

https://github.com/testing-library/webdriverio-testing-library

🕷️ Simple and complete WebdriverIO DOM testing utilities that encourage good testing practices.
https://github.com/testing-library/webdriverio-testing-library

dom-testing-library e2e testing webdriverio

Last synced: 7 months ago
JSON representation

🕷️ Simple and complete WebdriverIO DOM testing utilities that encourage good testing practices.

Awesome Lists containing this project

README

          


webdriverio-testing-library


spider

WebdriverIO utilities that encourage good testing practices laid down by dom-testing-library.

Based heavily on the great work on nightwatch-testing-library


[![Build Status][build-badge]][build]
[![version][version-badge]][package]
[![MIT License][license-badge]][license]
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[![PRs Welcome][prs-badge]][prs]
[![Code of Conduct][coc-badge]][coc]



TestingJavaScript.com Learn the smart, efficient way to test any JavaScript application.

## The problem

You want to use [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your [webdriverio][webdriverio] tests.

## This solution

Based heavily on [nightwatch-testing-library][nightwatch-testing-library]

This allows you to use all the useful [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your tests.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Other Solutions](#other-solutions)
- [LICENSE](#license)

## Installation

This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's `devDependencies`:

```
npm install --save-dev @testing-library/webdriverio
```

## Usage

[Usage Docs](https://testing-library.com/docs/webdriverio-testing-library/intro)

## Other Solutions

I'm not aware of any, if you are please [make a pull request][prs] and add it
here!

## LICENSE

MIT

[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[build-badge]: https://github.com/testing-library/webdriverio-testing-library/workflows/webdriverio-testing-library/badge.svg
[build]: https://github.com/testing-library/webdriverio-testing-library/actions?query=branch%3Amain+workflow%3Awebdriverio-testing-library
[version-badge]: https://img.shields.io/npm/v/@testing-library/webdriverio.svg?style=flat-square
[package]: https://www.npmjs.com/package/@testing-library/webdriverio
[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/webdriverio.svg?style=flat-square
[npmtrends]: http://www.npmtrends.com/@testing-library/webdriverio
[license-badge]: https://img.shields.io/npm/l/@testing-library/webdriverio.svg?style=flat-square
[license]: https://github.com/testing-library/webdriverio-testing-library/blob/main/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://github.com/testing-library/webdriverio-testing-library/blob/main/other/CODE_OF_CONDUCT.md
[dom-testing-library]: https://github.com/testing-library/dom-testing-library
[webdriverio]: https://webdriver.io/
[nightwatch-testing-library]: https://github.com/testing-library/nightwatch-testing-library