@@ -12,7 +12,7 @@ export const config = {
12
12
services: [
13
13
[
14
14
// Also installed as a dependency
15
- " visual-regression " ,
15
+ " visual" ,
16
16
{
17
17
createJsonReportFiles: true ,
18
18
},
@@ -42,7 +42,7 @@ To build the report you can call the CLI or use prompts to answer all questions
42
42
43
43
### CLI
44
44
45
- You can call ` npx @ wdio/ visual-reporter ` with the following arguments
45
+ You can call ` npx wdio- visual-reporter ` with the following arguments
46
46
47
47
#### ` --jsonOutput `
48
48
@@ -66,14 +66,13 @@ This will generate extra logs when errors happen
66
66
#### Example usage
67
67
68
68
``` sh
69
- npx @ wdio/ visual-reporter --jsonOutput=/Users/wdio/visual-testing/.tmp/actual/output.json --reportFolder=/Users/wdio/visual-testing/.tmp/ --logLevel=debug
69
+ npx wdio- visual-reporter --jsonOutput=/Users/wdio/visual-testing/.tmp/actual/output.json --reportFolder=/Users/wdio/visual-testing/.tmp/ --logLevel=debug
70
70
```
71
71
72
72
This will generate the following logs
73
73
74
74
``` logs
75
- npx @wdio/visual-reporter
76
- --jsonOutput=/Users/wdio/visual-testing/.tmp/actual/output.json --reportFolder=/Users/wdio/visual-testing/.tmp/ --logLevel=debug
75
+ npx wdio-visual-reporter --jsonOutput=/Users/wdio/visual-testing/.tmp/actual/output.json --reportFolder=/Users/wdio/visual-testing/.tmp/ --logLevel=debug
77
76
✔ Build output copied successfully to "/Users/wdio/visual-testing/.tmp/report".
78
77
⠋ Prepare report assets...
79
78
@@ -85,7 +84,7 @@ npx @wdio/visual-reporter
85
84
86
85
### Prompts
87
86
88
- Open a terminal, enter ` npx @ wdio/ visual-reporter ` and answer all the questions
87
+ Open a terminal, enter ` npx wdio- visual-reporter ` and answer all the questions
89
88
90
89
https://github.com/user-attachments/assets/fdd8a838-29c0-4235-9bac-fff0269e292e
91
90
0 commit comments