@testspectra/cli 1.1.8-rc.25 → 1.1.8-rc.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/commands/__tests__/doctor-filter.test.js +37 -0
  2. package/dist/commands/__tests__/doctor-scope.test.js +24 -0
  3. package/dist/commands/__tests__/test-error-streaming.test.d.ts +1 -0
  4. package/dist/commands/__tests__/test-error-streaming.test.js +52 -0
  5. package/dist/commands/__tests__/test-scaffolding.test.d.ts +1 -0
  6. package/dist/commands/__tests__/test-scaffolding.test.js +32 -0
  7. package/dist/commands/__tests__/upgrade.test.d.ts +1 -0
  8. package/dist/commands/__tests__/upgrade.test.js +95 -0
  9. package/dist/commands/add.js +3 -3
  10. package/dist/commands/doctor.d.ts +9 -1
  11. package/dist/commands/doctor.js +16 -3
  12. package/dist/commands/install.js +3 -0
  13. package/dist/commands/test.d.ts +13 -0
  14. package/dist/commands/test.js +114 -22
  15. package/dist/commands/upgrade.d.ts +8 -1
  16. package/dist/commands/upgrade.js +55 -7
  17. package/dist/index.js +29 -14
  18. package/dist/linter/discovery.js +2 -2
  19. package/dist/linter/schemas/spec.schema.d.ts +6 -6
  20. package/dist/runner/bridge.d.ts +1 -1
  21. package/dist/runner/bridge.js +42 -14
  22. package/dist/runner/reporter.js +11 -3
  23. package/dist/utils/background-update-check.js +0 -7
  24. package/dist/utils/dependency-updates.d.ts +15 -0
  25. package/dist/utils/dependency-updates.js +107 -0
  26. package/package.json +7 -7
  27. package/templates/default/package.json +2 -2
  28. package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db +0 -0
  29. package/templates/nx/.nx/workspace-data/d/daemon.log +1012 -1162
  30. package/templates/nx/.nx/workspace-data/file-map.json +107 -121
  31. package/templates/nx/.nx/workspace-data/lockfile.hash +1 -1
  32. package/templates/nx/.nx/workspace-data/nx_files.nxt +0 -0
  33. package/templates/nx/.nx/workspace-data/parsed-lock-file.json +6497 -1
  34. package/templates/nx/.nx/workspace-data/project-graph.json +7247 -2
  35. package/templates/nx/.nx/workspace-data/source-maps.json +336 -0
  36. package/templates/nx/package.json +2 -2
  37. package/templates/react-component/package.json +3 -3
  38. package/templates/react-component/page-objects/BadgeComponent/web.ts +4 -4
  39. package/templates/react-component/page-objects/ButtonComponent/web.ts +3 -3
  40. package/templates/react-component/page-objects/InputComponent/web.ts +1 -1
  41. package/templates/react-component/specs/ButtonComponent/TC-0001-button-rendering-and-click/web.test.tsx +0 -3
  42. package/templates/react-component/specs/ButtonComponent/TC-0004-disabled-button-not-clickable/web.test.tsx +0 -9
  43. package/templates/react-component/specs/ButtonComponent/TC-0005-button-renders-icon/web.test.tsx +1 -1
  44. package/templates/react-component/specs/InputComponent/TC-0003-input-typing-and-clear/web.test.tsx +4 -8
  45. package/templates/react-component/spectra.config.ts +0 -10
  46. package/templates/react-component/src/components/Badge/Badge.tsx +3 -3
  47. package/templates/react-component/src/components/Button/Button.tsx +5 -3
  48. package/templates/react-component/src/components/Input/Input.tsx +2 -3
  49. package/dist/.tsbuildinfo +0 -1
  50. package/dist/commands/__tests__/cloud-run.test.js +0 -93
  51. package/dist/commands/cloud-run.d.ts +0 -13
  52. package/dist/commands/cloud-run.js +0 -120
  53. package/dist/commands/update.d.ts +0 -3
  54. package/dist/commands/update.js +0 -109
  55. package/dist/lifecycle/__tests__/lifecycle-engine.test.js +0 -290
  56. package/dist/lifecycle/hook-discovery.d.ts +0 -24
  57. package/dist/lifecycle/hook-discovery.js +0 -60
  58. package/dist/lifecycle/hook-dispatcher.d.ts +0 -34
  59. package/dist/lifecycle/hook-dispatcher.js +0 -190
  60. package/dist/lifecycle/index.d.ts +0 -3
  61. package/dist/lifecycle/index.js +0 -3
  62. package/dist/lifecycle/parallel-grouping.d.ts +0 -27
  63. package/dist/lifecycle/parallel-grouping.js +0 -151
  64. package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-shm +0 -0
  65. package/templates/nx/.nx/workspace-data/70094CFD-E89B-57A1-9619-2FC5F4963C54.db-wal +0 -0
  66. package/templates/nx/.nx/workspace-data/d/server-process.json +0 -3
  67. /package/dist/commands/__tests__/{cloud-run.test.d.ts → doctor-filter.test.d.ts} +0 -0
  68. /package/dist/{lifecycle/__tests__/lifecycle-engine.test.d.ts → commands/__tests__/doctor-scope.test.d.ts} +0 -0
@@ -1,66 +1,138 @@
1
1
  {
2
2
  "version": "6.0",
3
- "nxVersion": "19.8.4",
4
- "deps": {
5
- "@testspectra/cli": "^1.1.8-rc.25",
6
- "@testspectra/matchers": "^1.1.8-rc.25",
7
- "@types/node": "^20.14.0",
8
- "@wdio/cli": "^9.2.8",
9
- "@wdio/local-runner": "^9.2.8",
10
- "@wdio/spec-reporter": "^9.2.8",
11
- "@wdio/devtools-service": "^8.46.0",
12
- "@wdio/globals": "^9.2.8",
13
- "@wdio/mocha-framework": "^9.2.8",
14
- "nx": "^20.8.4",
15
- "typescript": "^5.4.5",
16
- "webdriverio": "^9.2.8"
17
- },
3
+ "nxVersion": "20.8.4",
18
4
  "pathMappings": {},
19
5
  "nxJsonPlugins": [],
20
6
  "fileMap": {
21
7
  "nonProjectFiles": [
22
8
  {
23
- "file": ".gitignore",
24
- "hash": "1731686672878252345"
25
- },
26
- {
27
- "file": ".vscode/extensions.json",
28
- "hash": "6496079274348496909"
29
- },
30
- {
31
- "file": "spectra.config.ts",
32
- "hash": "5826567216431235375"
33
- },
34
- {
35
- "file": "CLAUDE.md",
36
- "hash": "9577234870771110688"
9
+ "file": "nx.json",
10
+ "hash": "2058784385052146326"
37
11
  },
38
12
  {
39
13
  "file": "pnpm-workspace.yaml",
40
14
  "hash": "11062973401223444734"
41
15
  },
42
16
  {
43
- "file": "nx.json",
44
- "hash": "2058784385052146326"
17
+ "file": ".vscode/extensions.json",
18
+ "hash": "6496079274348496909"
45
19
  },
46
20
  {
47
- "file": ".cursorrules",
48
- "hash": "5914400097935294858"
21
+ "file": "package.json",
22
+ "hash": "3499066280807669204"
49
23
  },
50
24
  {
51
- "file": "package.json",
52
- "hash": "8114380691477329204"
25
+ "file": ".gitignore",
26
+ "hash": "1731686672878252345"
53
27
  },
54
28
  {
55
29
  "file": "pnpm-lock.yaml",
56
30
  "hash": "5459540818199025768"
57
31
  },
32
+ {
33
+ "file": "spectra.config.ts",
34
+ "hash": "5826567216431235375"
35
+ },
58
36
  {
59
37
  "file": "tsconfig.json",
60
38
  "hash": "8890589832440448254"
39
+ },
40
+ {
41
+ "file": ".cursorrules",
42
+ "hash": "5914400097935294858"
43
+ },
44
+ {
45
+ "file": "CLAUDE.md",
46
+ "hash": "9577234870771110688"
61
47
  }
62
48
  ],
63
49
  "projectFileMap": {
50
+ "shared-testing": [
51
+ {
52
+ "file": "shared/testing/fixtures/apiData.json",
53
+ "hash": "5455579627617620587"
54
+ },
55
+ {
56
+ "file": "shared/testing/fixtures/playgroundData.json",
57
+ "hash": "6646110001933817841"
58
+ },
59
+ {
60
+ "file": "shared/testing/global-hooks/after/mobile.hook.ts",
61
+ "hash": "17704300444638893067"
62
+ },
63
+ {
64
+ "file": "shared/testing/global-hooks/after/web.hook.ts",
65
+ "hash": "4319467857538977176"
66
+ },
67
+ {
68
+ "file": "shared/testing/global-hooks/before/mobile.hook.ts",
69
+ "hash": "1418831585755647488"
70
+ },
71
+ {
72
+ "file": "shared/testing/global-hooks/before/web.hook.ts",
73
+ "hash": "5655415662119179755"
74
+ },
75
+ {
76
+ "file": "shared/testing/page-objects/MatchersPage/mobile.ts",
77
+ "hash": "13486007993280160103"
78
+ },
79
+ {
80
+ "file": "shared/testing/page-objects/MatchersPage/web.ts",
81
+ "hash": "6708715830774655929"
82
+ },
83
+ {
84
+ "file": "shared/testing/page-objects/NavigationPage/mobile.ts",
85
+ "hash": "9843815020701207652"
86
+ },
87
+ {
88
+ "file": "shared/testing/page-objects/NavigationPage/web.ts",
89
+ "hash": "2341250336288762399"
90
+ },
91
+ {
92
+ "file": "shared/testing/page-objects/PlaygroundPage/mobile.ts",
93
+ "hash": "8192927760362991284"
94
+ },
95
+ {
96
+ "file": "shared/testing/page-objects/PlaygroundPage/web.ts",
97
+ "hash": "13289179655405426712"
98
+ },
99
+ {
100
+ "file": "shared/testing/project.json",
101
+ "hash": "7371378800661206349"
102
+ },
103
+ {
104
+ "file": "shared/testing/support/actions/fillCredentials/mobile.action.ts",
105
+ "hash": "12211081252127526235"
106
+ },
107
+ {
108
+ "file": "shared/testing/support/actions/fillCredentials/web.action.ts",
109
+ "hash": "9993357721307207213"
110
+ },
111
+ {
112
+ "file": "shared/testing/support/steps/togglePlaygroundStates/mobile.step.ts",
113
+ "hash": "2440504136325471241"
114
+ },
115
+ {
116
+ "file": "shared/testing/support/steps/togglePlaygroundStates/step.md",
117
+ "hash": "7033246481886462733"
118
+ },
119
+ {
120
+ "file": "shared/testing/support/steps/togglePlaygroundStates/web.step.ts",
121
+ "hash": "3684774997705487691"
122
+ },
123
+ {
124
+ "file": "shared/testing/support/steps/verifyPlaygroundState/mobile.step.ts",
125
+ "hash": "7780197038828149329"
126
+ },
127
+ {
128
+ "file": "shared/testing/support/steps/verifyPlaygroundState/step.md",
129
+ "hash": "4808698815589956784"
130
+ },
131
+ {
132
+ "file": "shared/testing/support/steps/verifyPlaygroundState/web.step.ts",
133
+ "hash": "7710645189151727546"
134
+ }
135
+ ],
64
136
  "playground-e2e": [
65
137
  {
66
138
  "file": "packages/playground/e2e/project.json",
@@ -372,92 +444,6 @@
372
444
  "file": "packages/matchers/e2e/specs/EnvironmentConfig/suite.md",
373
445
  "hash": "2736763753819703752"
374
446
  }
375
- ],
376
- "shared-testing": [
377
- {
378
- "file": "shared/testing/fixtures/apiData.json",
379
- "hash": "5455579627617620587"
380
- },
381
- {
382
- "file": "shared/testing/fixtures/playgroundData.json",
383
- "hash": "6646110001933817841"
384
- },
385
- {
386
- "file": "shared/testing/global-hooks/after/mobile.hook.ts",
387
- "hash": "17704300444638893067"
388
- },
389
- {
390
- "file": "shared/testing/global-hooks/after/web.hook.ts",
391
- "hash": "4319467857538977176"
392
- },
393
- {
394
- "file": "shared/testing/global-hooks/before/mobile.hook.ts",
395
- "hash": "1418831585755647488"
396
- },
397
- {
398
- "file": "shared/testing/global-hooks/before/web.hook.ts",
399
- "hash": "5655415662119179755"
400
- },
401
- {
402
- "file": "shared/testing/page-objects/MatchersPage/mobile.ts",
403
- "hash": "13486007993280160103"
404
- },
405
- {
406
- "file": "shared/testing/page-objects/MatchersPage/web.ts",
407
- "hash": "6708715830774655929"
408
- },
409
- {
410
- "file": "shared/testing/page-objects/NavigationPage/mobile.ts",
411
- "hash": "9843815020701207652"
412
- },
413
- {
414
- "file": "shared/testing/page-objects/NavigationPage/web.ts",
415
- "hash": "2341250336288762399"
416
- },
417
- {
418
- "file": "shared/testing/page-objects/PlaygroundPage/mobile.ts",
419
- "hash": "8192927760362991284"
420
- },
421
- {
422
- "file": "shared/testing/page-objects/PlaygroundPage/web.ts",
423
- "hash": "13289179655405426712"
424
- },
425
- {
426
- "file": "shared/testing/project.json",
427
- "hash": "7371378800661206349"
428
- },
429
- {
430
- "file": "shared/testing/support/actions/fillCredentials/mobile.action.ts",
431
- "hash": "12211081252127526235"
432
- },
433
- {
434
- "file": "shared/testing/support/actions/fillCredentials/web.action.ts",
435
- "hash": "9993357721307207213"
436
- },
437
- {
438
- "file": "shared/testing/support/steps/togglePlaygroundStates/mobile.step.ts",
439
- "hash": "2440504136325471241"
440
- },
441
- {
442
- "file": "shared/testing/support/steps/togglePlaygroundStates/step.md",
443
- "hash": "7033246481886462733"
444
- },
445
- {
446
- "file": "shared/testing/support/steps/togglePlaygroundStates/web.step.ts",
447
- "hash": "3684774997705487691"
448
- },
449
- {
450
- "file": "shared/testing/support/steps/verifyPlaygroundState/mobile.step.ts",
451
- "hash": "7780197038828149329"
452
- },
453
- {
454
- "file": "shared/testing/support/steps/verifyPlaygroundState/step.md",
455
- "hash": "4808698815589956784"
456
- },
457
- {
458
- "file": "shared/testing/support/steps/verifyPlaygroundState/web.step.ts",
459
- "hash": "7710645189151727546"
460
- }
461
447
  ]
462
448
  }
463
449
  }
@@ -1 +1 @@
1
- 570877138422518711
1
+ 10768379145142504764