@futdevpro/dynamo-e2e 1.18.10 → 1.18.11

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 (336) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +21 -0
  3. package/README.md +3 -0
  4. package/build/_modules/game/_models/game-contracts.interface.d.ts +82 -0
  5. package/build/_modules/game/_models/game-contracts.interface.d.ts.map +1 -0
  6. package/build/_modules/game/_models/game-contracts.interface.js +3 -0
  7. package/build/_modules/game/_models/game-contracts.interface.js.map +1 -0
  8. package/build/_modules/game/game-seam.helper.d.ts +40 -0
  9. package/build/_modules/game/game-seam.helper.d.ts.map +1 -0
  10. package/build/_modules/game/game-seam.helper.js +254 -0
  11. package/build/_modules/game/game-seam.helper.js.map +1 -0
  12. package/build/_modules/game/index.d.ts +4 -0
  13. package/build/_modules/game/index.d.ts.map +1 -0
  14. package/build/_modules/game/index.js +20 -0
  15. package/build/_modules/game/index.js.map +1 -0
  16. package/build/_modules/game/journey-catalog.validator.d.ts +5 -0
  17. package/build/_modules/game/journey-catalog.validator.d.ts.map +1 -0
  18. package/build/_modules/game/journey-catalog.validator.js +244 -0
  19. package/build/_modules/game/journey-catalog.validator.js.map +1 -0
  20. package/build/_modules/generators/_collections/form-level-emission.util.d.ts.map +1 -1
  21. package/build/_modules/generators/_collections/form-level-emission.util.js +8 -0
  22. package/build/_modules/generators/_collections/form-level-emission.util.js.map +1 -1
  23. package/build/_modules/generators/_models/form-settings-shape.interface.d.ts +7 -0
  24. package/build/_modules/generators/_models/form-settings-shape.interface.d.ts.map +1 -1
  25. package/build/_modules/presets/_collections/playwright-config.factory.d.ts.map +1 -1
  26. package/build/_modules/presets/_collections/playwright-config.factory.js +6 -0
  27. package/build/_modules/presets/_collections/playwright-config.factory.js.map +1 -1
  28. package/build/_modules/presets/_models/interfaces/playwright-config-options.interface.d.ts +4 -0
  29. package/build/_modules/presets/_models/interfaces/playwright-config-options.interface.d.ts.map +1 -1
  30. package/build/_modules/vqa/generators/ai-agent-readme.template.js +1 -1
  31. package/build/index.d.ts +1 -0
  32. package/build/index.d.ts.map +1 -1
  33. package/build/index.js +2 -1
  34. package/build/index.js.map +1 -1
  35. package/package.json +12 -5
  36. package/.c8rc.json +0 -25
  37. package/.dynamo/pipeline.cicd.config.json +0 -167
  38. package/.dynamo/version-bump.config.json +0 -5
  39. package/.github/workflows/main.yml +0 -35
  40. package/BUILD.md +0 -36
  41. package/CONTRIBUTING.md +0 -90
  42. package/build/_modules/contracts/contracts.spec.d.ts +0 -2
  43. package/build/_modules/contracts/contracts.spec.d.ts.map +0 -1
  44. package/build/_modules/contracts/contracts.spec.js +0 -144
  45. package/build/_modules/contracts/contracts.spec.js.map +0 -1
  46. package/build/_modules/cwv/cwv-comparison.spec.d.ts +0 -2
  47. package/build/_modules/cwv/cwv-comparison.spec.d.ts.map +0 -1
  48. package/build/_modules/cwv/cwv-comparison.spec.js +0 -77
  49. package/build/_modules/cwv/cwv-comparison.spec.js.map +0 -1
  50. package/build/_modules/cwv/cwv-diagnose.spec.d.ts +0 -2
  51. package/build/_modules/cwv/cwv-diagnose.spec.d.ts.map +0 -1
  52. package/build/_modules/cwv/cwv-diagnose.spec.js +0 -78
  53. package/build/_modules/cwv/cwv-diagnose.spec.js.map +0 -1
  54. package/build/_modules/cwv/cwv-suite.generator.spec.d.ts +0 -2
  55. package/build/_modules/cwv/cwv-suite.generator.spec.d.ts.map +0 -1
  56. package/build/_modules/cwv/cwv-suite.generator.spec.js +0 -81
  57. package/build/_modules/cwv/cwv-suite.generator.spec.js.map +0 -1
  58. package/build/_modules/cwv/cwv-summarize.spec.d.ts +0 -2
  59. package/build/_modules/cwv/cwv-summarize.spec.d.ts.map +0 -1
  60. package/build/_modules/cwv/cwv-summarize.spec.js +0 -70
  61. package/build/_modules/cwv/cwv-summarize.spec.js.map +0 -1
  62. package/build/_modules/cwv/inp-emit-integration.spec.d.ts +0 -2
  63. package/build/_modules/cwv/inp-emit-integration.spec.d.ts.map +0 -1
  64. package/build/_modules/cwv/inp-emit-integration.spec.js +0 -43
  65. package/build/_modules/cwv/inp-emit-integration.spec.js.map +0 -1
  66. package/build/_modules/cwv/inp-interaction-driver.spec.d.ts +0 -2
  67. package/build/_modules/cwv/inp-interaction-driver.spec.d.ts.map +0 -1
  68. package/build/_modules/cwv/inp-interaction-driver.spec.js +0 -44
  69. package/build/_modules/cwv/inp-interaction-driver.spec.js.map +0 -1
  70. package/build/_modules/cwv/inp-script.spec.d.ts +0 -2
  71. package/build/_modules/cwv/inp-script.spec.d.ts.map +0 -1
  72. package/build/_modules/cwv/inp-script.spec.js +0 -35
  73. package/build/_modules/cwv/inp-script.spec.js.map +0 -1
  74. package/build/_modules/cwv/per-route-thresholds.spec.d.ts +0 -2
  75. package/build/_modules/cwv/per-route-thresholds.spec.d.ts.map +0 -1
  76. package/build/_modules/cwv/per-route-thresholds.spec.js +0 -37
  77. package/build/_modules/cwv/per-route-thresholds.spec.js.map +0 -1
  78. package/build/_modules/generators/bootstrap.spec.d.ts +0 -2
  79. package/build/_modules/generators/bootstrap.spec.d.ts.map +0 -1
  80. package/build/_modules/generators/bootstrap.spec.js +0 -46
  81. package/build/_modules/generators/bootstrap.spec.js.map +0 -1
  82. package/build/_modules/generators/cli-runner.spec.d.ts +0 -2
  83. package/build/_modules/generators/cli-runner.spec.d.ts.map +0 -1
  84. package/build/_modules/generators/cli-runner.spec.js +0 -93
  85. package/build/_modules/generators/cli-runner.spec.js.map +0 -1
  86. package/build/_modules/generators/config-validator.spec.d.ts +0 -2
  87. package/build/_modules/generators/config-validator.spec.d.ts.map +0 -1
  88. package/build/_modules/generators/config-validator.spec.js +0 -115
  89. package/build/_modules/generators/config-validator.spec.js.map +0 -1
  90. package/build/_modules/generators/doctor.spec.d.ts +0 -2
  91. package/build/_modules/generators/doctor.spec.d.ts.map +0 -1
  92. package/build/_modules/generators/doctor.spec.js +0 -68
  93. package/build/_modules/generators/doctor.spec.js.map +0 -1
  94. package/build/_modules/generators/field-emission-edge.spec.d.ts +0 -2
  95. package/build/_modules/generators/field-emission-edge.spec.d.ts.map +0 -1
  96. package/build/_modules/generators/field-emission-edge.spec.js +0 -164
  97. package/build/_modules/generators/field-emission-edge.spec.js.map +0 -1
  98. package/build/_modules/generators/form-suite.generator.spec.d.ts +0 -2
  99. package/build/_modules/generators/form-suite.generator.spec.d.ts.map +0 -1
  100. package/build/_modules/generators/form-suite.generator.spec.js +0 -188
  101. package/build/_modules/generators/form-suite.generator.spec.js.map +0 -1
  102. package/build/_modules/generators/info.spec.d.ts +0 -2
  103. package/build/_modules/generators/info.spec.d.ts.map +0 -1
  104. package/build/_modules/generators/info.spec.js +0 -42
  105. package/build/_modules/generators/info.spec.js.map +0 -1
  106. package/build/_modules/generators/json-schema.spec.d.ts +0 -2
  107. package/build/_modules/generators/json-schema.spec.d.ts.map +0 -1
  108. package/build/_modules/generators/json-schema.spec.js +0 -81
  109. package/build/_modules/generators/json-schema.spec.js.map +0 -1
  110. package/build/_modules/generators/preset-configs.spec.d.ts +0 -2
  111. package/build/_modules/generators/preset-configs.spec.d.ts.map +0 -1
  112. package/build/_modules/generators/preset-configs.spec.js +0 -53
  113. package/build/_modules/generators/preset-configs.spec.js.map +0 -1
  114. package/build/_modules/generators/test-case-filter-edge.spec.d.ts +0 -2
  115. package/build/_modules/generators/test-case-filter-edge.spec.d.ts.map +0 -1
  116. package/build/_modules/generators/test-case-filter-edge.spec.js +0 -105
  117. package/build/_modules/generators/test-case-filter-edge.spec.js.map +0 -1
  118. package/build/_modules/generators/viewport-suite.generator.spec.d.ts +0 -2
  119. package/build/_modules/generators/viewport-suite.generator.spec.d.ts.map +0 -1
  120. package/build/_modules/generators/viewport-suite.generator.spec.js +0 -59
  121. package/build/_modules/generators/viewport-suite.generator.spec.js.map +0 -1
  122. package/build/_modules/generators/wave-2b-emission.spec.d.ts +0 -2
  123. package/build/_modules/generators/wave-2b-emission.spec.d.ts.map +0 -1
  124. package/build/_modules/generators/wave-2b-emission.spec.js +0 -115
  125. package/build/_modules/generators/wave-2b-emission.spec.js.map +0 -1
  126. package/build/_modules/presets/presets.spec.d.ts +0 -2
  127. package/build/_modules/presets/presets.spec.d.ts.map +0 -1
  128. package/build/_modules/presets/presets.spec.js +0 -286
  129. package/build/_modules/presets/presets.spec.js.map +0 -1
  130. package/build/_modules/runtime/assertion-helpers.spec.d.ts +0 -2
  131. package/build/_modules/runtime/assertion-helpers.spec.d.ts.map +0 -1
  132. package/build/_modules/runtime/assertion-helpers.spec.js +0 -57
  133. package/build/_modules/runtime/assertion-helpers.spec.js.map +0 -1
  134. package/build/_modules/runtime/logger.service.spec.d.ts +0 -2
  135. package/build/_modules/runtime/logger.service.spec.d.ts.map +0 -1
  136. package/build/_modules/runtime/logger.service.spec.js +0 -61
  137. package/build/_modules/runtime/logger.service.spec.js.map +0 -1
  138. package/build/_modules/runtime/login-flow-helper.spec.d.ts +0 -2
  139. package/build/_modules/runtime/login-flow-helper.spec.d.ts.map +0 -1
  140. package/build/_modules/runtime/login-flow-helper.spec.js +0 -74
  141. package/build/_modules/runtime/login-flow-helper.spec.js.map +0 -1
  142. package/build/_modules/runtime/page-objects.spec.d.ts +0 -2
  143. package/build/_modules/runtime/page-objects.spec.d.ts.map +0 -1
  144. package/build/_modules/runtime/page-objects.spec.js +0 -241
  145. package/build/_modules/runtime/page-objects.spec.js.map +0 -1
  146. package/build/_modules/runtime/runtime.spec.d.ts +0 -2
  147. package/build/_modules/runtime/runtime.spec.d.ts.map +0 -1
  148. package/build/_modules/runtime/runtime.spec.js +0 -73
  149. package/build/_modules/runtime/runtime.spec.js.map +0 -1
  150. package/build/_modules/runtime/unique-generator.spec.d.ts +0 -2
  151. package/build/_modules/runtime/unique-generator.spec.d.ts.map +0 -1
  152. package/build/_modules/runtime/unique-generator.spec.js +0 -41
  153. package/build/_modules/runtime/unique-generator.spec.js.map +0 -1
  154. package/build/_modules/runtime/wave-2b-page-objects.spec.d.ts +0 -2
  155. package/build/_modules/runtime/wave-2b-page-objects.spec.d.ts.map +0 -1
  156. package/build/_modules/runtime/wave-2b-page-objects.spec.js +0 -130
  157. package/build/_modules/runtime/wave-2b-page-objects.spec.js.map +0 -1
  158. package/build/_modules/vqa/capture-spec.generator.spec.d.ts +0 -2
  159. package/build/_modules/vqa/capture-spec.generator.spec.d.ts.map +0 -1
  160. package/build/_modules/vqa/capture-spec.generator.spec.js +0 -126
  161. package/build/_modules/vqa/capture-spec.generator.spec.js.map +0 -1
  162. package/build/_modules/vqa/comparison-bundle.generator.spec.d.ts +0 -2
  163. package/build/_modules/vqa/comparison-bundle.generator.spec.d.ts.map +0 -1
  164. package/build/_modules/vqa/comparison-bundle.generator.spec.js +0 -130
  165. package/build/_modules/vqa/comparison-bundle.generator.spec.js.map +0 -1
  166. package/build/_modules/vqa/finding-validator.spec.d.ts +0 -2
  167. package/build/_modules/vqa/finding-validator.spec.d.ts.map +0 -1
  168. package/build/_modules/vqa/finding-validator.spec.js +0 -136
  169. package/build/_modules/vqa/finding-validator.spec.js.map +0 -1
  170. package/build/_modules/vqa/manifest-validator.spec.d.ts +0 -2
  171. package/build/_modules/vqa/manifest-validator.spec.d.ts.map +0 -1
  172. package/build/_modules/vqa/manifest-validator.spec.js +0 -125
  173. package/build/_modules/vqa/manifest-validator.spec.js.map +0 -1
  174. package/build/_modules/vqa/review-bundle.generator.spec.d.ts +0 -2
  175. package/build/_modules/vqa/review-bundle.generator.spec.d.ts.map +0 -1
  176. package/build/_modules/vqa/review-bundle.generator.spec.js +0 -166
  177. package/build/_modules/vqa/review-bundle.generator.spec.js.map +0 -1
  178. package/build/_modules/vqa/wave-7.spec.d.ts +0 -2
  179. package/build/_modules/vqa/wave-7.spec.d.ts.map +0 -1
  180. package/build/_modules/vqa/wave-7.spec.js +0 -203
  181. package/build/_modules/vqa/wave-7.spec.js.map +0 -1
  182. package/coverage/base.css +0 -224
  183. package/coverage/block-navigation.js +0 -87
  184. package/coverage/contracts/_collections/index.html +0 -116
  185. package/coverage/contracts/_collections/index.ts.html +0 -97
  186. package/coverage/contracts/_collections/utils/index.html +0 -116
  187. package/coverage/contracts/_collections/utils/test-id.util.ts.html +0 -172
  188. package/coverage/contracts/_enums/cwv-metric-type.enum.ts.html +0 -145
  189. package/coverage/contracts/_enums/field-test-case-type.enum.ts.html +0 -394
  190. package/coverage/contracts/_enums/index.html +0 -191
  191. package/coverage/contracts/_enums/index.ts.html +0 -100
  192. package/coverage/contracts/_enums/standard-viewport.enum.ts.html +0 -127
  193. package/coverage/contracts/_enums/test-expectation-type.enum.ts.html +0 -133
  194. package/coverage/contracts/_enums/test-run-mode-type.enum.ts.html +0 -130
  195. package/coverage/contracts/index.html +0 -116
  196. package/coverage/contracts/index.ts.html +0 -121
  197. package/coverage/cwv/_collections/cwv-aggregator.util.ts.html +0 -241
  198. package/coverage/cwv/_collections/cwv-comparison.util.ts.html +0 -355
  199. package/coverage/cwv/_collections/cwv-diagnose.util.ts.html +0 -553
  200. package/coverage/cwv/_collections/cwv-emission.util.ts.html +0 -448
  201. package/coverage/cwv/_collections/cwv-summarize.util.ts.html +0 -325
  202. package/coverage/cwv/_collections/index.html +0 -206
  203. package/coverage/cwv/_collections/inp-interaction-script.const.ts.html +0 -304
  204. package/coverage/cwv/_collections/web-vitals-page-script.const.ts.html +0 -331
  205. package/coverage/cwv/cwv-suite.generator.ts.html +0 -277
  206. package/coverage/cwv/index.html +0 -116
  207. package/coverage/favicon.png +0 -0
  208. package/coverage/generators/_collections/cli-runner.util.ts.html +0 -919
  209. package/coverage/generators/_collections/config-validator.util.ts.html +0 -397
  210. package/coverage/generators/_collections/field-emission.util.ts.html +0 -604
  211. package/coverage/generators/_collections/form-level-emission.util.ts.html +0 -220
  212. package/coverage/generators/_collections/index.html +0 -236
  213. package/coverage/generators/_collections/json-schema.util.ts.html +0 -652
  214. package/coverage/generators/_collections/preset-configs.const.ts.html +0 -328
  215. package/coverage/generators/_collections/spec-emission.util.ts.html +0 -298
  216. package/coverage/generators/_collections/test-case-filter.util.ts.html +0 -523
  217. package/coverage/generators/_collections/viewport-emission.util.ts.html +0 -313
  218. package/coverage/generators/form-suite.generator.ts.html +0 -406
  219. package/coverage/generators/index.html +0 -131
  220. package/coverage/generators/viewport-suite.generator.ts.html +0 -307
  221. package/coverage/index.html +0 -266
  222. package/coverage/lcov-report/base.css +0 -224
  223. package/coverage/lcov-report/block-navigation.js +0 -87
  224. package/coverage/lcov-report/contracts/_collections/index.html +0 -116
  225. package/coverage/lcov-report/contracts/_collections/index.ts.html +0 -97
  226. package/coverage/lcov-report/contracts/_collections/utils/index.html +0 -116
  227. package/coverage/lcov-report/contracts/_collections/utils/test-id.util.ts.html +0 -172
  228. package/coverage/lcov-report/contracts/_enums/cwv-metric-type.enum.ts.html +0 -145
  229. package/coverage/lcov-report/contracts/_enums/field-test-case-type.enum.ts.html +0 -394
  230. package/coverage/lcov-report/contracts/_enums/index.html +0 -191
  231. package/coverage/lcov-report/contracts/_enums/index.ts.html +0 -100
  232. package/coverage/lcov-report/contracts/_enums/standard-viewport.enum.ts.html +0 -127
  233. package/coverage/lcov-report/contracts/_enums/test-expectation-type.enum.ts.html +0 -133
  234. package/coverage/lcov-report/contracts/_enums/test-run-mode-type.enum.ts.html +0 -130
  235. package/coverage/lcov-report/contracts/index.html +0 -116
  236. package/coverage/lcov-report/contracts/index.ts.html +0 -121
  237. package/coverage/lcov-report/cwv/_collections/cwv-aggregator.util.ts.html +0 -241
  238. package/coverage/lcov-report/cwv/_collections/cwv-comparison.util.ts.html +0 -355
  239. package/coverage/lcov-report/cwv/_collections/cwv-diagnose.util.ts.html +0 -553
  240. package/coverage/lcov-report/cwv/_collections/cwv-emission.util.ts.html +0 -448
  241. package/coverage/lcov-report/cwv/_collections/cwv-summarize.util.ts.html +0 -325
  242. package/coverage/lcov-report/cwv/_collections/index.html +0 -206
  243. package/coverage/lcov-report/cwv/_collections/inp-interaction-script.const.ts.html +0 -304
  244. package/coverage/lcov-report/cwv/_collections/web-vitals-page-script.const.ts.html +0 -331
  245. package/coverage/lcov-report/cwv/cwv-suite.generator.ts.html +0 -277
  246. package/coverage/lcov-report/cwv/index.html +0 -116
  247. package/coverage/lcov-report/favicon.png +0 -0
  248. package/coverage/lcov-report/generators/_collections/cli-runner.util.ts.html +0 -919
  249. package/coverage/lcov-report/generators/_collections/config-validator.util.ts.html +0 -397
  250. package/coverage/lcov-report/generators/_collections/field-emission.util.ts.html +0 -604
  251. package/coverage/lcov-report/generators/_collections/form-level-emission.util.ts.html +0 -220
  252. package/coverage/lcov-report/generators/_collections/index.html +0 -236
  253. package/coverage/lcov-report/generators/_collections/json-schema.util.ts.html +0 -652
  254. package/coverage/lcov-report/generators/_collections/preset-configs.const.ts.html +0 -328
  255. package/coverage/lcov-report/generators/_collections/spec-emission.util.ts.html +0 -298
  256. package/coverage/lcov-report/generators/_collections/test-case-filter.util.ts.html +0 -523
  257. package/coverage/lcov-report/generators/_collections/viewport-emission.util.ts.html +0 -313
  258. package/coverage/lcov-report/generators/form-suite.generator.ts.html +0 -406
  259. package/coverage/lcov-report/generators/index.html +0 -131
  260. package/coverage/lcov-report/generators/viewport-suite.generator.ts.html +0 -307
  261. package/coverage/lcov-report/index.html +0 -266
  262. package/coverage/lcov-report/prettify.css +0 -1
  263. package/coverage/lcov-report/prettify.js +0 -2
  264. package/coverage/lcov-report/runtime/_collections/assertion-helpers.util.ts.html +0 -205
  265. package/coverage/lcov-report/runtime/_collections/index.html +0 -146
  266. package/coverage/lcov-report/runtime/_collections/unique-generator.util.ts.html +0 -256
  267. package/coverage/lcov-report/runtime/_collections/wait-helpers.util.ts.html +0 -238
  268. package/coverage/lcov-report/runtime/_services/dialog-page-object.ts.html +0 -157
  269. package/coverage/lcov-report/runtime/_services/field-page-object.ts.html +0 -253
  270. package/coverage/lcov-report/runtime/_services/form-page-object.ts.html +0 -184
  271. package/coverage/lcov-report/runtime/_services/index.html +0 -236
  272. package/coverage/lcov-report/runtime/_services/loader-page-object.ts.html +0 -142
  273. package/coverage/lcov-report/runtime/_services/logger.service.ts.html +0 -385
  274. package/coverage/lcov-report/runtime/_services/login-flow-helper.base.ts.html +0 -331
  275. package/coverage/lcov-report/runtime/_services/nav-page-object.ts.html +0 -145
  276. package/coverage/lcov-report/runtime/_services/toast-page-object.ts.html +0 -130
  277. package/coverage/lcov-report/runtime/_services/wave-2b-page-objects.ts.html +0 -397
  278. package/coverage/lcov-report/runtime/index.html +0 -116
  279. package/coverage/lcov-report/runtime/index.ts.html +0 -178
  280. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  281. package/coverage/lcov-report/sorter.js +0 -210
  282. package/coverage/lcov.info +0 -4047
  283. package/coverage/prettify.css +0 -1
  284. package/coverage/prettify.js +0 -2
  285. package/coverage/runtime/_collections/assertion-helpers.util.ts.html +0 -205
  286. package/coverage/runtime/_collections/index.html +0 -146
  287. package/coverage/runtime/_collections/unique-generator.util.ts.html +0 -256
  288. package/coverage/runtime/_collections/wait-helpers.util.ts.html +0 -238
  289. package/coverage/runtime/_services/dialog-page-object.ts.html +0 -157
  290. package/coverage/runtime/_services/field-page-object.ts.html +0 -253
  291. package/coverage/runtime/_services/form-page-object.ts.html +0 -184
  292. package/coverage/runtime/_services/index.html +0 -236
  293. package/coverage/runtime/_services/loader-page-object.ts.html +0 -142
  294. package/coverage/runtime/_services/logger.service.ts.html +0 -385
  295. package/coverage/runtime/_services/login-flow-helper.base.ts.html +0 -331
  296. package/coverage/runtime/_services/nav-page-object.ts.html +0 -145
  297. package/coverage/runtime/_services/toast-page-object.ts.html +0 -130
  298. package/coverage/runtime/_services/wave-2b-page-objects.ts.html +0 -397
  299. package/coverage/runtime/index.html +0 -116
  300. package/coverage/runtime/index.ts.html +0 -178
  301. package/coverage/sort-arrow-sprite.png +0 -0
  302. package/coverage/sorter.js +0 -210
  303. package/coverage/tmp/coverage-228636-1781075225757-0.json +0 -1
  304. package/coverage/tmp/coverage-228704-1781075227108-0.json +0 -1
  305. package/dogfood/PARITY-MATRIX.md +0 -67
  306. package/dogfood/generated/date-range-field-new.spec.ts +0 -54
  307. package/dogfood/generated/password-field-new.spec.ts +0 -97
  308. package/dogfood/generated/radio-select-field-new.spec.ts +0 -69
  309. package/dogfood/generated/slider-field-new.spec.ts +0 -47
  310. package/dogfood/generated/text-field-new.spec.ts +0 -0
  311. package/dogfood/generated-full/checkbox-field-new.spec.ts +0 -56
  312. package/dogfood/generated-full/date-field-new.spec.ts +0 -71
  313. package/dogfood/generated-full/date-range-field-new.spec.ts +0 -54
  314. package/dogfood/generated-full/datetime-field-new.spec.ts +0 -55
  315. package/dogfood/generated-full/multiselect-field-new.spec.ts +0 -69
  316. package/dogfood/generated-full/number-field-new.spec.ts +0 -113
  317. package/dogfood/generated-full/password-field-new.spec.ts +0 -97
  318. package/dogfood/generated-full/radio-select-field-new.spec.ts +0 -69
  319. package/dogfood/generated-full/sandbox-viewport-audit.spec.ts +0 -4643
  320. package/dogfood/generated-full/select-field-new.spec.ts +0 -69
  321. package/dogfood/generated-full/slider-field-new.spec.ts +0 -47
  322. package/dogfood/generated-full/slider-range-field-new.spec.ts +0 -54
  323. package/dogfood/generated-full/text-field-new.spec.ts +0 -0
  324. package/dogfood/generated-full/textarea-field-new.spec.ts +0 -72
  325. package/dogfood/sandbox-bootstrap-full.js +0 -248
  326. package/dogfood/sandbox-bootstrap.js +0 -170
  327. package/examples/minimal-form/README.md +0 -55
  328. package/examples/minimal-form/form-config.json +0 -38
  329. package/examples/multi-form-app/README.md +0 -63
  330. package/examples/multi-form-app/cwv-config.json +0 -14
  331. package/examples/multi-form-app/settings/login-form.json +0 -11
  332. package/examples/multi-form-app/settings/profile-form.json +0 -25
  333. package/examples/multi-form-app/viewport-config.json +0 -12
  334. package/logs/cicd-job.json +0 -3
  335. package/logs/cicd-report.json +0 -3
  336. package/logs/cicd-status.json +0 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  Minden release a `dynamo-e2e-foundation` HYPERPLAN MP-N ütemezést követi.
4
4
  Verzióformátum: `MM.mm.p` (két-számjegyes major-minor, Dynamo-konvenció).
5
5
 
6
+ ## [01.18.11] — 2026-08-26 — Deterministic game E2E preset
7
+
8
+ - Added `@futdevpro/dynamo-e2e/game` with an event-driven, capability-gated seam for deterministic seed read-back,
9
+ versioned state import/export, manual clock advancement, canvas world-to-screen mapping and failure artifacts.
10
+ - The default seam guard permits loopback hosts only. Test environments require an explicit allow-list entry and
11
+ retain their server-side guard; timeout values are failure bounds, with no fixed sleep or helper polling.
12
+ - Added schema-v1 game journey contracts and bidirectional validation for cross-feature serial state carry,
13
+ step-level business assertions, value outcomes, variant coverage, executable evidence and cleanup ownership.
14
+ - Corrected `DYE2E_PACKAGE_VERSION` to the actual package version.
15
+
6
16
  ## [01.18.9] — 2026-07-21 — Playwright-config preset (fleet e2e-config konszolidáció #2)
7
17
 
8
18
  ### Added
@@ -105,9 +115,9 @@ generator (NEM AI-engine).** Az AI agent EXTERNAL consumer.
105
115
 
106
116
  ### Spec-pinning
107
117
 
108
- [`documentations/specifications/ai-visual-qa-system.md`](../../documentations/specifications/ai-visual-qa-system.md)
118
+ [`fdp-documentations/specifications/ai-visual-qa-system.md`](../../fdp-documentations/specifications/ai-visual-qa-system.md)
109
119
  22 szekció canonical, scope-LOCK preamble UI-20260611-003. Workspace HYPERPLAN:
110
- `documentations/plans/ai-visual-qa/HYPERPLAN.md` 13 MP.
120
+ `fdp-documentations/plans/ai-visual-qa/HYPERPLAN.md` 13 MP.
111
121
 
112
122
  ## [01.17.1] — 2026-06-10 — 🎯 HYPERPLAN 112/112 ✓
113
123
 
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Future Development Program Ltd. (HU)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -70,4 +70,7 @@ const specSource = DyE2E_FormSuite_Generator.emit({
70
70
  - `@futdevpro/dynamo-e2e/generators` — Node-only emission engine
71
71
  - `@futdevpro/dynamo-e2e/runtime` — Playwright fixtures + page-objects (Wave-4)
72
72
  - `@futdevpro/dynamo-e2e/presets` — pre-built suites + `DyE2E_getPlaywrightConfig` / `DyE2E_getGlobalSetup` playwright-config factory (fleet e2e-config SSOT)
73
+ - `@futdevpro/dynamo-e2e/game` — capability-gated deterministic game seam, failure artifacts and bidirectional journey-catalog validation
73
74
  - `@futdevpro/dynamo-e2e/cwv` — Core Web Vitals (Wave-3)
75
+
76
+ Detailed game-preset contract: [`__documentations/game-preset.md`](__documentations/game-preset.md).
@@ -0,0 +1,82 @@
1
+ export type DyE2E_GameCapability_Type = 'seed' | 'state' | 'clock' | 'canvas' | 'diagnostics';
2
+ export interface DyE2E_GamePoint_Interface {
3
+ x: number;
4
+ y: number;
5
+ }
6
+ export interface DyE2E_GameDiagnostics_Interface {
7
+ seed?: string | number;
8
+ stateVersion?: string | number;
9
+ clockMs?: number;
10
+ lastBusinessTransition?: string;
11
+ [key: string]: unknown;
12
+ }
13
+ export interface DyE2E_GameVersionedState_Interface<TPayload = unknown> {
14
+ schemaVersion: string | number;
15
+ payload?: TPayload;
16
+ [key: string]: unknown;
17
+ }
18
+ export interface DyE2E_GameFailureArtifact_Interface<TSnapshot = unknown, TState extends DyE2E_GameVersionedState_Interface = DyE2E_GameVersionedState_Interface> {
19
+ url: string;
20
+ viewport: {
21
+ width: number;
22
+ height: number;
23
+ } | null;
24
+ capabilities: readonly DyE2E_GameCapability_Type[];
25
+ seed?: string | number;
26
+ state?: TState;
27
+ snapshot?: TSnapshot;
28
+ diagnostics?: DyE2E_GameDiagnostics_Interface;
29
+ captureErrors?: Readonly<Record<string, string>>;
30
+ }
31
+ export interface DyE2E_GameSeam_Options_Interface {
32
+ seamKey?: string;
33
+ readyEventName?: string;
34
+ optInStorageKey?: string;
35
+ optInQueryParam?: string;
36
+ timeoutMs?: number;
37
+ allowedHosts?: readonly string[];
38
+ requiredCapabilities?: readonly DyE2E_GameCapability_Type[];
39
+ }
40
+ export interface DyE2E_GameJourneyStep_Interface {
41
+ id: string;
42
+ businessAssertion: string;
43
+ consumesStateFromStepId?: string;
44
+ }
45
+ export type DyE2E_GameJourneyVariant_Type = 'happy-path' | 'decline' | 'partial' | 'fallback' | 'interruption-resume' | 'access-limited';
46
+ export interface DyE2E_GameJourneyCleanup_Interface {
47
+ owner: string;
48
+ mode: 'hard-delete' | 'restore-snapshot' | 'reset-profile';
49
+ businessAssertion: string;
50
+ }
51
+ export interface DyE2E_GameJourney_Interface {
52
+ id: string;
53
+ title: string;
54
+ critical: boolean;
55
+ serial: true;
56
+ variant: DyE2E_GameJourneyVariant_Type;
57
+ featureIds: readonly string[];
58
+ evidenceTestIds: readonly string[];
59
+ steps: readonly DyE2E_GameJourneyStep_Interface[];
60
+ valueOutcome: string;
61
+ cleanup: DyE2E_GameJourneyCleanup_Interface;
62
+ }
63
+ export interface DyE2E_GameJourneyFeature_Interface {
64
+ id: string;
65
+ journeyIds: readonly string[];
66
+ }
67
+ export interface DyE2E_GameJourneyCatalog_Interface {
68
+ schemaVersion: 1;
69
+ requiredVariants: readonly DyE2E_GameJourneyVariant_Type[];
70
+ features: readonly DyE2E_GameJourneyFeature_Interface[];
71
+ journeys: readonly DyE2E_GameJourney_Interface[];
72
+ }
73
+ export interface DyE2E_GameJourneyCatalog_Finding_Interface {
74
+ path: string;
75
+ code: string;
76
+ message: string;
77
+ }
78
+ export interface DyE2E_GameJourneyCatalog_Validation_Interface {
79
+ valid: boolean;
80
+ findings: DyE2E_GameJourneyCatalog_Finding_Interface[];
81
+ }
82
+ //# sourceMappingURL=game-contracts.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-contracts.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/game/_models/game-contracts.interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE9F,MAAM,WAAW,yBAAyB;IACxC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,kCAAkC,CAAC,QAAQ,GAAG,OAAO;IACpE,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,mCAAmC,CAClD,SAAS,GAAG,OAAO,EACnB,MAAM,SAAS,kCAAkC,GAAG,kCAAkC;IAEtF,GAAG,EAAE,MAAM,CA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AAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,6BAA6B,CAAC;IACvC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,KAAK,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAClD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kCAAkC,CAAC;CAC7C;AAED,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kCAAkC;IACjD,aAAa,EAAE,CAAC,CAAC;IACjB,gBAAgB,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC3D,QAAQ,EAAE,SAAS,kCAAkC,EAAE,CAAC;IACxD,QAAQ,EAAE,SAAS,2BAA2B,EAAE,CAAC;CAClD;AAED,MAAM,WAAW,0CAA0C;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,0CAA0C,EAAE,CAAC;CACxD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=game-contracts.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-contracts.interface.js","sourceRoot":"","sources":["../../../../src/_modules/game/_models/game-contracts.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import type { Page } from '@playwright/test';
2
+ import { DyE2E_GameCapability_Type, DyE2E_GameFailureArtifact_Interface, DyE2E_GamePoint_Interface, DyE2E_GameSeam_Options_Interface, DyE2E_GameVersionedState_Interface } from './_models/game-contracts.interface';
3
+ /**
4
+ * Capability-gated adapter for an explicitly enabled browser game test seam.
5
+ *
6
+ * It never creates business state. Readiness is event-driven; timeout values are hard failure bounds, not fixed
7
+ * sleeps or polling intervals.
8
+ */
9
+ export declare class DyE2E_GameSeam_Helper<TSnapshot = unknown, TState extends DyE2E_GameVersionedState_Interface = DyE2E_GameVersionedState_Interface> {
10
+ private readonly page;
11
+ private readonly seamKey;
12
+ private readonly readyEventName;
13
+ private readonly optInStorageKey;
14
+ private readonly optInQueryParam;
15
+ private readonly timeoutMs;
16
+ private readonly allowedHosts;
17
+ private readonly requiredCapabilities;
18
+ constructor(page: Page, options?: DyE2E_GameSeam_Options_Interface);
19
+ /** Enable the seam before navigation. Non-loopback hosts require an explicit allow-list entry. */
20
+ enableForNavigation(targetUrl: string): Promise<void>;
21
+ /** Add the explicit query opt-in while preserving existing query parameters. */
22
+ withOptIn(targetUrl: string): string;
23
+ /** Wait for one readiness event, or return immediately if the seam is already installed. */
24
+ waitForSeam(): Promise<void>;
25
+ capabilities(): Promise<readonly DyE2E_GameCapability_Type[]>;
26
+ snapshot(): Promise<TSnapshot>;
27
+ installSeed(seed: string | number): Promise<void>;
28
+ readSeed(): Promise<string | number>;
29
+ exportState(): Promise<TState>;
30
+ importState(state: TState): Promise<void>;
31
+ advanceClock(deltaMs: number): Promise<void>;
32
+ worldToScreen(point: DyE2E_GamePoint_Interface): Promise<DyE2E_GamePoint_Interface>;
33
+ /** One browser round-trip containing the evidence needed to diagnose deterministic game failures. */
34
+ captureFailureArtifact(): Promise<DyE2E_GameFailureArtifact_Interface<TSnapshot, TState>>;
35
+ private assertAllowedHost;
36
+ private requireCapabilities;
37
+ private assertVersionedState;
38
+ private invoke;
39
+ }
40
+ //# sourceMappingURL=game-seam.helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-seam.helper.d.ts","sourceRoot":"","sources":["../../../src/_modules/game/game-seam.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EACL,yBAAyB,EAEzB,mCAAmC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,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAezF,qGAAqG;IAC/F,sBAAsB,IAAI,OAAO,CAAC,mCAAmC,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAsC/F,OAAO,CAAC,iBAAiB;YAWX,mBAAmB;IAcjC,OAAO,CAAC,oBAAoB;YAYd,MAAM;CAyBrB"}
@@ -0,0 +1,254 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DyE2E_GameSeam_Helper = void 0;
4
+ const DEFAULT_ALLOWED_HOSTS = ['localhost', '127.0.0.1', '::1'];
5
+ const KNOWN_CAPABILITIES = ['seed', 'state', 'clock', 'canvas', 'diagnostics'];
6
+ /**
7
+ * Capability-gated adapter for an explicitly enabled browser game test seam.
8
+ *
9
+ * It never creates business state. Readiness is event-driven; timeout values are hard failure bounds, not fixed
10
+ * sleeps or polling intervals.
11
+ */
12
+ class DyE2E_GameSeam_Helper {
13
+ page;
14
+ seamKey;
15
+ readyEventName;
16
+ optInStorageKey;
17
+ optInQueryParam;
18
+ timeoutMs;
19
+ allowedHosts;
20
+ requiredCapabilities;
21
+ constructor(page, options = {}) {
22
+ this.page = page;
23
+ this.seamKey = options.seamKey ?? '__dye2eGame';
24
+ this.readyEventName = options.readyEventName ?? 'dye2e:game-seam-ready';
25
+ this.optInStorageKey = options.optInStorageKey ?? 'dye2eGame';
26
+ this.optInQueryParam = options.optInQueryParam ?? 'dye2eGame';
27
+ this.timeoutMs = options.timeoutMs ?? 15_000;
28
+ this.allowedHosts = (options.allowedHosts ?? DEFAULT_ALLOWED_HOSTS).map((host) => host.toLowerCase());
29
+ this.requiredCapabilities = options.requiredCapabilities ?? [];
30
+ if (!Number.isFinite(this.timeoutMs) || this.timeoutMs <= 0) {
31
+ throw new Error(`[DyE2E_GameSeam_Helper] timeoutMs must be finite and positive; received ${this.timeoutMs}.`);
32
+ }
33
+ if (![this.seamKey, this.readyEventName, this.optInStorageKey, this.optInQueryParam].every(Boolean)) {
34
+ throw new Error('[DyE2E_GameSeam_Helper] Seam, event and opt-in names must be non-empty.');
35
+ }
36
+ if (this.allowedHosts.length === 0 || this.allowedHosts.some((host) => !host.trim())) {
37
+ throw new Error('[DyE2E_GameSeam_Helper] At least one non-empty allowed host is required.');
38
+ }
39
+ }
40
+ /** Enable the seam before navigation. Non-loopback hosts require an explicit allow-list entry. */
41
+ async enableForNavigation(targetUrl) {
42
+ this.assertAllowedHost(targetUrl);
43
+ await this.page.addInitScript((settings) => {
44
+ if (!settings.allowedHosts.includes(window.location.hostname.toLowerCase())) {
45
+ return;
46
+ }
47
+ try {
48
+ window.sessionStorage.setItem(settings.storageKey, '1');
49
+ }
50
+ catch {
51
+ // A query opt-in remains available when browser policy disables session storage.
52
+ }
53
+ }, { storageKey: this.optInStorageKey, allowedHosts: this.allowedHosts });
54
+ }
55
+ /** Add the explicit query opt-in while preserving existing query parameters. */
56
+ withOptIn(targetUrl) {
57
+ this.assertAllowedHost(targetUrl);
58
+ const parsed = new URL(targetUrl, 'http://localhost');
59
+ parsed.searchParams.set(this.optInQueryParam, '1');
60
+ return targetUrl.startsWith('/') ? `${parsed.pathname}${parsed.search}${parsed.hash}` : parsed.toString();
61
+ }
62
+ /** Wait for one readiness event, or return immediately if the seam is already installed. */
63
+ async waitForSeam() {
64
+ await this.page.evaluate(([key, eventName, timeoutMs]) => new Promise((resolve, reject) => {
65
+ let timeoutId;
66
+ const onReady = (event) => {
67
+ const detail = event.detail;
68
+ const detailKey = typeof detail === 'object' && detail !== null
69
+ ? detail.seamKey
70
+ : detail;
71
+ if (detailKey !== undefined && detailKey !== key) {
72
+ return;
73
+ }
74
+ window.clearTimeout(timeoutId);
75
+ window.removeEventListener(eventName, onReady);
76
+ resolve();
77
+ };
78
+ timeoutId = window.setTimeout(() => {
79
+ window.removeEventListener(eventName, onReady);
80
+ reject(new Error(`[DyE2E_GameSeam_Helper] '${key}' did not dispatch '${eventName}' within ${timeoutMs}ms. `
81
+ + 'Verify host allow-listing, explicit opt-in, seam installation and ready-event dispatch.'));
82
+ }, timeoutMs);
83
+ window.addEventListener(eventName, onReady);
84
+ if (window[key]) {
85
+ window.clearTimeout(timeoutId);
86
+ window.removeEventListener(eventName, onReady);
87
+ resolve();
88
+ }
89
+ }), [this.seamKey, this.readyEventName, this.timeoutMs]);
90
+ await this.requireCapabilities(this.requiredCapabilities);
91
+ }
92
+ async capabilities() {
93
+ return this.page.evaluate((settings) => {
94
+ const { key, knownCapabilities } = settings;
95
+ const seam = window[key];
96
+ if (!seam) {
97
+ throw new Error(`[DyE2E_GameSeam_Helper] Seam '${key}' is not installed.`);
98
+ }
99
+ if (!Array.isArray(seam.capabilities)) {
100
+ return [];
101
+ }
102
+ const invalid = seam.capabilities.filter((value) => !knownCapabilities.includes(value));
103
+ if (invalid.length > 0) {
104
+ throw new Error(`[DyE2E_GameSeam_Helper] Seam '${key}' declares unknown capabilities: ${invalid.join(', ')}.`);
105
+ }
106
+ return [...new Set(seam.capabilities)];
107
+ }, { key: this.seamKey, knownCapabilities: KNOWN_CAPABILITIES });
108
+ }
109
+ async snapshot() {
110
+ return this.invoke('diagnostics', 'getSnapshot');
111
+ }
112
+ async installSeed(seed) {
113
+ if ((typeof seed !== 'string' && typeof seed !== 'number')
114
+ || (typeof seed === 'string' && !seed.trim())
115
+ || (typeof seed === 'number' && !Number.isFinite(seed))) {
116
+ throw new Error(`[DyE2E_GameSeam_Helper] Seed must be a non-empty string or finite number; received '${seed}'.`);
117
+ }
118
+ const accepted = await this.invoke('seed', 'installSeed', seed);
119
+ if (accepted === false) {
120
+ throw new Error(`[DyE2E_GameSeam_Helper] The game rejected seed '${String(seed)}'.`);
121
+ }
122
+ const applied = await this.readSeed();
123
+ if (String(applied) !== String(seed)) {
124
+ throw new Error(`[DyE2E_GameSeam_Helper] Seed read-back mismatch: requested '${String(seed)}', `
125
+ + `received '${String(applied)}'.`);
126
+ }
127
+ }
128
+ async readSeed() {
129
+ const seed = await this.invoke('seed', 'readSeed');
130
+ if ((typeof seed !== 'string' && typeof seed !== 'number')
131
+ || (typeof seed === 'string' && !seed.trim())
132
+ || (typeof seed === 'number' && !Number.isFinite(seed))) {
133
+ throw new Error(`[DyE2E_GameSeam_Helper] readSeed returned an invalid seed '${String(seed)}'.`);
134
+ }
135
+ return seed;
136
+ }
137
+ async exportState() {
138
+ const state = await this.invoke('state', 'exportState');
139
+ this.assertVersionedState(state);
140
+ return state;
141
+ }
142
+ async importState(state) {
143
+ this.assertVersionedState(state);
144
+ const accepted = await this.invoke('state', 'importState', state);
145
+ if (accepted === false) {
146
+ throw new Error('[DyE2E_GameSeam_Helper] The game rejected the imported state.');
147
+ }
148
+ }
149
+ async advanceClock(deltaMs) {
150
+ if (!Number.isFinite(deltaMs) || deltaMs <= 0) {
151
+ throw new Error(`[DyE2E_GameSeam_Helper] deltaMs must be finite and positive; received ${deltaMs}.`);
152
+ }
153
+ const accepted = await this.invoke('clock', 'advanceClock', deltaMs);
154
+ if (accepted === false) {
155
+ throw new Error(`[DyE2E_GameSeam_Helper] The game rejected manual clock advancement by ${deltaMs}ms.`);
156
+ }
157
+ }
158
+ async worldToScreen(point) {
159
+ if (!point || ![point.x, point.y].every(Number.isFinite)) {
160
+ throw new Error('[DyE2E_GameSeam_Helper] World coordinates must be finite numbers.');
161
+ }
162
+ const screenPoint = await this.invoke('canvas', 'worldToScreen', point);
163
+ if (!screenPoint || ![screenPoint.x, screenPoint.y].every(Number.isFinite)) {
164
+ throw new Error('[DyE2E_GameSeam_Helper] worldToScreen returned non-finite screen coordinates.');
165
+ }
166
+ return screenPoint;
167
+ }
168
+ /** One browser round-trip containing the evidence needed to diagnose deterministic game failures. */
169
+ async captureFailureArtifact() {
170
+ return this.page.evaluate(async (key) => {
171
+ const seam = window[key];
172
+ if (!seam) {
173
+ throw new Error(`[DyE2E_GameSeam_Helper] Seam '${key}' is not installed.`);
174
+ }
175
+ const capabilities = Array.isArray(seam.capabilities)
176
+ ? [...seam.capabilities]
177
+ : [];
178
+ const captureErrors = {};
179
+ const call = async (name) => {
180
+ const method = seam[name];
181
+ if (typeof method !== 'function') {
182
+ return undefined;
183
+ }
184
+ try {
185
+ return await method.call(seam);
186
+ }
187
+ catch (error) {
188
+ captureErrors[name] = error instanceof Error ? error.message : String(error);
189
+ return undefined;
190
+ }
191
+ };
192
+ return {
193
+ url: window.location.href,
194
+ viewport: { width: window.innerWidth, height: window.innerHeight },
195
+ capabilities,
196
+ seed: capabilities.includes('seed') ? await call('readSeed') : undefined,
197
+ state: capabilities.includes('state') ? await call('exportState') : undefined,
198
+ snapshot: capabilities.includes('diagnostics') ? await call('getSnapshot') : undefined,
199
+ diagnostics: capabilities.includes('diagnostics')
200
+ ? await call('getDiagnostics')
201
+ : undefined,
202
+ captureErrors: Object.keys(captureErrors).length > 0 ? captureErrors : undefined,
203
+ };
204
+ }, this.seamKey);
205
+ }
206
+ assertAllowedHost(targetUrl) {
207
+ const parsed = new URL(targetUrl, 'http://localhost');
208
+ if (!this.allowedHosts.includes(parsed.hostname)) {
209
+ throw new Error(`[DyE2E_GameSeam_Helper] Refusing to enable a game seam on host '${parsed.hostname}'. `
210
+ + `Allowed hosts: ${this.allowedHosts.join(', ')}. Add a test host explicitly only when its server-side `
211
+ + 'seam guard is enabled.');
212
+ }
213
+ }
214
+ async requireCapabilities(required) {
215
+ if (required.length === 0) {
216
+ return;
217
+ }
218
+ const available = await this.capabilities();
219
+ const missing = required.filter((item) => !available.includes(item));
220
+ if (missing.length > 0) {
221
+ throw new Error(`[DyE2E_GameSeam_Helper] Missing required capabilities: ${missing.join(', ')}. `
222
+ + `Available: ${available.join(', ') || '(none)'}.`);
223
+ }
224
+ }
225
+ assertVersionedState(state) {
226
+ if (!state || typeof state !== 'object') {
227
+ throw new Error('[DyE2E_GameSeam_Helper] A state snapshot must be an object with schemaVersion.');
228
+ }
229
+ const schemaVersion = state.schemaVersion;
230
+ if ((typeof schemaVersion !== 'string' && typeof schemaVersion !== 'number')
231
+ || String(schemaVersion).trim().length === 0
232
+ || (typeof schemaVersion === 'number' && !Number.isFinite(schemaVersion))) {
233
+ throw new Error('[DyE2E_GameSeam_Helper] A state snapshot must carry a non-empty schemaVersion.');
234
+ }
235
+ }
236
+ async invoke(capability, methodName, ...args) {
237
+ return this.page.evaluate(([key, requiredCapability, method, callArgs]) => {
238
+ const seam = window[key];
239
+ if (!seam) {
240
+ throw new Error(`[DyE2E_GameSeam_Helper] Seam '${key}' is not installed.`);
241
+ }
242
+ if (!Array.isArray(seam.capabilities) || !seam.capabilities.includes(requiredCapability)) {
243
+ throw new Error(`[DyE2E_GameSeam_Helper] Method '${method}' requires '${requiredCapability}'.`);
244
+ }
245
+ const fn = seam[method];
246
+ if (typeof fn !== 'function') {
247
+ throw new Error(`[DyE2E_GameSeam_Helper] Capability '${requiredCapability}' declares missing method '${method}'.`);
248
+ }
249
+ return fn.apply(seam, callArgs);
250
+ }, [this.seamKey, capability, methodName, args]);
251
+ }
252
+ }
253
+ exports.DyE2E_GameSeam_Helper = DyE2E_GameSeam_Helper;
254
+ //# sourceMappingURL=game-seam.helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-seam.helper.js","sourceRoot":"","sources":["../../../src/_modules/game/game-seam.helper.ts"],"names":[],"mappings":";;;AAWA,MAAM,qBAAqB,GAAsB,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;AACnF,MAAM,kBAAkB,GAAyC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC;AAErH;;;;;GAKG;AACH,MAAa,qBAAqB;IAaH;IARZ,OAAO,CAAS;IAChB,cAAc,CAAS;IACvB,eAAe,CAAS;IACxB,eAAe,CAAS;IACxB,SAAS,CAAS;IAClB,YAAY,CAAoB;IAChC,oBAAoB,CAAuC;IAE5E,YAA6B,IAAU,EAAE,UAA4C,EAAE;QAA1D,SAAI,GAAJ,IAAI,CAAM;QACrC,IAAI,CAAC,OAAO,GAA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,CAAC;IAEO,KAAK,CAAC,MAAM,CAClB,UAAqC,EACrC,UAAkB,EAClB,GAAG,IAAe;QAElB,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CACvB,CAAC,CAAC,GAAG,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,CAAyD,EAAW,EAAE;YAC/G,MAAM,IAAI,GAAI,MAA6D,CAAC,GAAG,CAAC,CAAC;YACjF,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CAAC,iCAAiC,GAAG,qBAAqB,CAAC,CAAC;YAC7E,CAAC;YACD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC;gBACzF,MAAM,IAAI,KAAK,CAAC,mCAAmC,MAAM,eAAe,kBAAkB,IAAI,CAAC,CAAC;YAClG,CAAC;YACD,MAAM,EAAE,GAAY,IAAI,CAAC,MAAM,CAAC,CAAC;YACjC,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC;gBAC7B,MAAM,IAAI,KAAK,CACb,uCAAuC,kBAAkB,8BAA8B,MAAM,IAAI,CAClG,CAAC;YACJ,CAAC;YACD,OAAQ,EAAwC,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACzE,CAAC,EACD,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,CAA2D,CACvG,CAAC;IACJ,CAAC;CACF;AAjSD,sDAiSC"}
@@ -0,0 +1,4 @@
1
+ export * from './_models/game-contracts.interface';
2
+ export * from './game-seam.helper';
3
+ export * from './journey-catalog.validator';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/game/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./_models/game-contracts.interface"), exports);
18
+ __exportStar(require("./game-seam.helper"), exports);
19
+ __exportStar(require("./journey-catalog.validator"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/game/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qDAAmC;AACnC,8DAA4C"}
@@ -0,0 +1,5 @@
1
+ import { DyE2E_GameJourneyCatalog_Validation_Interface } from './_models/game-contracts.interface';
2
+ /** Validate cross-feature, state-carrying journey evidence without executing or manufacturing business state. */
3
+ export declare function DyE2E_validateGameJourneyCatalog(candidate: unknown): DyE2E_GameJourneyCatalog_Validation_Interface;
4
+ export declare function DyE2E_assertGameJourneyCatalog(catalog: unknown): void;
5
+ //# sourceMappingURL=journey-catalog.validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"journey-catalog.validator.d.ts","sourceRoot":"","sources":["../../../src/_modules/game/journey-catalog.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,6CAA6C,EAC9C,MAAM,oCAAoC,CAAC;AAa5C,iHAAiH;AACjH,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,OAAO,GACjB,6CAA6C,CAmJ/C;AAED,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAQrE"}