testeranto 0.166.0 → 0.171.0

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 (187) hide show
  1. package/dist/common/src/NavBar.js +45 -0
  2. package/dist/common/src/PM/main.js +81 -59
  3. package/dist/common/src/Pure.js +17 -15
  4. package/dist/common/src/ReportServer.js +48 -5
  5. package/dist/common/src/Web.js +35 -20
  6. package/dist/common/src/components/SunriseAnimation.test/implementation.js +1 -0
  7. package/dist/common/src/components/SunriseAnimation.test/index.js +1 -0
  8. package/dist/common/src/components/SunriseAnimation.test/interface.js +1 -0
  9. package/dist/common/src/components/SunriseAnimation.test/specification.js +1 -0
  10. package/dist/common/src/components/TestStatusBadge.js +55 -0
  11. package/dist/common/src/components/pure/ProjectPageView.js +204 -0
  12. package/dist/common/src/components/pure/ProjectPageView.test/adapter.js +20 -0
  13. package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +71 -0
  14. package/dist/common/src/components/pure/ProjectPageView.test/index.js +10 -0
  15. package/dist/common/src/components/pure/ProjectPageView.test/specification.js +19 -0
  16. package/dist/common/src/components/pure/ProjectPageView.test/types.js +2 -0
  17. package/dist/common/src/lib/BaseSuite.js +3 -3
  18. package/dist/common/src/lib/BaseSuite.test/test.js +1 -1
  19. package/dist/common/src/lib/abstractBase.js +41 -14
  20. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
  21. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.mock.js +1 -1
  22. package/dist/common/src/lib/basebuilder.js +9 -7
  23. package/dist/common/src/lib/core.test/MockCore.js +17 -15
  24. package/dist/common/src/lib/pmProxy.js +185 -64
  25. package/dist/common/testeranto.config.js +6 -0
  26. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  27. package/dist/module/src/App.js +3 -3
  28. package/dist/module/src/PM/main.js +81 -59
  29. package/dist/module/src/ProjectsPage.js +1 -110
  30. package/dist/module/src/Pure.js +17 -15
  31. package/dist/module/src/ReportServer.js +48 -5
  32. package/dist/module/src/TestPage.js +45 -16
  33. package/dist/module/src/Web.js +35 -20
  34. package/dist/module/src/components/SunriseAnimation.test/implementation.js +1 -0
  35. package/dist/module/src/components/SunriseAnimation.test/index.js +1 -0
  36. package/dist/module/src/components/SunriseAnimation.test/interface.js +1 -0
  37. package/dist/module/src/components/SunriseAnimation.test/specification.js +1 -0
  38. package/dist/module/src/components/pure/ProjectPageView.js +197 -0
  39. package/dist/module/src/components/pure/ProjectPageView.test/adapter.js +17 -0
  40. package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +68 -0
  41. package/dist/module/src/components/pure/ProjectPageView.test/index.js +5 -0
  42. package/dist/module/src/components/pure/ProjectPageView.test/specification.js +15 -0
  43. package/dist/module/src/components/pure/ProjectPageView.test/types.js +1 -0
  44. package/dist/module/src/components/pure/ProjectsPageView.js +58 -0
  45. package/dist/module/src/components/pure/TestPageView.js +136 -0
  46. package/dist/module/src/components/stateful/ProjectPage.js +63 -0
  47. package/dist/module/src/components/stateful/ProjectsPage.js +55 -0
  48. package/dist/module/src/components/stateful/TestPage.js +82 -0
  49. package/dist/module/src/lib/BaseSuite.js +3 -3
  50. package/dist/module/src/lib/BaseSuite.test/test.js +1 -1
  51. package/dist/module/src/lib/abstractBase.js +41 -14
  52. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
  53. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.mock.js +1 -1
  54. package/dist/module/src/lib/basebuilder.js +9 -7
  55. package/dist/module/src/lib/core.test/MockCore.js +17 -15
  56. package/dist/module/src/lib/pmProxy.js +185 -64
  57. package/dist/module/testeranto.config.js +6 -0
  58. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  59. package/dist/prebuild/App.js +541 -495
  60. package/dist/prebuild/ReportServer.mjs +44 -4
  61. package/dist/prebuild/run.mjs +67 -39
  62. package/dist/types/src/NavBar.d.ts +19 -0
  63. package/dist/types/src/PM/index.d.ts +3 -1
  64. package/dist/types/src/PM/main.d.ts +0 -4
  65. package/dist/types/src/PM/node.d.ts +2 -2
  66. package/dist/types/src/components/SunriseAnimation.test/interface.d.ts +0 -0
  67. package/dist/types/src/components/SunriseAnimation.test/specification.d.ts +0 -0
  68. package/dist/types/src/components/TestStatusBadge.d.ts +15 -0
  69. package/dist/types/src/components/pure/ProjectPageView.d.ts +14 -0
  70. package/dist/types/src/components/pure/ProjectPageView.test/adapter.d.ts +3 -0
  71. package/dist/types/src/components/pure/ProjectPageView.test/implementation.d.ts +3 -0
  72. package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +3 -0
  73. package/dist/types/src/components/pure/ProjectPageView.test/specification.d.ts +3 -0
  74. package/dist/types/src/components/pure/ProjectPageView.test/types.d.ts +39 -0
  75. package/dist/types/src/lib/BaseSuite.d.ts +2 -0
  76. package/dist/types/src/lib/abstractBase.d.ts +12 -0
  77. package/dist/types/src/lib/index.d.ts +0 -1
  78. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  79. package/package.json +3 -2
  80. package/src/App.tsx +5 -9
  81. package/src/PM/index.ts +1 -1
  82. package/src/PM/main.ts +87 -82
  83. package/src/PM/node.ts +2 -2
  84. package/src/ProjectsPage.tsx +1 -164
  85. package/src/Pure.ts +17 -17
  86. package/src/ReportServer.ts +49 -6
  87. package/src/TestPage.tsx +78 -5
  88. package/src/Web.ts +35 -35
  89. package/src/components/SunriseAnimation.test/implementation.ts +0 -0
  90. package/src/components/SunriseAnimation.test/index.ts +0 -0
  91. package/src/components/SunriseAnimation.test/interface.ts +0 -0
  92. package/src/components/SunriseAnimation.test/specification.ts +0 -0
  93. package/src/components/pure/ProjectPageView.test/adapter.ts +21 -0
  94. package/src/components/pure/ProjectPageView.test/implementation.tsx +84 -0
  95. package/src/components/pure/ProjectPageView.test/index.ts +8 -0
  96. package/src/components/pure/ProjectPageView.test/specification.ts +31 -0
  97. package/src/components/pure/ProjectPageView.test/types.ts +55 -0
  98. package/src/components/pure/ProjectPageView.tsx +332 -0
  99. package/src/components/pure/ProjectsPageView.tsx +99 -0
  100. package/src/components/pure/TestPageView.tsx +278 -0
  101. package/src/components/stateful/ProjectPage.tsx +83 -0
  102. package/src/components/stateful/ProjectsPage.tsx +73 -0
  103. package/src/components/stateful/TestPage.tsx +107 -0
  104. package/src/lib/BaseSuite.test/test.ts +1 -1
  105. package/src/lib/BaseSuite.ts +9 -4
  106. package/src/lib/abstractBase.ts +45 -14
  107. package/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts +1 -1
  108. package/src/lib/baseBuilder.test/baseBuilder.test.mock.ts +1 -1
  109. package/src/lib/basebuilder.ts +9 -9
  110. package/src/lib/core.test/MockCore.ts +26 -19
  111. package/src/lib/index.ts +1 -1
  112. package/src/lib/pmProxy.ts +184 -87
  113. package/testeranto/App.js +541 -495
  114. package/testeranto/bundles/node/allTests/{chunk-4ONUZRZ4.mjs → chunk-3EUGBAOM.mjs} +1 -1
  115. package/testeranto/bundles/node/allTests/{chunk-FFBRDUBH.mjs → chunk-E75CSRER.mjs} +247 -124
  116. package/testeranto/bundles/node/allTests/{chunk-NQEP7SN4.mjs → chunk-M6DO7VMB.mjs} +1 -1
  117. package/testeranto/bundles/node/allTests/metafile.json +41 -41
  118. package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +4 -4
  119. package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +4 -4
  120. package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +3 -3
  121. package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +11 -23
  122. package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +2 -2
  123. package/testeranto/bundles/pure/allTests/{chunk-CSMXYJ65.mjs → chunk-KHDVEHF7.mjs} +3 -18
  124. package/testeranto/bundles/pure/allTests/{chunk-QK4IXLF6.mjs → chunk-VMUSFSZM.mjs} +247 -124
  125. package/testeranto/bundles/pure/allTests/metafile.json +77 -47
  126. package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +2 -2
  127. package/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs +3 -3
  128. package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +3 -30
  129. package/testeranto/bundles/web/allTests/chunk-HPYA4YZC.mjs +2283 -0
  130. package/testeranto/bundles/web/allTests/{chunk-TU3MJSSI.mjs → chunk-RLDR6LJN.mjs} +302 -127
  131. package/testeranto/bundles/web/allTests/chunk-U7AW26HL.mjs +997 -0
  132. package/testeranto/bundles/web/allTests/metafile.json +15065 -46
  133. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.html +19 -0
  134. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.mjs +37524 -0
  135. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +20 -2
  136. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +27 -3
  137. package/testeranto/reports/allTests/config.json +8 -0
  138. package/testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt +9 -3
  139. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/bdd_errors.txt +1 -0
  140. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +13 -0
  141. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/logs.txt +50 -0
  142. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/message.txt +2 -0
  143. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/prompt.txt +17 -0
  144. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/tests.json +32 -0
  145. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +68 -0
  146. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +0 -0
  147. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/tests.json +6 -3
  148. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +8 -1
  149. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/tests.json +6 -3
  150. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +9 -3
  151. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +0 -0
  152. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +2 -2
  153. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/tests.json +6 -3
  154. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +10 -5
  155. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +0 -0
  156. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +18 -9
  157. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +8 -1
  158. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +10 -5
  159. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +0 -0
  160. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +2 -2
  161. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +18 -9
  162. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +10 -5
  163. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +0 -0
  164. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +36 -18
  165. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +8 -1
  166. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.txt +0 -12
  167. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +2 -2
  168. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/type_errors.txt +11 -8
  169. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +0 -0
  170. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json +28 -14
  171. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +8 -1
  172. package/testeranto/reports/allTests/summary.json +16 -9
  173. package/testeranto/reportsweb_build_errors +25 -0
  174. package/testeranto.config.ts +7 -0
  175. package/tsc.log +313 -237
  176. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test/manifest.json +0 -1
  177. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/manifest.json +0 -1
  178. package/testeranto/reports/allTests/src/Pure.test/pure/manifest.json +0 -1
  179. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/manifest.json +0 -1
  180. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/manifest.json +0 -1
  181. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/manifest.json +0 -1
  182. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/manifest.json +0 -1
  183. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/manifest.json +0 -1
  184. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/manifest.json +0 -1
  185. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/manifest.json +0 -1
  186. /package/{testeranto/reports/allTests/src/Pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/implementation.d.ts} +0 -0
  187. /package/{testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/index.d.ts} +0 -0
@@ -14,115 +14,236 @@ const baseProxy = function (pm, mappings) {
14
14
  },
15
15
  });
16
16
  };
17
- export const butThenProxy = (pm, filepath) => baseProxy(pm, [
18
- [
19
- "screencast",
20
- (opts, p) => [
21
- Object.assign(Object.assign({}, opts), { path: `${filepath}/butThen/${opts.path}` }),
22
- p,
17
+ export const butThenProxy = (pm, filepath) => {
18
+ return baseProxy(pm, [
19
+ [
20
+ "screencast",
21
+ (opts, p) => {
22
+ var _a;
23
+ const path = `${filepath}/butThen/${opts.path}`;
24
+ console.log(`[Proxy] Captured artifact path for butThen:`, path);
25
+ if ((_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.addArtifact) {
26
+ pm.currentStep.addArtifact(path);
27
+ }
28
+ else {
29
+ console.warn('No currentStep or addArtifact method found');
30
+ }
31
+ return [
32
+ Object.assign(Object.assign({}, opts), { path }),
33
+ p,
34
+ ];
35
+ },
23
36
  ],
24
- ],
25
- ["createWriteStream", (fp) => [`${filepath}/butThen/${fp}`]],
26
- [
27
- "writeFileSync",
28
- (fp, contents) => [`${filepath}/butThen/${fp}`, contents],
29
- ],
30
- [
31
- "customScreenShot",
32
- (opts, p) => [
33
- Object.assign(Object.assign({}, opts), { path: `${filepath}/butThen/${opts.path}` }),
34
- p,
37
+ ["createWriteStream", (fp) => {
38
+ var _a;
39
+ const path = `${filepath}/butThen/${fp}`;
40
+ console.log(`[Proxy] Captured artifact path for butThen:`, path);
41
+ if ((_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.addArtifact) {
42
+ pm.currentStep.addArtifact(path);
43
+ }
44
+ else {
45
+ console.warn('No currentStep or addArtifact method found');
46
+ }
47
+ return [path];
48
+ }],
49
+ [
50
+ "writeFileSync",
51
+ (fp, contents) => {
52
+ var _a, _b;
53
+ const path = `${filepath}/butThen/${fp}`;
54
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
55
+ return [path, contents];
56
+ },
35
57
  ],
36
- ],
37
- ]);
58
+ [
59
+ "customScreenShot",
60
+ (opts, p) => {
61
+ var _a, _b;
62
+ const path = `${filepath}/butThen/${opts.path}`;
63
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
64
+ return [
65
+ Object.assign(Object.assign({}, opts), { path }),
66
+ p,
67
+ ];
68
+ },
69
+ ],
70
+ ]);
71
+ };
38
72
  export const andWhenProxy = (pm, filepath) => baseProxy(pm, [
39
73
  [
40
74
  "screencast",
41
- (opts, p) => [
42
- Object.assign(Object.assign({}, opts), { path: `${filepath}/andWhen/${opts.path}` }),
43
- p,
44
- ],
75
+ (opts, p) => {
76
+ var _a, _b;
77
+ const path = `${filepath}/andWhen/${opts.path}`;
78
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
79
+ return [
80
+ Object.assign(Object.assign({}, opts), { path }),
81
+ p,
82
+ ];
83
+ },
45
84
  ],
46
- ["createWriteStream", (fp) => [`${filepath}/andWhen/${fp}`]],
47
- ["writeFileSync", (fp, contents) => [`${filepath}/andWhen${fp}`, contents]],
85
+ ["createWriteStream", (fp) => {
86
+ var _a, _b;
87
+ const path = `${filepath}/andWhen/${fp}`;
88
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
89
+ return [path];
90
+ }],
91
+ ["writeFileSync", (fp, contents) => {
92
+ var _a, _b;
93
+ const path = `${filepath}/andWhen/${fp}`;
94
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
95
+ return [path, contents];
96
+ }],
48
97
  [
49
98
  "customScreenShot",
50
- (opts, p) => [
51
- Object.assign(Object.assign({}, opts), { path: `${filepath}/andWhen${opts.path}` }),
52
- p,
53
- ],
99
+ (opts, p) => {
100
+ var _a, _b;
101
+ const path = `${filepath}/andWhen/${opts.path}`;
102
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
103
+ return [
104
+ Object.assign(Object.assign({}, opts), { path }),
105
+ p,
106
+ ];
107
+ },
54
108
  ],
55
109
  ]);
56
110
  export const afterEachProxy = (pm, suite, given) => baseProxy(pm, [
57
111
  [
58
112
  "screencast",
59
- (opts, p) => [
60
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/given-${given}/afterEach/${opts.path}` }),
61
- p,
62
- ],
113
+ (opts, p) => {
114
+ var _a, _b;
115
+ const path = `suite-${suite}/given-${given}/afterEach/${opts.path}`;
116
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
117
+ return [
118
+ Object.assign(Object.assign({}, opts), { path }),
119
+ p,
120
+ ];
121
+ },
63
122
  ],
64
- ["createWriteStream", (fp) => [`suite-${suite}/afterEach/${fp}`]],
123
+ ["createWriteStream", (fp) => {
124
+ var _a, _b;
125
+ const path = `suite-${suite}/afterEach/${fp}`;
126
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
127
+ return [path];
128
+ }],
65
129
  [
66
130
  "writeFileSync",
67
- (fp, contents) => [
68
- `suite-${suite}/given-${given}/afterEach/${fp}`,
69
- contents,
70
- ],
131
+ (fp, contents) => {
132
+ var _a, _b;
133
+ const path = `suite-${suite}/given-${given}/afterEach/${fp}`;
134
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
135
+ return [path, contents];
136
+ },
71
137
  ],
72
138
  [
73
139
  "customScreenShot",
74
- (opts, p) => [
75
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/given-${given}/afterEach/${opts.path}` }),
76
- p,
77
- ],
140
+ (opts, p) => {
141
+ var _a, _b;
142
+ const path = `suite-${suite}/given-${given}/afterEach/${opts.path}`;
143
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
144
+ return [
145
+ Object.assign(Object.assign({}, opts), { path }),
146
+ p,
147
+ ];
148
+ },
78
149
  ],
79
150
  ]);
80
151
  export const beforeEachProxy = (pm, suite) => baseProxy(pm, [
81
152
  [
82
153
  "screencast",
83
- (opts, p) => [
84
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/beforeEach/${opts.path}` }),
85
- p,
86
- ],
154
+ (opts, p) => {
155
+ var _a, _b;
156
+ const path = `suite-${suite}/beforeEach/${opts.path}`;
157
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
158
+ return [
159
+ Object.assign(Object.assign({}, opts), { path }),
160
+ p,
161
+ ];
162
+ },
87
163
  ],
88
164
  [
89
165
  "writeFileSync",
90
- (fp, contents) => [`suite-${suite}/beforeEach/${fp}`, contents],
166
+ (fp, contents) => {
167
+ var _a, _b;
168
+ const path = `suite-${suite}/beforeEach/${fp}`;
169
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
170
+ return [path, contents];
171
+ },
91
172
  ],
92
173
  [
93
174
  "customScreenShot",
94
- (opts, p) => [
95
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/beforeEach/${opts.path}` }),
96
- p,
97
- ],
175
+ (opts, p) => {
176
+ var _a, _b;
177
+ const path = `suite-${suite}/beforeEach/${opts.path}`;
178
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
179
+ return [
180
+ Object.assign(Object.assign({}, opts), { path }),
181
+ p,
182
+ ];
183
+ },
98
184
  ],
99
- ["createWriteStream", (fp) => [`suite-${suite}/beforeEach/${fp}`]],
185
+ ["createWriteStream", (fp) => {
186
+ var _a, _b;
187
+ const path = `suite-${suite}/beforeEach/${fp}`;
188
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
189
+ return [path];
190
+ }],
100
191
  ]);
101
192
  export const beforeAllProxy = (pm, suite) => baseProxy(pm, [
102
193
  [
103
194
  "writeFileSync",
104
- (fp, contents) => [`suite-${suite}/beforeAll/${fp}`, contents],
195
+ (fp, contents) => {
196
+ var _a, _b;
197
+ const path = `suite-${suite}/beforeAll/${fp}`;
198
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
199
+ return [path, contents];
200
+ },
105
201
  ],
106
202
  [
107
203
  "customScreenShot",
108
- (opts, p) => [
109
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/beforeAll/${opts.path}` }),
110
- p,
111
- ],
204
+ (opts, p) => {
205
+ var _a, _b;
206
+ const path = `suite-${suite}/beforeAll/${opts.path}`;
207
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
208
+ return [
209
+ Object.assign(Object.assign({}, opts), { path }),
210
+ p,
211
+ ];
212
+ },
112
213
  ],
113
- ["createWriteStream", (fp) => [`suite-${suite}/beforeAll/${fp}`]],
214
+ ["createWriteStream", (fp) => {
215
+ var _a, _b;
216
+ const path = `suite-${suite}/beforeAll/${fp}`;
217
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
218
+ return [path];
219
+ }],
114
220
  ]);
115
221
  export const afterAllProxy = (pm, suite) => baseProxy(pm, [
116
- ["createWriteStream", (fp) => [`suite-${suite}/afterAll/${fp}`]],
222
+ ["createWriteStream", (fp) => {
223
+ var _a, _b;
224
+ const path = `suite-${suite}/afterAll/${fp}`;
225
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
226
+ return [path];
227
+ }],
117
228
  [
118
229
  "writeFileSync",
119
- (fp, contents) => [`suite-${suite}/afterAll/${fp}`, contents],
230
+ (fp, contents) => {
231
+ var _a, _b;
232
+ const path = `suite-${suite}/afterAll/${fp}`;
233
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
234
+ return [path, contents];
235
+ },
120
236
  ],
121
237
  [
122
238
  "customScreenShot",
123
- (opts, p) => [
124
- Object.assign(Object.assign({}, opts), { path: `suite-${suite}/afterAll/${opts.path}` }),
125
- p,
126
- ],
239
+ (opts, p) => {
240
+ var _a, _b;
241
+ const path = `suite-${suite}/afterAll/${opts.path}`;
242
+ (_b = (_a = pm.currentStep) === null || _a === void 0 ? void 0 : _a.artifacts) === null || _b === void 0 ? void 0 : _b.push(path);
243
+ return [
244
+ Object.assign(Object.assign({}, opts), { path }),
245
+ p,
246
+ ];
247
+ },
127
248
  ],
128
249
  ]);
@@ -2,6 +2,12 @@ const config = {
2
2
  projects: {
3
3
  allTests: {
4
4
  tests: [
5
+ [
6
+ "src/components/pure/ProjectPageView.test/index.ts",
7
+ "web",
8
+ { ports: 0 },
9
+ [],
10
+ ],
5
11
  ["src/lib/BaseSuite.test/node.test.ts", "node", { ports: 0 }, []],
6
12
  ["src/lib/BaseSuite.test/pure.test.ts", "pure", { ports: 0 }, []],
7
13
  ["src/lib/BaseSuite.test/web.test.ts", "web", { ports: 0 }, []],