@tramvai/test-puppeteer 1.46.7 → 1.46.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Tramvai test puppeteer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Set of helpers for using [puppeteer](https://github.com/puppeteer/puppeteer) in the integration tests
|
|
4
4
|
|
|
5
|
-
>
|
|
5
|
+
> `puppeter` should be installed separately
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npm i --save-dev @tramvai/test-puppeteer
|
|
@@ -12,9 +12,9 @@ npm i --save-dev @tramvai/test-puppeteer
|
|
|
12
12
|
|
|
13
13
|
## How To
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Tests in browser
|
|
16
16
|
|
|
17
|
-
`Puppeteer`
|
|
17
|
+
`Puppeteer` runs tests in headless Chrome browser, documentation can be found on [official site](https://pptr.dev/)
|
|
18
18
|
|
|
19
19
|
```ts
|
|
20
20
|
import { startCli } from '@tramvai/test-integration';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-puppeteer",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@tinkoff/utils": "^2.1.2",
|
|
22
|
-
"@tramvai/tokens-router": "1.46.
|
|
22
|
+
"@tramvai/tokens-router": "1.46.8",
|
|
23
23
|
"console-with-style": "^1.1.0",
|
|
24
24
|
"supports-color": "8.1.1",
|
|
25
25
|
"tslib": "^2.0.3"
|