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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 6 additions & 4 deletions
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

Lines changed: 6 additions & 4 deletions
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

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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

0 commit comments

Comments
 (0)