Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
1439 lines (1439 loc) · 55.9 KB
/
Copy pathpackage.json
File metadata and controls
1439 lines (1439 loc) · 55.9 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "specwright",
"displayName": "Specwright - BDD Authoring for Playwright in VS Code",
"description": "BDD authoring for playwright-bdd in VS Code: write and maintain Gherkin, run and debug scenarios, manage step definitions, and use experimental Xray Cloud traceability.",
"version": "0.7.12",
"icon": "media/specwright-icon.png",
"publisher": "upscaled-dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/upscaled-dev/specwright.git"
},
"homepage": "https://github.com/upscaled-dev/specwright#readme",
"bugs": {
"url": "https://github.com/upscaled-dev/specwright/issues"
},
"engines": {
"vscode": "^1.99.0"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Gherkin authoring and navigation remain available. Trust the workspace before running or debugging tests, generating files, reading integration credentials, or changing remote test data.",
"restrictedConfigurations": [
"playwrightBddRunner.playwrightCommand",
"playwrightBddRunner.bddgenCommand",
"playwrightBddRunner.preRunCommand",
"playwrightBddRunner.featuresGenDir",
"playwrightBddRunner.workingDirectory",
"playwrightBddRunner.testFilePattern",
"playwrightBddRunner.parallelExecution",
"playwrightBddRunner.maxParallelProcesses",
"playwrightBddRunner.reporter",
"playwrightBddRunner.useConfigReporters",
"playwrightBddRunner.tags",
"playwrightBddRunner.dryRun",
"playwrightBddRunner.stepDefinitionPaths",
"playwrightBddRunner.stepDefinitionExcludePaths",
"playwrightBddRunner.traceability.provider",
"playwrightBddRunner.traceability.testTagPrefix",
"playwrightBddRunner.traceability.reqTagPrefix",
"playwrightBddRunner.xray.siteUrl",
"playwrightBddRunner.xray.apiRegion",
"playwrightBddRunner.xray.syncProjectKeys",
"playwrightBddRunner.xray.defaultProjectKey",
"playwrightBddRunner.xray.executionIssueType",
"playwrightBddRunner.xray.reportGlob",
"playwrightBddRunner.xray.attachTo"
]
}
},
"categories": [
"Testing",
"Programming Languages",
"Debuggers",
"Formatters",
"Snippets",
"Linters"
],
"keywords": [
"playwright-bdd",
"playwright bdd",
"playwright",
"playwright test",
"playwright extension",
"playwright test explorer",
"playwright debugging",
"bdd",
"gherkin",
"gherkin extension",
"gherkin autocomplete",
"gherkin test runner",
"cucumber",
"cucumber.js",
"test explorer",
"vs code test explorer",
"test runner",
"xray cloud",
"scenario outline",
"step definitions",
"step definition generator",
"generate step definitions",
"test management",
"jira",
"jira xray",
"test traceability",
"bdd authoring",
"gherkin authoring",
"test coverage",
"test result publishing"
],
"activationEvents": [
"workspaceContains:**/*.feature"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "gherkin",
"aliases": [
"Gherkin",
"feature"
],
"extensions": [
".feature"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/gherkin-light.svg",
"dark": "./icons/gherkin-dark.svg"
}
}
],
"grammars": [
{
"language": "gherkin",
"scopeName": "text.gherkin.feature",
"path": "./syntaxes/gherkin.tmLanguage.json"
}
],
"snippets": [
{
"language": "gherkin",
"path": "./snippets/gherkin.code-snippets"
}
],
"breakpoints": [
{
"language": "gherkin"
}
],
"configuration": [
{
"type": "object",
"title": "Specwright: Execution",
"order": 10,
"properties": {
"playwrightBddRunner.playwrightCommand": {
"order": 10,
"type": "string",
"default": "npx playwright test",
"description": "Executable and arguments used to run Playwright tests (e.g., 'npx playwright test', 'pnpm exec playwright test', 'yarn playwright test'). Runs directly without a shell; shell operators are not supported."
},
"playwrightBddRunner.bddgenCommand": {
"order": 20,
"type": "string",
"default": "npx bddgen",
"description": "Executable and arguments used to generate Playwright spec files from .feature files. Runs directly without a shell; shell operators are not supported. Leave empty only when current generated specs already exist before a targeted run, for example because preRunCommand produces them."
},
"playwrightBddRunner.preRunCommand": {
"order": 30,
"type": "string",
"default": "",
"description": "Trusted compatibility shell command to run before each test execution (e.g., 'npm run build:fixtures'). Empty disables the hook. If the command exits non-zero, the test run is aborted."
},
"playwrightBddRunner.featuresGenDir": {
"order": 40,
"type": "string",
"default": ".features-gen",
"description": "Directory where bddgen writes generated spec files, relative to the working directory. Used to mirror feature-file breakpoints into generated specs when debugging."
},
"playwrightBddRunner.workingDirectory": {
"order": 50,
"type": "string",
"default": "",
"description": "Working directory for running tests. Empty = inferred per run: the directory of the nearest playwright.config.* above the feature file (so monorepo packages resolve their own bddgen/playwright binaries), falling back to the file's workspace folder."
},
"playwrightBddRunner.testFilePattern": {
"order": 60,
"type": "string",
"default": "**/*.feature",
"description": "Glob pattern for feature file discovery"
},
"playwrightBddRunner.parallelExecution": {
"order": 70,
"type": "boolean",
"default": false,
"description": "Pass a worker count to Playwright. This controls available workers but does not enable Playwright's fullyParallel mode."
},
"playwrightBddRunner.maxParallelProcesses": {
"order": 80,
"type": "number",
"default": 4,
"minimum": 1,
"maximum": 16,
"description": "Maximum number of Playwright workers when parallel execution is enabled"
},
"playwrightBddRunner.reporter": {
"order": 90,
"type": "string",
"examples": [
"list",
"line",
"dot",
"html",
"json",
"junit",
"github",
"blob",
"null",
"list,json",
"./my-reporter.ts"
],
"default": "list",
"description": "Reporter(s) for Playwright test output: a built-in name (list, line, dot, html, json, junit, github, blob, null), a custom reporter module path, or a comma-separated list of these. Terminal display only; result mapping always uses the JSON reporter."
},
"playwrightBddRunner.useConfigReporters": {
"order": 100,
"type": "boolean",
"default": false,
"description": "Run the reporters declared in your Playwright config instead of the extension injecting its own. Lets a custom reporter run alongside the extension's Test Results panel. Requires a bare ['json'] entry (no outputFile) in your config's reporter array. The extension steers it to its temp file via PLAYWRIGHT_JSON_OUTPUT_NAME and parses that."
},
"playwrightBddRunner.tags": {
"order": 110,
"type": "string",
"default": "",
"description": "Default tag expression passed to bddgen --tags (e.g., '@smoke and not @wip')"
},
"playwrightBddRunner.dryRun": {
"order": 120,
"type": "boolean",
"default": false,
"description": "Enable Playwright --list to see what tests would be executed without running them"
}
}
},
{
"type": "object",
"title": "Specwright: Authoring",
"order": 20,
"properties": {
"playwrightBddRunner.enableCodeLens": {
"order": 10,
"type": "boolean",
"default": true,
"description": "Enable CodeLens buttons on feature files (disable if conflicting with other extensions)"
},
"playwrightBddRunner.stepDefinitionPaths": {
"order": 20,
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [
"features/steps/**/*.{ts,mts,cts,js,mjs,cjs}",
"tests/steps/**/*.{ts,mts,cts,js,mjs,cjs}",
"steps/**/*.{ts,mts,cts,js,mjs,cjs}"
],
"description": "Glob patterns for TypeScript/JavaScript files containing playwright-bdd Given/When/Then step definitions. Globs resolve per workspace folder, so each package in a monorepo can point at its own step directories. Used for 'Go to Definition' navigation from steps in .feature files."
},
"playwrightBddRunner.stepDefinitionExcludePaths": {
"order": 30,
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [],
"description": "Additional glob patterns excluded from step-definition discovery, merged with the built-in excludes (node_modules, the generated featuresGenDir, playwright-report, test-results). Use this to exclude generated or report directories whose files contain Given/When/Then invocations that would otherwise be mistaken for step definitions. Example: \"**/reports/**\". Resolves per workspace folder."
},
"playwrightBddRunner.enableStepDefinitionNavigation": {
"order": 40,
"type": "boolean",
"default": true,
"description": "Enable 'Go to Definition' from a Gherkin step to its TypeScript step definition. Disable if conflicting with another extension."
},
"playwrightBddRunner.enableStepDiagnostics": {
"order": 50,
"type": "boolean",
"default": true,
"description": "Highlight Gherkin steps in .feature files that have no matching playwright-bdd step definition. Provides a 'Create step definition' quick fix."
},
"playwrightBddRunner.enableStepsPanel": {
"order": 60,
"type": "boolean",
"default": true,
"description": "Show the Specwright Steps panel in the Activity Bar: all step definitions grouped by keyword with usage counts, plus Gherkin steps with no matching definition. Disabling releases the panel and its share of the step-usage index."
},
"playwrightBddRunner.collapseMarkdownExportSections": {
"order": 70,
"type": "boolean",
"default": false,
"description": "Render the collapsible sections in exported feature/step Markdown catalogs collapsed by default. Recommended for large catalogs so the document opens as a scannable outline."
}
}
},
{
"type": "object",
"title": "Specwright: Compatibility",
"order": 30,
"properties": {
"playwrightBddRunner.enableStepAutocomplete": {
"order": 10,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright step suggestions.",
"Disable Specwright step suggestions."
],
"default": "auto",
"description": "Suggest existing playwright-bdd step definitions when typing a step in a .feature file. 'auto' disables completions when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate suggestions. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableTagAutocomplete": {
"order": 20,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright tag suggestions.",
"Disable Specwright tag suggestions."
],
"default": "auto",
"description": "Suggest existing tags when typing @ in a .feature file. 'auto' disables completions when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate suggestions. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableStepHover": {
"order": 30,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright step hovers.",
"Disable Specwright step hovers."
],
"default": "auto",
"description": "Show the matching playwright-bdd step definition's pattern and source location when hovering over a step in a .feature file. 'auto' disables the hover when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate tooltips. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableStepReferences": {
"order": 40,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright step references.",
"Disable Specwright step references."
],
"default": "auto",
"description": "Enable 'Find All References' on a playwright-bdd step definition to list every Gherkin step in .feature files that matches it. 'auto' disables references when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate results. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableStepUsageCodeLens": {
"order": 50,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright step-usage CodeLens.",
"Disable Specwright step-usage CodeLens."
],
"default": "auto",
"description": "Show a 'Used N times' CodeLens above each Given/When/Then step definition. Clicking the CodeLens opens VS Code's References panel. 'auto' disables the CodeLens when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate annotations. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableUnusedStepDiagnostics": {
"order": 60,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright unused-step diagnostics.",
"Disable Specwright unused-step diagnostics."
],
"default": "auto",
"description": "Publish an Information-severity diagnostic on each playwright-bdd step definition that has zero matching steps across all .feature files in the workspace. 'auto' disables the diagnostic when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate annotations. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableStepLiteralPromotion": {
"order": 70,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright literal promotion.",
"Disable Specwright literal promotion."
],
"default": "auto",
"description": "Offer a refactor on a Gherkin step that promotes a hard-coded literal (\"foo\", 42, 3.14) into a Cucumber-expression parameter ({string}, {int}, {float}), updating both the .feature file and the matching step definition. 'auto' disables when the Cucumber (Gherkin) Full Support extension is installed. 'on' always enables. 'off' always disables."
},
"playwrightBddRunner.enableTableFormatting": {
"order": 80,
"type": "string",
"enum": [
"auto",
"on",
"off"
],
"enumDescriptions": [
"Enable unless Cucumber (Gherkin) Full Support is installed.",
"Always enable Specwright table formatting.",
"Disable Specwright table formatting."
],
"default": "auto",
"description": "Auto-align Gherkin data tables (| col | col |) when VS Code's 'Format Document' runs on a .feature file. 'auto' disables when the Cucumber (Gherkin) Full Support extension is installed to avoid duplicate formatting. 'on' always enables. 'off' always disables."
}
}
},
{
"type": "object",
"title": "Specwright: Xray",
"order": 40,
"properties": {
"playwrightBddRunner.traceability.enablePanel": {
"order": 10,
"type": "boolean",
"default": false,
"description": "Show the experimental Xray Traceability panel beneath the Steps panel. Existing Xray settings or traceability tags reveal it automatically unless this setting is explicitly false. Disabling releases the panel and its watchers."
},
"playwrightBddRunner.traceability.provider": {
"order": 20,
"type": "string",
"enum": [
"xray"
],
"enumDescriptions": [
"Jira Xray Cloud."
],
"default": "xray",
"description": "Which ALM backend the Traceability panel maps to. Only 'xray' (Jira Xray Cloud) is available today; more providers land in later releases."
},
"playwrightBddRunner.traceability.testTagPrefix": {
"order": 30,
"type": "string",
"default": "TEST_",
"description": "Tag prefix that maps a scenario to a test in the tracker. '@TEST_CALC-1043' links to test CALC-1043. Matched case-insensitively."
},
"playwrightBddRunner.traceability.reqTagPrefix": {
"order": 40,
"type": "string",
"default": "REQ_",
"description": "Tag prefix that marks a scenario as covering a requirement. '@REQ_CALC-900' covers requirement CALC-900. Matched case-insensitively."
},
"playwrightBddRunner.xray.siteUrl": {
"order": 50,
"type": "string",
"default": "",
"description": "Your Jira/Xray Cloud site host, e.g. 'acme.atlassian.net'. Used to build browse links (https://{siteUrl}/browse/{KEY}) for the 'Open in tracker' action."
},
"playwrightBddRunner.xray.apiRegion": {
"order": 60,
"type": "string",
"enum": [
"global",
"us",
"eu",
"au"
],
"enumDescriptions": [
"Global Xray Cloud API.",
"United States regional API.",
"European Union regional API.",
"Australia regional API."
],
"default": "global",
"description": "Xray Cloud API region host used for authentication, GraphQL, and sync. 'global' uses xray.cloud.getxray.app; the others use the matching regional host (us/eu/au). Must match your Xray site's region."
},
"playwrightBddRunner.xray.syncProjectKeys": {
"order": 70,
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Project keys ordinary traceability Sync refreshes, including catalogues and tagged test keys. Select Projects to Sync saves the checked projects here. An explicitly saved empty list syncs nothing. Reset this setting to derive projects from workspace tags, the default project, and earlier syncs. Loading or reconciling a project by name can still fetch that project for that operation."
},
"playwrightBddRunner.xray.cacheTtlMinutes": {
"order": 80,
"type": "number",
"default": 15,
"description": "How long a synced Xray snapshot is considered fresh, in minutes. Past this the panel dims the data and marks it stale: display only, and no test data is re-fetched until you run Sync again. The same window paces the project list behind the board's project picker, which does refresh itself in the background once it is stale (never more often than once a minute)."
},
"playwrightBddRunner.xray.defaultProjectKey": {
"order": 90,
"type": "string",
"default": "",
"description": "Default Jira project key (e.g. 'CALC'). Prefills the Project field when publishing a new Test Execution. While playwrightBddRunner.xray.syncProjectKeys is unset it also joins the automatic sync scope, alongside tag-derived keys and already synced projects. A saved sync project list controls ordinary Sync, including an empty list. Appending to an existing execution derives its project from the execution key instead."
},
"playwrightBddRunner.xray.executionIssueType": {
"order": 100,
"type": "string",
"default": "Test Execution",
"description": "Jira work type name used for Xray Test Executions. Change it when your project maps a differently named work type to Xray's Test Execution entity, such as 'Sub-Test Execution' in some team-managed projects. The name must belong to a standard-level work type, since a subtask type cannot hold a standalone execution."
},
"playwrightBddRunner.xray.reportGlob": {
"order": 110,
"type": "array",
"items": {
"type": "string"
},
"default": [
"playwright-report/**",
"test-results/**/*.zip"
],
"description": "Workspace globs used to suggest run-level report bundles to attach when publishing (e.g. the HTML report folder, trace zips). Discovered files appear as removable chips in the Publish dialog and upload to the execution's Jira issue after a successful import."
},
"playwrightBddRunner.xray.attachTo": {
"order": 120,
"type": "string",
"enum": [
"evidence",
"issue",
"both"
],
"enumDescriptions": [
"Embed per-test attachments in the Xray result payload.",
"Upload per-test attachments to the Jira execution issue.",
"Send per-test attachments to both destinations."
],
"default": "evidence",
"description": "Where per-test-run evidence (screenshots, traces, videos) is published: 'evidence' embeds it in the Xray result payload, 'issue' uploads it as attachments on the execution's Jira issue instead, 'both' does both. Run-level report bundles you pick always go to the Jira issue regardless of this setting."
}
}
}
],
"commands": [
{
"command": "playwrightBddRunner.openSupportSnapshot",
"title": "Open Support Snapshot",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.diagnoseWorkspace",
"title": "Diagnose Workspace",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.openTesting",
"title": "Open Testing",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.openSteps",
"title": "Open Steps",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.configureStepPaths",
"title": "Configure Step Paths",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.discoverTests",
"title": "Discover Tests",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.refreshTests",
"title": "Refresh Tests",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.runAllTests",
"title": "Run All Tests",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runScenario",
"title": "Run Scenario",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.debugScenario",
"title": "Debug Scenario",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runAllTestsParallel",
"title": "Run All Tests in Parallel",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runFeatureFile",
"title": "Run Feature File",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runScenarioWithTags",
"title": "Run Scenario with Tags",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runFeatureFileWithTags",
"title": "Run Feature File with Tags",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runScenarioWithContext",
"title": "Run Scenario",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.debugScenarioWithContext",
"title": "Debug Scenario",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.runFeatureFileWithContext",
"title": "Run Feature File",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.setOrganizationStrategy",
"title": "Group tests by",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.setTagBasedOrganization",
"title": "Tags",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.setFileBasedOrganization",
"title": "File",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.setScenarioTypeOrganization",
"title": "Scenario type",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.setFlatOrganization",
"title": "None",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.setFeatureBasedOrganization",
"title": "Feature",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.debugOrganization",
"title": "Debug test grouping",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.showOutput",
"title": "Show Test Output",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.validateConfiguration",
"title": "Validate Configuration",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.generateStepDefinitions",
"title": "Generate Missing Step Definitions",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.generateStepDefinitionForStep",
"title": "Create Step Definition For Step",
"category": "Specwright",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.goToStepDefinition",
"title": "Go to Step Definition",
"category": "Specwright"
},
{
"command": "playwrightBddRunner.refreshStepsPanel",
"title": "Refresh Steps Panel",
"category": "Specwright",
"icon": "$(refresh)"
},
{
"command": "playwrightBddRunner.exportSteps",
"title": "Export Steps",
"category": "Specwright",
"icon": "$(export)"
},
{
"command": "playwrightBddRunner.exportScenarios",
"title": "Export All Scenarios",
"category": "Specwright",
"icon": "$(book)"
},
{
"command": "playwrightBddRunner.insertStep",
"title": "Insert Step…",
"category": "Specwright",
"icon": "$(insert)"
},
{
"command": "playwrightBddRunner.scaffoldStepFromPanel",
"title": "Create Step Definition",
"category": "Specwright",
"icon": "$(add)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.scaffoldFeatureFromPanel",
"title": "Generate Missing Step Definitions",
"category": "Specwright",
"icon": "$(add)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.openIssue",
"title": "Open Issue in Tracker",
"category": "Specwright",
"icon": "$(link-external)"
},
{
"command": "playwrightBddRunner.traceability.copyKey",
"title": "Copy Issue Key",
"category": "Specwright",
"icon": "$(copy)"
},
{
"command": "playwrightBddRunner.traceability.linkScenario",
"title": "Link Scenario to Test",
"category": "Specwright",
"icon": "$(link)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.runAndPublish",
"title": "Run Locally and Publish…",
"category": "Specwright",
"icon": "$(play-circle)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.runAndPublishAllMapped",
"title": "Run All Mapped Scenarios and Publish",
"category": "Specwright",
"icon": "$(play-circle)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.runAndPublishFeature",
"title": "Run and Publish",
"category": "Specwright",
"icon": "$(play-circle)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.runAndPublishFolder",
"title": "Run and Publish",
"category": "Specwright",
"icon": "$(play-circle)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.runAndPublishByTagExpression",
"title": "Run and Publish by Tag Expression",
"category": "Specwright",
"icon": "$(play-circle)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.publishLastRun",
"title": "Publish Last Run…",
"category": "Specwright",
"icon": "$(cloud-upload)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.sync",
"title": "Sync Traceability",
"category": "Specwright",
"icon": "$(sync)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.openBoard",
"title": "Open Coverage Board",
"category": "Specwright",
"icon": "$(project)"
},
{
"command": "playwrightBddRunner.traceability.find",
"title": "Find in Traceability",
"category": "Specwright",
"icon": "$(search)"
},
{
"command": "playwrightBddRunner.traceability.manageConnection",
"title": "Manage Xray Connection",
"category": "Specwright",
"icon": "$(plug)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.connect",
"title": "Connect to Xray",
"category": "Specwright",
"icon": "$(sign-in)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.disconnect",
"title": "Disconnect from Xray",
"category": "Specwright",
"icon": "$(sign-out)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.testConnection",
"title": "Test Xray Connection",
"category": "Specwright",
"icon": "$(pulse)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.hidePanel",
"title": "Hide Traceability Panel",
"category": "Specwright",
"icon": "$(eye-closed)"
},
{
"command": "playwrightBddRunner.traceability.toggleGrouping",
"title": "Toggle Grouping",
"category": "Specwright",
"icon": "$(list-tree)"
},
{
"command": "playwrightBddRunner.traceability.switchDefaultProject",
"title": "Switch Default Project…",
"category": "Specwright",
"icon": "$(arrow-swap)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.selectSyncProjects",
"title": "Select Projects to Sync",
"category": "Specwright",
"icon": "$(checklist)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.clearLocalRunHistory",
"title": "Clear Local Run History…",
"category": "Specwright",
"icon": "$(clear-all)"
},
{
"command": "playwrightBddRunner.traceability.bulkCreateTests",
"title": "Create Tests from Scenarios…",
"category": "Specwright",
"icon": "$(add)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.createTestSet",
"title": "Create Test Set…",
"category": "Specwright",
"icon": "$(list-selection)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.createTestPlan",
"title": "Create Test Plan…",
"category": "Specwright",
"icon": "$(checklist)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.createTestExecution",
"title": "Create Test Execution…",
"category": "Specwright",
"icon": "$(run-all)",
"enablement": "isWorkspaceTrusted"
},
{
"command": "playwrightBddRunner.traceability.showPanel",
"title": "Enable Xray Traceability",
"category": "Specwright",
"icon": "$(eye)"
},
{
"command": "playwrightBddRunner.traceability.setupSaved",
"title": "Xray Setup Saved",
"category": "Specwright",
"icon": "$(pass)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "specwright",
"title": "Specwright BDD",
"icon": "media/activity-bar-icon.svg"
}
]
},
"views": {
"specwright": [
{
"id": "playwrightBddRunner.stepsExplorer",
"name": "Steps",
"icon": "media/activity-bar-icon.svg",
"contextualTitle": "Specwright BDD",
"when": "config.playwrightBddRunner.enableStepsPanel"
},
{
"id": "playwrightBddRunner.traceability",
"name": "Traceability",
"type": "webview",
"icon": "media/activity-bar-icon.svg",
"contextualTitle": "Specwright BDD",
"when": "playwrightBddRunner.traceability.enabled"
}
]
},
"viewsWelcome": [
{
"view": "workbench.view.testing",
"when": "isWorkspaceTrusted",
"contents": "No BDD scenarios are visible yet. Diagnose project and execution-provider readiness, then refresh discovery.\n\n[Diagnose workspace](command:playwrightBddRunner.diagnoseWorkspace)\n\n[Discover scenarios](command:playwrightBddRunner.discoverTests)"
},
{
"view": "playwrightBddRunner.stepsExplorer",
"when": "isWorkspaceTrusted",
"contents": "No step definitions match this workspace yet. Check readiness or point Specwright at the folders that contain your definitions.\n\n[Diagnose workspace](command:playwrightBddRunner.diagnoseWorkspace)\n\n[Configure step paths](command:playwrightBddRunner.configureStepPaths)"
}
],
"menus": {
"commandPalette": [
{
"command": "playwrightBddRunner.openTesting",
"when": "false"
},
{
"command": "playwrightBddRunner.openSteps",
"when": "false"
},
{
"command": "playwrightBddRunner.configureStepPaths",
"when": "false"
},
{
"command": "playwrightBddRunner.refreshTests",
"when": "false"
},
{
"command": "playwrightBddRunner.generateStepDefinitions",
"when": "resourceExtname == .feature"
},
{
"command": "playwrightBddRunner.goToStepDefinition",
"when": "resourceExtname == .feature"
},
{
"command": "playwrightBddRunner.generateStepDefinitionForStep",
"when": "false"
},
{
"command": "playwrightBddRunner.runScenarioWithContext",
"when": "false"
},
{
"command": "playwrightBddRunner.debugScenarioWithContext",
"when": "false"
},
{
"command": "playwrightBddRunner.runFeatureFileWithContext",
"when": "false"
},
{