-
Notifications
You must be signed in to change notification settings - Fork 683
Expand file tree
/
Copy pathheft-plugin.json
More file actions
137 lines (136 loc) · 4.37 KB
/
heft-plugin.json
File metadata and controls
137 lines (136 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft-plugin.schema.json",
"taskPlugins": [
{
"pluginName": "run-playwright-plugin",
"entryPoint": "./lib/RunPlaywrightPlugin",
"optionsSchema": "./lib/schemas/playwright.schema.json",
"parameterScope": "playwright",
"parameters": [
{
"longName": "--debug-mode",
"parameterKind": "flag",
"description": "Run Playwright in debug mode with a single worker and headed browser."
},
{
"longName": "--headed",
"parameterKind": "flag",
"description": "Run tests in headed mode (show browser UI)."
},
{
"longName": "--ui",
"parameterKind": "flag",
"description": "Run tests in UI mode."
},
{
"longName": "--project",
"parameterKind": "string",
"argumentName": "PROJECT",
"description": "Run tests only in the specified project (e.g., chromium, firefox, webkit)."
},
{
"longName": "--config",
"parameterKind": "string",
"argumentName": "PATH",
"description": "Path to Playwright configuration file."
},
{
"longName": "--grep",
"parameterKind": "string",
"argumentName": "PATTERN",
"description": "Run only tests matching the specified pattern."
},
{
"longName": "--workers",
"parameterKind": "string",
"argumentName": "NUMBER",
"description": "Number of parallel workers to use for running tests."
},
{
"longName": "--list",
"parameterKind": "flag",
"description": "List all tests without running them."
},
{
"longName": "--trace",
"parameterKind": "flag",
"description": "Record execution trace for each test."
},
{
"longName": "--grep-invert",
"parameterKind": "string",
"argumentName": "PATTERN",
"description": "Run only tests NOT matching the specified pattern."
},
{
"longName": "--repeat-each",
"parameterKind": "integer",
"argumentName": "COUNT",
"description": "Run each test N times."
},
{
"longName": "--retries",
"parameterKind": "integer",
"argumentName": "COUNT",
"description": "Maximum number of retry attempts per test."
},
{
"longName": "--timeout",
"parameterKind": "integer",
"argumentName": "MILLISECONDS",
"description": "Timeout for each test in milliseconds."
},
{
"longName": "--ui-host",
"parameterKind": "string",
"argumentName": "HOST",
"description": "Host to serve UI mode on (default: localhost)."
},
{
"longName": "--ui-port",
"parameterKind": "string",
"argumentName": "PORT",
"description": "Port to serve UI mode on (default: auto)."
},
{
"longName": "--test-path",
"parameterKind": "stringList",
"argumentName": "PATH",
"description": "Specify test file paths to run."
},
{
"longName": "--install-browser",
"parameterKind": "choiceList",
"description": "Install the specified browser(s), but do not run the tests. The browser will be forcibly installed with dependencies.",
"alternatives": [
{
"name": "chromium",
"description": "The Chromium browser"
},
{
"name": "firefox",
"description": "The Mozilla Firefox browser"
},
{
"name": "webkit",
"description": "The WebKit browser"
},
{
"name": "chrome",
"description": "The Google Chrome browser"
},
{
"name": "msedge",
"description": "The Microsoft Edge browser"
}
]
},
{
"parameterKind": "flag",
"longName": "--install-browsers",
"description": "Install all Playwright browsers (chromium, firefox, webkit, chrome, msedge), but do not run the tests."
}
]
}
]
}