Skip to content

Commit 253bef8

Browse files
author
rocketraccoon
committed
feat(testplane-docs): add docs for @testplane/testing-library
1 parent 046db31 commit 253bef8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/how-to-add-testing-library.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88

99
To be able to use [queries][queries] from `testing-library` in Testplane tests, you only need to follow a few steps.
1010

11-
1. Install the npm package `'@testing-library/webdriverio'`
11+
1. Install the npm package `@testplane/testing-library` (our adapter package for the original testing-library)
1212

1313
```bash
14-
npm i -D @testing-library/webdriverio
14+
npm i -D @testplane/testing-library
1515
```
1616

1717
2. Include it in the Testplane config in the `prepareBrowser` section:
1818

1919
```javascript
2020
// .testplane.conf.js
21-
const { setupBrowser } = require("@testing-library/webdriverio");
21+
const { setupBrowser } = require("@testplane/testing-library");
2222

2323
module.exports = {
2424
prepareBrowser(browser) {

0 commit comments

Comments
 (0)