File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,15 @@ export default defineConfig({
36
36
} ,
37
37
projects : [
38
38
{
39
- name : 'chromium ' ,
39
+ name : 'logic ' ,
40
40
use : { ...devices [ 'Desktop Chrome' ] } ,
41
+ grepInvert : / @ V i s u a l .* / ,
42
+ } ,
43
+
44
+ {
45
+ name : 'visual' ,
46
+ use : { ...devices [ 'Desktop Chrome' ] } ,
47
+ grep : / @ V i s u a l .* / ,
41
48
} ,
42
49
43
50
// {
Original file line number Diff line number Diff line change 84
84
"executor" : " @nx/playwright:playwright" ,
85
85
"outputs" : [" {workspaceRoot}/dist/.playwright/packages/kit-headless" ],
86
86
"options" : {
87
- "config" : " packages/kit-headless/playwright.config.ts"
87
+ "config" : " packages/kit-headless/playwright.config.ts" ,
88
+ "project" : [" logic" ]
89
+ }
90
+ },
91
+ "visual-test" : {
92
+ "executor" : " @nx/playwright:playwright" ,
93
+ "outputs" : [" {workspaceRoot}/dist/.playwright/packages/kit-headless" ],
94
+ "options" : {
95
+ "config" : " packages/kit-headless/playwright.config.ts" ,
96
+ "project" : [" visual" ]
88
97
}
89
98
}
90
99
},
You can’t perform that action at this time.
0 commit comments