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