Skip to content

Commit 1d1896e

Browse files
fixed installation scripts for standalone playwright and cypress (#82)
1 parent 5f992cf commit 1d1896e

19 files changed

+69
-31
lines changed

docs/Formatters/console-formatter.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ sidebar_position: 2
77
Console formatter for cucumber framework
88

99
## Installation
10-
`npm install @qavajs/console-formatter`
10+
```
11+
npm install @qavajs/console-formatter
12+
```
1113

1214
## Configuration
1315
To use formatter just add formatter section in config file

docs/Formatters/html-formatter.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ sidebar_position: 4
77
Single file HTML formatter for cucumber framework
88

99
## Installation
10-
`npm install @qavajs/html-formatter`
10+
```
11+
npm install @qavajs/html-formatter
12+
```
1113

1214
## Configuration
1315
Add to formatter section in config file

docs/Formatters/report-portal.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 1
66
This package is formatter for EPAM report portal
77

88
## Install
9-
`npm install @qavajs/format-report-portal`
9+
```
10+
npm install @qavajs/format-report-portal
11+
```
1012

1113
## Configuration
1214

docs/Formatters/xray-formatter.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ sidebar_position: 5
77
Jira Xray formatter for cucumber framework
88

99
## Installation
10-
`npm install @qavajs/xray-formatter`
10+
```
11+
npm install @qavajs/xray-formatter
12+
```
1113
1214
## Configuration
1315
Add to format section in config file

docs/Modules/soft-assertion.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 2
66
Module that allow to use soft asserts in qavajs tests
77

88
## Installation
9-
`npm install @qavajs/soft-assertion`
9+
```shell
10+
npm install @qavajs/soft-assertion
11+
```
1012

1113
## Usage
1214

docs/Modules/template.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ sidebar_position: 1
55
# @qavajs/template
66
Module that allow to define step definitions on Gherkin language.
77
## Installation
8-
`npm install @qavajs/template`
8+
```shell
9+
npm install @qavajs/template
10+
```
911
## Configuration
1012
To use templates their location need to be passed to templates property of config file and library need to be listed
1113
in require

docs/StandaloneSolutions/cypress.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ qavajs implementation on top of cypress runner
66

77
## Installation
88

9-
`npm install cypress`
10-
11-
`npm install @qavajs/cypress-runner-adapter`
9+
```
10+
npm install cypress
11+
```
1212

13-
`npm install @qavajs/cypress`
13+
```
14+
npm install @qavajs/cypress @qavajs/cypress-runner-adapter @qavajs/memory @qavajs/po-cypress
15+
```
1416

1517
## Configuration
1618
cypress.config.js

docs/StandaloneSolutions/playwright.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ qavajs implementation on top of playwright runner
66

77
## Installation
88

9-
`npm init playwright`
9+
```shell
10+
npm init playwright
11+
```
1012

11-
`npm install @qavajs/playwright-runner-adapter`
12-
13-
`npm install @qavajs/playwright`
13+
```shell
14+
npm install @cucumber/cucumber @qavajs/playwright @qavajs/playwright-runner-adapter @qavajs/memory @qavajs/po-playwright
15+
```
1416

1517
## Configuration
1618
cucumber.ts

docs/Steps/accessibility.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Steps to perform accessibility checks using axe library.
77
Library can work on top of playwright and webdriverio drivers
88

99
## Installation
10-
`npm install @qavajs/steps-accessibility`
10+
```
11+
npm install @qavajs/steps-accessibility
12+
```
1113

1214
## Config
1315
```javascript

docs/Steps/api.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 3
66
Step library to work with API
77

88
## Installation
9-
`npm install @qavajs/steps-api`
9+
```
10+
npm install @qavajs/steps-api
11+
```
1012

1113
## Configuration
1214
```javascript

docs/Steps/files.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 5
66
Step library to work with file system
77

88
## Installation
9-
`npm install @qavajs/steps-files`
9+
```
10+
npm install @qavajs/steps-files
11+
```
1012

1113
## Configuration
1214
```javascript

docs/Steps/gmail.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 8
66
Step library to test emails via gmail client
77

88
## Installation
9-
`npm install @qavajs/steps-gmail`
9+
```
10+
npm install @qavajs/steps-gmail
11+
```
1012

1113
## Configuration
1214
```javascript

docs/Steps/lighthouse.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Steps to perform lighthouse audit.
77
Library can work on top of playwright and webdriverio drivers
88

99
## Installation
10-
`npm install @qavajs/steps-lighthouse`
10+
```
11+
npm install @qavajs/steps-lighthouse
12+
```
1113

1214
## Configuration
1315
```javascript

docs/Steps/memory.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ sidebar_position: 4
55
# @qavajs/steps-memory
66
Steps to work with memory module
77
## Installation
8-
`npm install @qavajs/steps-memory`
8+
```
9+
npm install @qavajs/steps-memory
10+
```
911

1012
## Configuration
1113
```javascript

docs/Steps/playwright.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ sidebar_position: 2
55
# @qavajs/steps-playwright
66
Step library to work with playwright using DSL page object
77
## Installation
8-
`npm install @qavajs/steps-playwright`
8+
```
9+
npm install @qavajs/steps-playwright
10+
```
911
## Configuration
1012
Playwright steps provide a couple of additional configuration properties
1113

docs/Steps/sql.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ sidebar_position: 6
66
Step library to work with relational databases
77

88
## Installation
9-
`npm install @qavajs/steps-sql`
9+
```
10+
npm install @qavajs/steps-sql
11+
```
1012

1113
## Configuration
1214
```javascript

docs/Steps/visual-testing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Step library to perform visual testing using pixelmatch library
77

88
## Installation
99

10-
`npm install @qavajs/steps-visual-testing`
10+
```
11+
npm install @qavajs/steps-visual-testing
12+
```
1113

1214
## Configuration
1315
```javascript

docs/Steps/wdio.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ sidebar_position: 1
55
# @qavajs/steps-wdio
66
Step library to work with webdriverio using DSL page object
77
## Installation
8-
`npm install @qavajs/steps-wdio`
8+
```
9+
npm install @qavajs/steps-wdio
10+
```
911
## Configuration
10-
Wdio steps provide a couple of additional configuration properties
12+
wdio steps provide additional configuration properties
1113

1214
| Name | Type | Description | Default |
1315
|--------------|----------|---------------------------------------------------------------------------------|---------|

package-lock.json

+8-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)