Skip to content

Commit 74d20f3

Browse files
Update intro.md (#105)
1 parent c5d3b0a commit 74d20f3

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

versioned_docs/version-2x/intro.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,19 @@ Another feature is a locator alias expression like **'Wikipedia > Search Input'*
4343
In addition to the default features of Cucumber [config file](https://github.com/cucumber/cucumber-js/blob/main/docs/configuration.md#options) the **qavajs** config implements following [capabilities](https://github.com/qavajs/core/blob/main/src/IQavajsConfig.ts) to provide the advanced flexibility.
4444

4545
### Test execution
46-
If you have the basic config `npx qavajs` will launch test execution.
47-
To specify custom path to the config file use `npx qavajs run --config <config>`.
48-
In case if your config exports an object with multiple properties, you can specify which property to read `npx qavajs run --profile <profile>`.
46+
If you have the basic config
47+
```bash
48+
npx qavajs
49+
```
50+
will launch test execution.
51+
To specify custom path to the config file use
52+
```bash
53+
npx qavajs run --config <config>
54+
```
55+
In case if your config exports an object with multiple properties, you can specify which property to read
56+
```bash
57+
npx qavajs run --profile <profile>
58+
```
4959

5060
### Page object
5161
[Page object guide](./Guides/page-object.mdx)
@@ -104,7 +114,7 @@ Feature: Feature
104114
qavajs provides ability to shard your tests between different machines. To do so pass `--shard x/y` parameter in CLI,
105115
where x - current shard, y - total number of shards.
106116

107-
```
117+
```bash
108118
npx qavajs run --config config.js --shard 1/2
109119
npx qavajs run --config config.js --shard 2/2
110120
```

0 commit comments

Comments
 (0)