Skip to content

Commit

Permalink
Merge branch 'docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Oct 10, 2024
2 parents d6938e2 + a544bbc commit 79bec38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reporters/cucumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default defineConfig({

To view trace by click, you should open HTML report on `http(s)://` schema, not on `file://`. To achieve that on local machine, you can start http server by the following command:
```
npx http-server ./cucumber-report -o index.html
npx http-server ./cucumber-report -c-1 -o index.html
```

![html report with trace](./_media/html-report-with-trace.png)
Expand All @@ -138,7 +138,7 @@ You can add that command to `package.json` scripts to open Cucumber report quick
```json
{
"scripts": {
"show-report": "npx http-server ./cucumber-report -o index.html"
"show-report": "npx http-server ./cucumber-report -c-1 -o index.html"
}
}
```
Expand Down

0 comments on commit 79bec38

Please sign in to comment.