feat(react): Add playwright support to generators (#21150)
Co-authored-by: Vadim Zhamkov <vad-js@nebius.com>
This commit is contained in:
parent
67ca5f85ed
commit
7192141c44
@ -68,7 +68,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -93,7 +93,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -99,7 +99,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,7 @@ export interface Schema {
|
|||||||
remote: string;
|
remote: string;
|
||||||
remoteDirectory?: string;
|
remoteDirectory?: string;
|
||||||
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
||||||
e2eTestRunner?: 'cypress' | 'none';
|
e2eTestRunner?: 'cypress' | 'playwright' | 'none';
|
||||||
host?: string;
|
host?: string;
|
||||||
linter?: Linter;
|
linter?: Linter;
|
||||||
skipFormat?: boolean;
|
skipFormat?: boolean;
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export interface Schema {
|
|||||||
devServerPort?: number;
|
devServerPort?: number;
|
||||||
directory?: string;
|
directory?: string;
|
||||||
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
||||||
e2eTestRunner: 'cypress' | 'none';
|
e2eTestRunner: 'cypress' | 'playwright' | 'none';
|
||||||
globalCss?: boolean;
|
globalCss?: boolean;
|
||||||
js?: boolean;
|
js?: boolean;
|
||||||
linter: Linter;
|
linter: Linter;
|
||||||
|
|||||||
@ -99,7 +99,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -9,7 +9,7 @@ export interface Schema {
|
|||||||
devServerPort?: number;
|
devServerPort?: number;
|
||||||
directory?: string;
|
directory?: string;
|
||||||
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
||||||
e2eTestRunner: 'cypress' | 'none';
|
e2eTestRunner: 'cypress' | 'playwright' | 'none';
|
||||||
globalCss?: boolean;
|
globalCss?: boolean;
|
||||||
host?: string;
|
host?: string;
|
||||||
js?: boolean;
|
js?: boolean;
|
||||||
|
|||||||
@ -105,7 +105,7 @@
|
|||||||
},
|
},
|
||||||
"e2eTestRunner": {
|
"e2eTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["cypress", "none"],
|
"enum": ["cypress", "playwright", "none"],
|
||||||
"description": "Test runner to use for end to end (e2e) tests.",
|
"description": "Test runner to use for end to end (e2e) tests.",
|
||||||
"default": "cypress"
|
"default": "cypress"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user