@serenity-js/core 3.41.1 → 3.42.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 (1736) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/esm/Serenity.d.ts +209 -0
  3. package/esm/Serenity.d.ts.map +1 -0
  4. package/esm/Serenity.js +272 -0
  5. package/esm/Serenity.js.map +1 -0
  6. package/esm/adapter/OutputStream.d.ts +15 -0
  7. package/esm/adapter/OutputStream.d.ts.map +1 -0
  8. package/esm/adapter/OutputStream.js +2 -0
  9. package/esm/adapter/OutputStream.js.map +1 -0
  10. package/esm/adapter/TestRunnerAdapter.d.ts +33 -0
  11. package/esm/adapter/TestRunnerAdapter.d.ts.map +1 -0
  12. package/esm/adapter/TestRunnerAdapter.js +2 -0
  13. package/esm/adapter/TestRunnerAdapter.js.map +1 -0
  14. package/esm/adapter/index.d.ts +3 -0
  15. package/esm/adapter/index.d.ts.map +1 -0
  16. package/esm/adapter/index.js +3 -0
  17. package/esm/adapter/index.js.map +1 -0
  18. package/esm/config/ClassDescription.d.ts +60 -0
  19. package/esm/config/ClassDescription.d.ts.map +1 -0
  20. package/esm/config/ClassDescription.js +2 -0
  21. package/esm/config/ClassDescription.js.map +1 -0
  22. package/esm/config/SerenityConfig.d.ts +75 -0
  23. package/esm/config/SerenityConfig.d.ts.map +1 -0
  24. package/esm/config/SerenityConfig.js +70 -0
  25. package/esm/config/SerenityConfig.js.map +1 -0
  26. package/esm/config/index.d.ts +3 -0
  27. package/esm/config/index.d.ts.map +1 -0
  28. package/esm/config/index.js +3 -0
  29. package/esm/config/index.js.map +1 -0
  30. package/esm/errors/ErrorFactory.d.ts +17 -0
  31. package/esm/errors/ErrorFactory.d.ts.map +1 -0
  32. package/esm/errors/ErrorFactory.js +244 -0
  33. package/esm/errors/ErrorFactory.js.map +1 -0
  34. package/esm/errors/ErrorOptions.d.ts +16 -0
  35. package/esm/errors/ErrorOptions.d.ts.map +1 -0
  36. package/esm/errors/ErrorOptions.js +2 -0
  37. package/esm/errors/ErrorOptions.js.map +1 -0
  38. package/esm/errors/ErrorSerialiser.d.ts +14 -0
  39. package/esm/errors/ErrorSerialiser.d.ts.map +1 -0
  40. package/esm/errors/ErrorSerialiser.js +70 -0
  41. package/esm/errors/ErrorSerialiser.js.map +1 -0
  42. package/esm/errors/ErrorStackParser.d.ts +13 -0
  43. package/esm/errors/ErrorStackParser.d.ts.map +1 -0
  44. package/esm/errors/ErrorStackParser.js +15 -0
  45. package/esm/errors/ErrorStackParser.js.map +1 -0
  46. package/esm/errors/RaiseErrors.d.ts +57 -0
  47. package/esm/errors/RaiseErrors.d.ts.map +1 -0
  48. package/esm/errors/RaiseErrors.js +59 -0
  49. package/esm/errors/RaiseErrors.js.map +1 -0
  50. package/esm/errors/diff/AnsiDiffFormatter.d.ts +28 -0
  51. package/esm/errors/diff/AnsiDiffFormatter.d.ts.map +1 -0
  52. package/esm/errors/diff/AnsiDiffFormatter.js +36 -0
  53. package/esm/errors/diff/AnsiDiffFormatter.js.map +1 -0
  54. package/esm/errors/diff/DiffFormatter.d.ts +13 -0
  55. package/esm/errors/diff/DiffFormatter.d.ts.map +1 -0
  56. package/esm/errors/diff/DiffFormatter.js +2 -0
  57. package/esm/errors/diff/DiffFormatter.js.map +1 -0
  58. package/esm/errors/diff/NoOpDiffFormatter.d.ts +12 -0
  59. package/esm/errors/diff/NoOpDiffFormatter.d.ts.map +1 -0
  60. package/esm/errors/diff/NoOpDiffFormatter.js +17 -0
  61. package/esm/errors/diff/NoOpDiffFormatter.js.map +1 -0
  62. package/esm/errors/diff/index.d.ts +4 -0
  63. package/esm/errors/diff/index.d.ts.map +1 -0
  64. package/esm/errors/diff/index.js +4 -0
  65. package/esm/errors/diff/index.js.map +1 -0
  66. package/esm/errors/index.d.ts +8 -0
  67. package/esm/errors/index.d.ts.map +1 -0
  68. package/esm/errors/index.js +15 -0
  69. package/esm/errors/index.js.map +1 -0
  70. package/esm/errors/model/AssertionError.d.ts +16 -0
  71. package/esm/errors/model/AssertionError.d.ts.map +1 -0
  72. package/esm/errors/model/AssertionError.js +22 -0
  73. package/esm/errors/model/AssertionError.js.map +1 -0
  74. package/esm/errors/model/ConfigurationError.d.ts +16 -0
  75. package/esm/errors/model/ConfigurationError.d.ts.map +1 -0
  76. package/esm/errors/model/ConfigurationError.js +22 -0
  77. package/esm/errors/model/ConfigurationError.js.map +1 -0
  78. package/esm/errors/model/ImplementationPendingError.d.ts +37 -0
  79. package/esm/errors/model/ImplementationPendingError.d.ts.map +1 -0
  80. package/esm/errors/model/ImplementationPendingError.js +43 -0
  81. package/esm/errors/model/ImplementationPendingError.js.map +1 -0
  82. package/esm/errors/model/ListItemNotFoundError.d.ts +20 -0
  83. package/esm/errors/model/ListItemNotFoundError.d.ts.map +1 -0
  84. package/esm/errors/model/ListItemNotFoundError.js +26 -0
  85. package/esm/errors/model/ListItemNotFoundError.js.map +1 -0
  86. package/esm/errors/model/LogicError.d.ts +20 -0
  87. package/esm/errors/model/LogicError.d.ts.map +1 -0
  88. package/esm/errors/model/LogicError.js +26 -0
  89. package/esm/errors/model/LogicError.js.map +1 -0
  90. package/esm/errors/model/OperationInterruptedError.d.ts +20 -0
  91. package/esm/errors/model/OperationInterruptedError.d.ts.map +1 -0
  92. package/esm/errors/model/OperationInterruptedError.js +26 -0
  93. package/esm/errors/model/OperationInterruptedError.js.map +1 -0
  94. package/esm/errors/model/RuntimeError.d.ts +95 -0
  95. package/esm/errors/model/RuntimeError.d.ts.map +1 -0
  96. package/esm/errors/model/RuntimeError.js +138 -0
  97. package/esm/errors/model/RuntimeError.js.map +1 -0
  98. package/esm/errors/model/TestCompromisedError.d.ts +31 -0
  99. package/esm/errors/model/TestCompromisedError.d.ts.map +1 -0
  100. package/esm/errors/model/TestCompromisedError.js +37 -0
  101. package/esm/errors/model/TestCompromisedError.js.map +1 -0
  102. package/esm/errors/model/TimeoutExpiredError.d.ts +20 -0
  103. package/esm/errors/model/TimeoutExpiredError.d.ts.map +1 -0
  104. package/esm/errors/model/TimeoutExpiredError.js +26 -0
  105. package/esm/errors/model/TimeoutExpiredError.js.map +1 -0
  106. package/esm/errors/model/UnknownError.d.ts +16 -0
  107. package/esm/errors/model/UnknownError.d.ts.map +1 -0
  108. package/esm/errors/model/UnknownError.js +22 -0
  109. package/esm/errors/model/UnknownError.js.map +1 -0
  110. package/esm/errors/model/index.d.ts +11 -0
  111. package/esm/errors/model/index.d.ts.map +1 -0
  112. package/esm/errors/model/index.js +11 -0
  113. package/esm/errors/model/index.js.map +1 -0
  114. package/esm/events/ActivityFinished.d.ts +16 -0
  115. package/esm/events/ActivityFinished.d.ts.map +1 -0
  116. package/esm/events/ActivityFinished.js +25 -0
  117. package/esm/events/ActivityFinished.js.map +1 -0
  118. package/esm/events/ActivityRelatedArtifactArchived.d.ts +16 -0
  119. package/esm/events/ActivityRelatedArtifactArchived.d.ts.map +1 -0
  120. package/esm/events/ActivityRelatedArtifactArchived.js +34 -0
  121. package/esm/events/ActivityRelatedArtifactArchived.js.map +1 -0
  122. package/esm/events/ActivityRelatedArtifactGenerated.d.ts +13 -0
  123. package/esm/events/ActivityRelatedArtifactGenerated.d.ts.map +1 -0
  124. package/esm/events/ActivityRelatedArtifactGenerated.js +19 -0
  125. package/esm/events/ActivityRelatedArtifactGenerated.js.map +1 -0
  126. package/esm/events/ActivityStarts.d.ts +15 -0
  127. package/esm/events/ActivityStarts.d.ts.map +1 -0
  128. package/esm/events/ActivityStarts.js +22 -0
  129. package/esm/events/ActivityStarts.js.map +1 -0
  130. package/esm/events/ArtifactArchived.d.ts +20 -0
  131. package/esm/events/ArtifactArchived.d.ts.map +1 -0
  132. package/esm/events/ArtifactArchived.js +43 -0
  133. package/esm/events/ArtifactArchived.js.map +1 -0
  134. package/esm/events/ArtifactGenerated.d.ts +15 -0
  135. package/esm/events/ArtifactGenerated.d.ts.map +1 -0
  136. package/esm/events/ArtifactGenerated.js +25 -0
  137. package/esm/events/ArtifactGenerated.js.map +1 -0
  138. package/esm/events/AsyncOperationAborted.d.ts +14 -0
  139. package/esm/events/AsyncOperationAborted.d.ts.map +1 -0
  140. package/esm/events/AsyncOperationAborted.js +22 -0
  141. package/esm/events/AsyncOperationAborted.js.map +1 -0
  142. package/esm/events/AsyncOperationAttempted.d.ts +15 -0
  143. package/esm/events/AsyncOperationAttempted.d.ts.map +1 -0
  144. package/esm/events/AsyncOperationAttempted.js +25 -0
  145. package/esm/events/AsyncOperationAttempted.js.map +1 -0
  146. package/esm/events/AsyncOperationCompleted.d.ts +13 -0
  147. package/esm/events/AsyncOperationCompleted.d.ts.map +1 -0
  148. package/esm/events/AsyncOperationCompleted.js +19 -0
  149. package/esm/events/AsyncOperationCompleted.js.map +1 -0
  150. package/esm/events/AsyncOperationFailed.d.ts +15 -0
  151. package/esm/events/AsyncOperationFailed.d.ts.map +1 -0
  152. package/esm/events/AsyncOperationFailed.js +30 -0
  153. package/esm/events/AsyncOperationFailed.js.map +1 -0
  154. package/esm/events/BusinessRuleDetected.d.ts +18 -0
  155. package/esm/events/BusinessRuleDetected.d.ts.map +1 -0
  156. package/esm/events/BusinessRuleDetected.js +28 -0
  157. package/esm/events/BusinessRuleDetected.js.map +1 -0
  158. package/esm/events/DomainEvent.d.ts +15 -0
  159. package/esm/events/DomainEvent.d.ts.map +1 -0
  160. package/esm/events/DomainEvent.js +19 -0
  161. package/esm/events/DomainEvent.js.map +1 -0
  162. package/esm/events/EmitsDomainEvents.d.ts +10 -0
  163. package/esm/events/EmitsDomainEvents.d.ts.map +1 -0
  164. package/esm/events/EmitsDomainEvents.js +2 -0
  165. package/esm/events/EmitsDomainEvents.js.map +1 -0
  166. package/esm/events/FeatureNarrativeDetected.d.ts +14 -0
  167. package/esm/events/FeatureNarrativeDetected.d.ts.map +1 -0
  168. package/esm/events/FeatureNarrativeDetected.js +22 -0
  169. package/esm/events/FeatureNarrativeDetected.js.map +1 -0
  170. package/esm/events/InteractionFinished.d.ts +14 -0
  171. package/esm/events/InteractionFinished.d.ts.map +1 -0
  172. package/esm/events/InteractionFinished.js +17 -0
  173. package/esm/events/InteractionFinished.js.map +1 -0
  174. package/esm/events/InteractionStarts.d.ts +11 -0
  175. package/esm/events/InteractionStarts.d.ts.map +1 -0
  176. package/esm/events/InteractionStarts.js +14 -0
  177. package/esm/events/InteractionStarts.js.map +1 -0
  178. package/esm/events/RetryableSceneDetected.d.ts +24 -0
  179. package/esm/events/RetryableSceneDetected.d.ts.map +1 -0
  180. package/esm/events/RetryableSceneDetected.js +30 -0
  181. package/esm/events/RetryableSceneDetected.js.map +1 -0
  182. package/esm/events/SceneBackgroundDetected.d.ts +15 -0
  183. package/esm/events/SceneBackgroundDetected.d.ts.map +1 -0
  184. package/esm/events/SceneBackgroundDetected.js +24 -0
  185. package/esm/events/SceneBackgroundDetected.js.map +1 -0
  186. package/esm/events/SceneDescriptionDetected.d.ts +14 -0
  187. package/esm/events/SceneDescriptionDetected.d.ts.map +1 -0
  188. package/esm/events/SceneDescriptionDetected.js +22 -0
  189. package/esm/events/SceneDescriptionDetected.js.map +1 -0
  190. package/esm/events/SceneFinished.d.ts +15 -0
  191. package/esm/events/SceneFinished.d.ts.map +1 -0
  192. package/esm/events/SceneFinished.js +25 -0
  193. package/esm/events/SceneFinished.js.map +1 -0
  194. package/esm/events/SceneFinishes.d.ts +22 -0
  195. package/esm/events/SceneFinishes.d.ts.map +1 -0
  196. package/esm/events/SceneFinishes.js +32 -0
  197. package/esm/events/SceneFinishes.js.map +1 -0
  198. package/esm/events/SceneParametersDetected.d.ts +15 -0
  199. package/esm/events/SceneParametersDetected.d.ts.map +1 -0
  200. package/esm/events/SceneParametersDetected.js +25 -0
  201. package/esm/events/SceneParametersDetected.js.map +1 -0
  202. package/esm/events/SceneSequenceDetected.d.ts +14 -0
  203. package/esm/events/SceneSequenceDetected.d.ts.map +1 -0
  204. package/esm/events/SceneSequenceDetected.js +22 -0
  205. package/esm/events/SceneSequenceDetected.js.map +1 -0
  206. package/esm/events/SceneStarts.d.ts +16 -0
  207. package/esm/events/SceneStarts.d.ts.map +1 -0
  208. package/esm/events/SceneStarts.js +24 -0
  209. package/esm/events/SceneStarts.js.map +1 -0
  210. package/esm/events/SceneTagged.d.ts +14 -0
  211. package/esm/events/SceneTagged.d.ts.map +1 -0
  212. package/esm/events/SceneTagged.js +22 -0
  213. package/esm/events/SceneTagged.js.map +1 -0
  214. package/esm/events/SceneTemplateDetected.d.ts +14 -0
  215. package/esm/events/SceneTemplateDetected.d.ts.map +1 -0
  216. package/esm/events/SceneTemplateDetected.js +22 -0
  217. package/esm/events/SceneTemplateDetected.js.map +1 -0
  218. package/esm/events/TaskFinished.d.ts +9 -0
  219. package/esm/events/TaskFinished.d.ts.map +1 -0
  220. package/esm/events/TaskFinished.js +12 -0
  221. package/esm/events/TaskFinished.js.map +1 -0
  222. package/esm/events/TaskStarts.d.ts +9 -0
  223. package/esm/events/TaskStarts.d.ts.map +1 -0
  224. package/esm/events/TaskStarts.js +12 -0
  225. package/esm/events/TaskStarts.js.map +1 -0
  226. package/esm/events/TestRunFinished.d.ts +15 -0
  227. package/esm/events/TestRunFinished.d.ts.map +1 -0
  228. package/esm/events/TestRunFinished.js +19 -0
  229. package/esm/events/TestRunFinished.js.map +1 -0
  230. package/esm/events/TestRunFinishes.d.ts +13 -0
  231. package/esm/events/TestRunFinishes.d.ts.map +1 -0
  232. package/esm/events/TestRunFinishes.js +17 -0
  233. package/esm/events/TestRunFinishes.js.map +1 -0
  234. package/esm/events/TestRunStarts.d.ts +12 -0
  235. package/esm/events/TestRunStarts.d.ts.map +1 -0
  236. package/esm/events/TestRunStarts.js +16 -0
  237. package/esm/events/TestRunStarts.js.map +1 -0
  238. package/esm/events/TestRunnerDetected.d.ts +14 -0
  239. package/esm/events/TestRunnerDetected.d.ts.map +1 -0
  240. package/esm/events/TestRunnerDetected.js +22 -0
  241. package/esm/events/TestRunnerDetected.js.map +1 -0
  242. package/esm/events/TestSuiteFinished.d.ts +14 -0
  243. package/esm/events/TestSuiteFinished.d.ts.map +1 -0
  244. package/esm/events/TestSuiteFinished.js +22 -0
  245. package/esm/events/TestSuiteFinished.js.map +1 -0
  246. package/esm/events/TestSuiteStarts.d.ts +13 -0
  247. package/esm/events/TestSuiteStarts.d.ts.map +1 -0
  248. package/esm/events/TestSuiteStarts.js +19 -0
  249. package/esm/events/TestSuiteStarts.js.map +1 -0
  250. package/esm/events/actor/ActorEntersStage.d.ts +23 -0
  251. package/esm/events/actor/ActorEntersStage.d.ts.map +1 -0
  252. package/esm/events/actor/ActorEntersStage.js +31 -0
  253. package/esm/events/actor/ActorEntersStage.js.map +1 -0
  254. package/esm/events/actor/ActorSpotlighted.d.ts +25 -0
  255. package/esm/events/actor/ActorSpotlighted.d.ts.map +1 -0
  256. package/esm/events/actor/ActorSpotlighted.js +32 -0
  257. package/esm/events/actor/ActorSpotlighted.js.map +1 -0
  258. package/esm/events/actor/ActorStageExitAttempted.d.ts +19 -0
  259. package/esm/events/actor/ActorStageExitAttempted.d.ts.map +1 -0
  260. package/esm/events/actor/ActorStageExitAttempted.js +25 -0
  261. package/esm/events/actor/ActorStageExitAttempted.js.map +1 -0
  262. package/esm/events/actor/ActorStageExitCompleted.d.ts +20 -0
  263. package/esm/events/actor/ActorStageExitCompleted.d.ts.map +1 -0
  264. package/esm/events/actor/ActorStageExitCompleted.js +26 -0
  265. package/esm/events/actor/ActorStageExitCompleted.js.map +1 -0
  266. package/esm/events/actor/ActorStageExitFailed.d.ts +17 -0
  267. package/esm/events/actor/ActorStageExitFailed.d.ts.map +1 -0
  268. package/esm/events/actor/ActorStageExitFailed.js +21 -0
  269. package/esm/events/actor/ActorStageExitFailed.js.map +1 -0
  270. package/esm/events/actor/ActorStageExitStarts.d.ts +20 -0
  271. package/esm/events/actor/ActorStageExitStarts.d.ts.map +1 -0
  272. package/esm/events/actor/ActorStageExitStarts.js +28 -0
  273. package/esm/events/actor/ActorStageExitStarts.js.map +1 -0
  274. package/esm/events/actor/index.d.ts +7 -0
  275. package/esm/events/actor/index.d.ts.map +1 -0
  276. package/esm/events/actor/index.js +7 -0
  277. package/esm/events/actor/index.js.map +1 -0
  278. package/esm/events/index.d.ts +36 -0
  279. package/esm/events/index.d.ts.map +1 -0
  280. package/esm/events/index.js +36 -0
  281. package/esm/events/index.js.map +1 -0
  282. package/esm/index.d.ts +8 -0
  283. package/esm/index.d.ts.map +1 -0
  284. package/esm/index.js +8 -0
  285. package/esm/index.js.map +1 -0
  286. package/esm/instance.d.ts +253 -0
  287. package/esm/instance.d.ts.map +1 -0
  288. package/esm/instance.js +270 -0
  289. package/esm/instance.js.map +1 -0
  290. package/esm/io/Config.d.ts +18 -0
  291. package/esm/io/Config.d.ts.map +1 -0
  292. package/esm/io/Config.js +44 -0
  293. package/esm/io/Config.js.map +1 -0
  294. package/esm/io/FileFinder.d.ts +7 -0
  295. package/esm/io/FileFinder.d.ts.map +1 -0
  296. package/esm/io/FileFinder.js +19 -0
  297. package/esm/io/FileFinder.js.map +1 -0
  298. package/esm/io/FileSystem.d.ts +39 -0
  299. package/esm/io/FileSystem.d.ts.map +1 -0
  300. package/esm/io/FileSystem.js +88 -0
  301. package/esm/io/FileSystem.js.map +1 -0
  302. package/esm/io/FileSystemLocation.d.ts +11 -0
  303. package/esm/io/FileSystemLocation.d.ts.map +1 -0
  304. package/esm/io/FileSystemLocation.js +17 -0
  305. package/esm/io/FileSystemLocation.js.map +1 -0
  306. package/esm/io/Path.d.ts +20 -0
  307. package/esm/io/Path.d.ts.map +1 -0
  308. package/esm/io/Path.js +96 -0
  309. package/esm/io/Path.js.map +1 -0
  310. package/esm/io/RequirementsHierarchy.d.ts +16 -0
  311. package/esm/io/RequirementsHierarchy.d.ts.map +1 -0
  312. package/esm/io/RequirementsHierarchy.js +72 -0
  313. package/esm/io/RequirementsHierarchy.js.map +1 -0
  314. package/esm/io/Version.d.ts +24 -0
  315. package/esm/io/Version.d.ts.map +1 -0
  316. package/esm/io/Version.js +51 -0
  317. package/esm/io/Version.js.map +1 -0
  318. package/esm/io/asyncMap.d.ts +8 -0
  319. package/esm/io/asyncMap.d.ts.map +1 -0
  320. package/esm/io/asyncMap.js +14 -0
  321. package/esm/io/asyncMap.js.map +1 -0
  322. package/esm/io/commaSeparated.d.ts +13 -0
  323. package/esm/io/commaSeparated.d.ts.map +1 -0
  324. package/esm/io/commaSeparated.js +26 -0
  325. package/esm/io/commaSeparated.js.map +1 -0
  326. package/esm/io/format.d.ts +75 -0
  327. package/esm/io/format.d.ts.map +1 -0
  328. package/esm/io/format.js +82 -0
  329. package/esm/io/format.js.map +1 -0
  330. package/esm/io/index.d.ts +17 -0
  331. package/esm/io/index.d.ts.map +1 -0
  332. package/esm/io/index.js +17 -0
  333. package/esm/io/index.js.map +1 -0
  334. package/esm/io/inspected.d.ts +3 -0
  335. package/esm/io/inspected.d.ts.map +1 -0
  336. package/esm/io/inspected.js +14 -0
  337. package/esm/io/inspected.js.map +1 -0
  338. package/esm/io/inspectedObject.d.ts +3 -0
  339. package/esm/io/inspectedObject.d.ts.map +1 -0
  340. package/esm/io/inspectedObject.js +28 -0
  341. package/esm/io/inspectedObject.js.map +1 -0
  342. package/esm/io/loader/ClassDescriptionParser.d.ts +8 -0
  343. package/esm/io/loader/ClassDescriptionParser.d.ts.map +1 -0
  344. package/esm/io/loader/ClassDescriptionParser.js +45 -0
  345. package/esm/io/loader/ClassDescriptionParser.js.map +1 -0
  346. package/esm/io/loader/ClassDescriptor.d.ts +7 -0
  347. package/esm/io/loader/ClassDescriptor.d.ts.map +1 -0
  348. package/esm/io/loader/ClassDescriptor.js +2 -0
  349. package/esm/io/loader/ClassDescriptor.js.map +1 -0
  350. package/esm/io/loader/ClassLoader.d.ts +12 -0
  351. package/esm/io/loader/ClassLoader.d.ts.map +1 -0
  352. package/esm/io/loader/ClassLoader.js +54 -0
  353. package/esm/io/loader/ClassLoader.js.map +1 -0
  354. package/esm/io/loader/ModuleLoader.d.ts +48 -0
  355. package/esm/io/loader/ModuleLoader.d.ts.map +1 -0
  356. package/esm/io/loader/ModuleLoader.js +95 -0
  357. package/esm/io/loader/ModuleLoader.js.map +1 -0
  358. package/esm/io/loader/Version.d.ts +31 -0
  359. package/esm/io/loader/Version.d.ts.map +1 -0
  360. package/esm/io/loader/Version.js +50 -0
  361. package/esm/io/loader/Version.js.map +1 -0
  362. package/esm/io/loader/index.d.ts +5 -0
  363. package/esm/io/loader/index.d.ts.map +1 -0
  364. package/esm/io/loader/index.js +5 -0
  365. package/esm/io/loader/index.js.map +1 -0
  366. package/esm/io/proxies.d.ts +8 -0
  367. package/esm/io/proxies.d.ts.map +1 -0
  368. package/esm/io/proxies.js +13 -0
  369. package/esm/io/proxies.js.map +1 -0
  370. package/esm/io/reflection/ValueInspector.d.ts +56 -0
  371. package/esm/io/reflection/ValueInspector.d.ts.map +1 -0
  372. package/esm/io/reflection/ValueInspector.js +145 -0
  373. package/esm/io/reflection/ValueInspector.js.map +1 -0
  374. package/esm/io/reflection/has.d.ts +27 -0
  375. package/esm/io/reflection/has.d.ts.map +1 -0
  376. package/esm/io/reflection/has.js +31 -0
  377. package/esm/io/reflection/has.js.map +1 -0
  378. package/esm/io/reflection/index.d.ts +3 -0
  379. package/esm/io/reflection/index.d.ts.map +1 -0
  380. package/esm/io/reflection/index.js +3 -0
  381. package/esm/io/reflection/index.js.map +1 -0
  382. package/esm/io/stringified.d.ts +18 -0
  383. package/esm/io/stringified.d.ts.map +1 -0
  384. package/esm/io/stringified.js +113 -0
  385. package/esm/io/stringified.js.map +1 -0
  386. package/esm/io/trimmed.d.ts +10 -0
  387. package/esm/io/trimmed.d.ts.map +1 -0
  388. package/esm/io/trimmed.js +24 -0
  389. package/esm/io/trimmed.js.map +1 -0
  390. package/esm/model/ActivityDetails.d.ts +19 -0
  391. package/esm/model/ActivityDetails.d.ts.map +1 -0
  392. package/esm/model/ActivityDetails.js +24 -0
  393. package/esm/model/ActivityDetails.js.map +1 -0
  394. package/esm/model/Artifact.d.ts +16 -0
  395. package/esm/model/Artifact.d.ts.map +1 -0
  396. package/esm/model/Artifact.js +37 -0
  397. package/esm/model/Artifact.js.map +1 -0
  398. package/esm/model/BusinessRule.d.ts +11 -0
  399. package/esm/model/BusinessRule.d.ts.map +1 -0
  400. package/esm/model/BusinessRule.js +18 -0
  401. package/esm/model/BusinessRule.js.map +1 -0
  402. package/esm/model/Category.d.ts +7 -0
  403. package/esm/model/Category.d.ts.map +1 -0
  404. package/esm/model/Category.js +13 -0
  405. package/esm/model/Category.js.map +1 -0
  406. package/esm/model/CorrelationId.d.ts +8 -0
  407. package/esm/model/CorrelationId.d.ts.map +1 -0
  408. package/esm/model/CorrelationId.js +20 -0
  409. package/esm/model/CorrelationId.js.map +1 -0
  410. package/esm/model/CorrelationIdFactory.d.ts +8 -0
  411. package/esm/model/CorrelationIdFactory.d.ts.map +1 -0
  412. package/esm/model/CorrelationIdFactory.js +2 -0
  413. package/esm/model/CorrelationIdFactory.js.map +1 -0
  414. package/esm/model/Description.d.ts +7 -0
  415. package/esm/model/Description.d.ts.map +1 -0
  416. package/esm/model/Description.js +13 -0
  417. package/esm/model/Description.js.map +1 -0
  418. package/esm/model/Name.d.ts +7 -0
  419. package/esm/model/Name.d.ts.map +1 -0
  420. package/esm/model/Name.js +13 -0
  421. package/esm/model/Name.js.map +1 -0
  422. package/esm/model/ScenarioDetails.d.ts +13 -0
  423. package/esm/model/ScenarioDetails.d.ts.map +1 -0
  424. package/esm/model/ScenarioDetails.js +22 -0
  425. package/esm/model/ScenarioDetails.js.map +1 -0
  426. package/esm/model/ScenarioParameters.d.ts +16 -0
  427. package/esm/model/ScenarioParameters.d.ts.map +1 -0
  428. package/esm/model/ScenarioParameters.js +21 -0
  429. package/esm/model/ScenarioParameters.js.map +1 -0
  430. package/esm/model/TestSuiteDetails.d.ts +13 -0
  431. package/esm/model/TestSuiteDetails.d.ts.map +1 -0
  432. package/esm/model/TestSuiteDetails.js +19 -0
  433. package/esm/model/TestSuiteDetails.js.map +1 -0
  434. package/esm/model/artifacts/HTTPRequestResponse.d.ts +27 -0
  435. package/esm/model/artifacts/HTTPRequestResponse.d.ts.map +1 -0
  436. package/esm/model/artifacts/HTTPRequestResponse.js +10 -0
  437. package/esm/model/artifacts/HTTPRequestResponse.js.map +1 -0
  438. package/esm/model/artifacts/JSONData.d.ts +7 -0
  439. package/esm/model/artifacts/JSONData.d.ts.map +1 -0
  440. package/esm/model/artifacts/JSONData.js +10 -0
  441. package/esm/model/artifacts/JSONData.js.map +1 -0
  442. package/esm/model/artifacts/LogEntry.d.ts +7 -0
  443. package/esm/model/artifacts/LogEntry.d.ts.map +1 -0
  444. package/esm/model/artifacts/LogEntry.js +7 -0
  445. package/esm/model/artifacts/LogEntry.js.map +1 -0
  446. package/esm/model/artifacts/Photo.d.ts +14 -0
  447. package/esm/model/artifacts/Photo.d.ts.map +1 -0
  448. package/esm/model/artifacts/Photo.js +23 -0
  449. package/esm/model/artifacts/Photo.js.map +1 -0
  450. package/esm/model/artifacts/TestReport.d.ts +7 -0
  451. package/esm/model/artifacts/TestReport.d.ts.map +1 -0
  452. package/esm/model/artifacts/TestReport.js +10 -0
  453. package/esm/model/artifacts/TestReport.js.map +1 -0
  454. package/esm/model/artifacts/TextData.d.ts +8 -0
  455. package/esm/model/artifacts/TextData.d.ts.map +1 -0
  456. package/esm/model/artifacts/TextData.js +7 -0
  457. package/esm/model/artifacts/TextData.js.map +1 -0
  458. package/esm/model/artifacts/index.d.ts +7 -0
  459. package/esm/model/artifacts/index.d.ts.map +1 -0
  460. package/esm/model/artifacts/index.js +7 -0
  461. package/esm/model/artifacts/index.js.map +1 -0
  462. package/esm/model/index.d.ts +15 -0
  463. package/esm/model/index.d.ts.map +1 -0
  464. package/esm/model/index.js +16 -0
  465. package/esm/model/index.js.map +1 -0
  466. package/esm/model/outcomes.d.ts +97 -0
  467. package/esm/model/outcomes.d.ts.map +1 -0
  468. package/esm/model/outcomes.js +162 -0
  469. package/esm/model/outcomes.js.map +1 -0
  470. package/esm/model/tags/ArbitraryTag.d.ts +10 -0
  471. package/esm/model/tags/ArbitraryTag.d.ts.map +1 -0
  472. package/esm/model/tags/ArbitraryTag.js +12 -0
  473. package/esm/model/tags/ArbitraryTag.js.map +1 -0
  474. package/esm/model/tags/BrowserTag.d.ts +19 -0
  475. package/esm/model/tags/BrowserTag.d.ts.map +1 -0
  476. package/esm/model/tags/BrowserTag.js +28 -0
  477. package/esm/model/tags/BrowserTag.js.map +1 -0
  478. package/esm/model/tags/CapabilityTag.d.ts +9 -0
  479. package/esm/model/tags/CapabilityTag.d.ts.map +1 -0
  480. package/esm/model/tags/CapabilityTag.js +11 -0
  481. package/esm/model/tags/CapabilityTag.js.map +1 -0
  482. package/esm/model/tags/ExecutionRetriedTag.d.ts +14 -0
  483. package/esm/model/tags/ExecutionRetriedTag.d.ts.map +1 -0
  484. package/esm/model/tags/ExecutionRetriedTag.js +26 -0
  485. package/esm/model/tags/ExecutionRetriedTag.js.map +1 -0
  486. package/esm/model/tags/FeatureTag.d.ts +9 -0
  487. package/esm/model/tags/FeatureTag.d.ts.map +1 -0
  488. package/esm/model/tags/FeatureTag.js +11 -0
  489. package/esm/model/tags/FeatureTag.js.map +1 -0
  490. package/esm/model/tags/IssueTag.d.ts +9 -0
  491. package/esm/model/tags/IssueTag.d.ts.map +1 -0
  492. package/esm/model/tags/IssueTag.js +11 -0
  493. package/esm/model/tags/IssueTag.js.map +1 -0
  494. package/esm/model/tags/ManualTag.d.ts +9 -0
  495. package/esm/model/tags/ManualTag.d.ts.map +1 -0
  496. package/esm/model/tags/ManualTag.js +11 -0
  497. package/esm/model/tags/ManualTag.js.map +1 -0
  498. package/esm/model/tags/PlatformTag.d.ts +19 -0
  499. package/esm/model/tags/PlatformTag.d.ts.map +1 -0
  500. package/esm/model/tags/PlatformTag.js +28 -0
  501. package/esm/model/tags/PlatformTag.js.map +1 -0
  502. package/esm/model/tags/ProjectTag.d.ts +11 -0
  503. package/esm/model/tags/ProjectTag.d.ts.map +1 -0
  504. package/esm/model/tags/ProjectTag.js +13 -0
  505. package/esm/model/tags/ProjectTag.js.map +1 -0
  506. package/esm/model/tags/Tag.d.ts +15 -0
  507. package/esm/model/tags/Tag.d.ts.map +1 -0
  508. package/esm/model/tags/Tag.js +29 -0
  509. package/esm/model/tags/Tag.js.map +1 -0
  510. package/esm/model/tags/Tags.d.ts +14 -0
  511. package/esm/model/tags/Tags.d.ts.map +1 -0
  512. package/esm/model/tags/Tags.js +67 -0
  513. package/esm/model/tags/Tags.js.map +1 -0
  514. package/esm/model/tags/ThemeTag.d.ts +9 -0
  515. package/esm/model/tags/ThemeTag.d.ts.map +1 -0
  516. package/esm/model/tags/ThemeTag.js +11 -0
  517. package/esm/model/tags/ThemeTag.js.map +1 -0
  518. package/esm/model/tags/index.d.ts +13 -0
  519. package/esm/model/tags/index.d.ts.map +1 -0
  520. package/esm/model/tags/index.js +13 -0
  521. package/esm/model/tags/index.js.map +1 -0
  522. package/esm/screenplay/Activity.d.ts +40 -0
  523. package/esm/screenplay/Activity.d.ts.map +1 -0
  524. package/esm/screenplay/Activity.js +46 -0
  525. package/esm/screenplay/Activity.js.map +1 -0
  526. package/esm/screenplay/Actor.d.ts +162 -0
  527. package/esm/screenplay/Actor.d.ts.map +1 -0
  528. package/esm/screenplay/Actor.js +221 -0
  529. package/esm/screenplay/Actor.js.map +1 -0
  530. package/esm/screenplay/Answerable.d.ts +9 -0
  531. package/esm/screenplay/Answerable.d.ts.map +1 -0
  532. package/esm/screenplay/Answerable.js +2 -0
  533. package/esm/screenplay/Answerable.js.map +1 -0
  534. package/esm/screenplay/Answered.d.ts +13 -0
  535. package/esm/screenplay/Answered.d.ts.map +1 -0
  536. package/esm/screenplay/Answered.js +2 -0
  537. package/esm/screenplay/Answered.js.map +1 -0
  538. package/esm/screenplay/Interaction.d.ts +91 -0
  539. package/esm/screenplay/Interaction.d.ts.map +1 -0
  540. package/esm/screenplay/Interaction.js +95 -0
  541. package/esm/screenplay/Interaction.js.map +1 -0
  542. package/esm/screenplay/Optional.d.ts +26 -0
  543. package/esm/screenplay/Optional.d.ts.map +1 -0
  544. package/esm/screenplay/Optional.js +2 -0
  545. package/esm/screenplay/Optional.js.map +1 -0
  546. package/esm/screenplay/Question.d.ts +349 -0
  547. package/esm/screenplay/Question.d.ts.map +1 -0
  548. package/esm/screenplay/Question.js +671 -0
  549. package/esm/screenplay/Question.js.map +1 -0
  550. package/esm/screenplay/RecursivelyAnswered.d.ts +40 -0
  551. package/esm/screenplay/RecursivelyAnswered.d.ts.map +1 -0
  552. package/esm/screenplay/RecursivelyAnswered.js +2 -0
  553. package/esm/screenplay/RecursivelyAnswered.js.map +1 -0
  554. package/esm/screenplay/SerialisedActor.d.ts +9 -0
  555. package/esm/screenplay/SerialisedActor.d.ts.map +1 -0
  556. package/esm/screenplay/SerialisedActor.js +2 -0
  557. package/esm/screenplay/SerialisedActor.js.map +1 -0
  558. package/esm/screenplay/Task.d.ts +196 -0
  559. package/esm/screenplay/Task.d.ts.map +1 -0
  560. package/esm/screenplay/Task.js +212 -0
  561. package/esm/screenplay/Task.js.map +1 -0
  562. package/esm/screenplay/WithAnswerableProperties.d.ts +33 -0
  563. package/esm/screenplay/WithAnswerableProperties.d.ts.map +1 -0
  564. package/esm/screenplay/WithAnswerableProperties.js +2 -0
  565. package/esm/screenplay/WithAnswerableProperties.js.map +1 -0
  566. package/esm/screenplay/abilities/Ability.d.ts +463 -0
  567. package/esm/screenplay/abilities/Ability.d.ts.map +1 -0
  568. package/esm/screenplay/abilities/Ability.js +517 -0
  569. package/esm/screenplay/abilities/Ability.js.map +1 -0
  570. package/esm/screenplay/abilities/AbilityType.d.ts +49 -0
  571. package/esm/screenplay/abilities/AbilityType.d.ts.map +1 -0
  572. package/esm/screenplay/abilities/AbilityType.js +2 -0
  573. package/esm/screenplay/abilities/AbilityType.js.map +1 -0
  574. package/esm/screenplay/abilities/AnswerQuestions.d.ts +20 -0
  575. package/esm/screenplay/abilities/AnswerQuestions.d.ts.map +1 -0
  576. package/esm/screenplay/abilities/AnswerQuestions.js +32 -0
  577. package/esm/screenplay/abilities/AnswerQuestions.js.map +1 -0
  578. package/esm/screenplay/abilities/CanHaveAbilities.d.ts +19 -0
  579. package/esm/screenplay/abilities/CanHaveAbilities.d.ts.map +1 -0
  580. package/esm/screenplay/abilities/CanHaveAbilities.js +2 -0
  581. package/esm/screenplay/abilities/CanHaveAbilities.js.map +1 -0
  582. package/esm/screenplay/abilities/Discardable.d.ts +26 -0
  583. package/esm/screenplay/abilities/Discardable.d.ts.map +1 -0
  584. package/esm/screenplay/abilities/Discardable.js +2 -0
  585. package/esm/screenplay/abilities/Discardable.js.map +1 -0
  586. package/esm/screenplay/abilities/Initialisable.d.ts +33 -0
  587. package/esm/screenplay/abilities/Initialisable.d.ts.map +1 -0
  588. package/esm/screenplay/abilities/Initialisable.js +2 -0
  589. package/esm/screenplay/abilities/Initialisable.js.map +1 -0
  590. package/esm/screenplay/abilities/PerformActivities.d.ts +30 -0
  591. package/esm/screenplay/abilities/PerformActivities.d.ts.map +1 -0
  592. package/esm/screenplay/abilities/PerformActivities.js +75 -0
  593. package/esm/screenplay/abilities/PerformActivities.js.map +1 -0
  594. package/esm/screenplay/abilities/SerialisedAbility.d.ts +10 -0
  595. package/esm/screenplay/abilities/SerialisedAbility.d.ts.map +1 -0
  596. package/esm/screenplay/abilities/SerialisedAbility.js +2 -0
  597. package/esm/screenplay/abilities/SerialisedAbility.js.map +1 -0
  598. package/esm/screenplay/abilities/UsesAbilities.d.ts +23 -0
  599. package/esm/screenplay/abilities/UsesAbilities.d.ts.map +1 -0
  600. package/esm/screenplay/abilities/UsesAbilities.js +2 -0
  601. package/esm/screenplay/abilities/UsesAbilities.js.map +1 -0
  602. package/esm/screenplay/abilities/index.d.ts +10 -0
  603. package/esm/screenplay/abilities/index.d.ts.map +1 -0
  604. package/esm/screenplay/abilities/index.js +10 -0
  605. package/esm/screenplay/abilities/index.js.map +1 -0
  606. package/esm/screenplay/activities/PerformsActivities.d.ts +20 -0
  607. package/esm/screenplay/activities/PerformsActivities.d.ts.map +1 -0
  608. package/esm/screenplay/activities/PerformsActivities.js +2 -0
  609. package/esm/screenplay/activities/PerformsActivities.js.map +1 -0
  610. package/esm/screenplay/activities/index.d.ts +2 -0
  611. package/esm/screenplay/activities/index.d.ts.map +1 -0
  612. package/esm/screenplay/activities/index.js +2 -0
  613. package/esm/screenplay/activities/index.js.map +1 -0
  614. package/esm/screenplay/artifacts/CollectsArtifacts.d.ts +77 -0
  615. package/esm/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -0
  616. package/esm/screenplay/artifacts/CollectsArtifacts.js +2 -0
  617. package/esm/screenplay/artifacts/CollectsArtifacts.js.map +1 -0
  618. package/esm/screenplay/artifacts/index.d.ts +2 -0
  619. package/esm/screenplay/artifacts/index.d.ts.map +1 -0
  620. package/esm/screenplay/artifacts/index.js +2 -0
  621. package/esm/screenplay/artifacts/index.js.map +1 -0
  622. package/esm/screenplay/debugging/Debug.d.ts +108 -0
  623. package/esm/screenplay/debugging/Debug.d.ts.map +1 -0
  624. package/esm/screenplay/debugging/Debug.js +129 -0
  625. package/esm/screenplay/debugging/Debug.js.map +1 -0
  626. package/esm/screenplay/debugging/DebuggingResult.d.ts +11 -0
  627. package/esm/screenplay/debugging/DebuggingResult.d.ts.map +1 -0
  628. package/esm/screenplay/debugging/DebuggingResult.js +2 -0
  629. package/esm/screenplay/debugging/DebuggingResult.js.map +1 -0
  630. package/esm/screenplay/debugging/Log.d.ts +49 -0
  631. package/esm/screenplay/debugging/Log.d.ts.map +1 -0
  632. package/esm/screenplay/debugging/Log.js +58 -0
  633. package/esm/screenplay/debugging/Log.js.map +1 -0
  634. package/esm/screenplay/debugging/index.d.ts +4 -0
  635. package/esm/screenplay/debugging/index.d.ts.map +1 -0
  636. package/esm/screenplay/debugging/index.js +4 -0
  637. package/esm/screenplay/debugging/index.js.map +1 -0
  638. package/esm/screenplay/index.d.ts +19 -0
  639. package/esm/screenplay/index.d.ts.map +1 -0
  640. package/esm/screenplay/index.js +19 -0
  641. package/esm/screenplay/index.js.map +1 -0
  642. package/esm/screenplay/notes/ChainableSetter.d.ts +9 -0
  643. package/esm/screenplay/notes/ChainableSetter.d.ts.map +1 -0
  644. package/esm/screenplay/notes/ChainableSetter.js +2 -0
  645. package/esm/screenplay/notes/ChainableSetter.js.map +1 -0
  646. package/esm/screenplay/notes/Notepad.d.ts +164 -0
  647. package/esm/screenplay/notes/Notepad.d.ts.map +1 -0
  648. package/esm/screenplay/notes/Notepad.js +197 -0
  649. package/esm/screenplay/notes/Notepad.js.map +1 -0
  650. package/esm/screenplay/notes/NotepadAdapter.d.ts +245 -0
  651. package/esm/screenplay/notes/NotepadAdapter.d.ts.map +1 -0
  652. package/esm/screenplay/notes/NotepadAdapter.js +335 -0
  653. package/esm/screenplay/notes/NotepadAdapter.js.map +1 -0
  654. package/esm/screenplay/notes/TakeNotes.d.ts +250 -0
  655. package/esm/screenplay/notes/TakeNotes.d.ts.map +1 -0
  656. package/esm/screenplay/notes/TakeNotes.js +264 -0
  657. package/esm/screenplay/notes/TakeNotes.js.map +1 -0
  658. package/esm/screenplay/notes/index.d.ts +6 -0
  659. package/esm/screenplay/notes/index.d.ts.map +1 -0
  660. package/esm/screenplay/notes/index.js +6 -0
  661. package/esm/screenplay/notes/index.js.map +1 -0
  662. package/esm/screenplay/notes/notes.d.ts +117 -0
  663. package/esm/screenplay/notes/notes.d.ts.map +1 -0
  664. package/esm/screenplay/notes/notes.js +119 -0
  665. package/esm/screenplay/notes/notes.js.map +1 -0
  666. package/esm/screenplay/questions/AnswersQuestions.d.ts +19 -0
  667. package/esm/screenplay/questions/AnswersQuestions.d.ts.map +1 -0
  668. package/esm/screenplay/questions/AnswersQuestions.js +2 -0
  669. package/esm/screenplay/questions/AnswersQuestions.js.map +1 -0
  670. package/esm/screenplay/questions/ChainableMetaQuestion.d.ts +26 -0
  671. package/esm/screenplay/questions/ChainableMetaQuestion.d.ts.map +1 -0
  672. package/esm/screenplay/questions/ChainableMetaQuestion.js +2 -0
  673. package/esm/screenplay/questions/ChainableMetaQuestion.js.map +1 -0
  674. package/esm/screenplay/questions/Check.d.ts +65 -0
  675. package/esm/screenplay/questions/Check.d.ts.map +1 -0
  676. package/esm/screenplay/questions/Check.js +77 -0
  677. package/esm/screenplay/questions/Check.js.map +1 -0
  678. package/esm/screenplay/questions/Describable.d.ts +27 -0
  679. package/esm/screenplay/questions/Describable.d.ts.map +1 -0
  680. package/esm/screenplay/questions/Describable.js +36 -0
  681. package/esm/screenplay/questions/Describable.js.map +1 -0
  682. package/esm/screenplay/questions/DescriptionFormattingOptions.d.ts +14 -0
  683. package/esm/screenplay/questions/DescriptionFormattingOptions.d.ts.map +1 -0
  684. package/esm/screenplay/questions/DescriptionFormattingOptions.js +2 -0
  685. package/esm/screenplay/questions/DescriptionFormattingOptions.js.map +1 -0
  686. package/esm/screenplay/questions/Expectation.d.ts +186 -0
  687. package/esm/screenplay/questions/Expectation.d.ts.map +1 -0
  688. package/esm/screenplay/questions/Expectation.js +227 -0
  689. package/esm/screenplay/questions/Expectation.js.map +1 -0
  690. package/esm/screenplay/questions/List.d.ts +84 -0
  691. package/esm/screenplay/questions/List.d.ts.map +1 -0
  692. package/esm/screenplay/questions/List.js +267 -0
  693. package/esm/screenplay/questions/List.js.map +1 -0
  694. package/esm/screenplay/questions/Masked.d.ts +37 -0
  695. package/esm/screenplay/questions/Masked.d.ts.map +1 -0
  696. package/esm/screenplay/questions/Masked.js +38 -0
  697. package/esm/screenplay/questions/Masked.js.map +1 -0
  698. package/esm/screenplay/questions/MetaQuestion.d.ts +35 -0
  699. package/esm/screenplay/questions/MetaQuestion.d.ts.map +1 -0
  700. package/esm/screenplay/questions/MetaQuestion.js +2 -0
  701. package/esm/screenplay/questions/MetaQuestion.js.map +1 -0
  702. package/esm/screenplay/questions/Numeric.d.ts +534 -0
  703. package/esm/screenplay/questions/Numeric.d.ts.map +1 -0
  704. package/esm/screenplay/questions/Numeric.js +642 -0
  705. package/esm/screenplay/questions/Numeric.js.map +1 -0
  706. package/esm/screenplay/questions/Unanswered.d.ts +22 -0
  707. package/esm/screenplay/questions/Unanswered.d.ts.map +1 -0
  708. package/esm/screenplay/questions/Unanswered.js +31 -0
  709. package/esm/screenplay/questions/Unanswered.js.map +1 -0
  710. package/esm/screenplay/questions/expectations/ExpectationDetails.d.ts +25 -0
  711. package/esm/screenplay/questions/expectations/ExpectationDetails.d.ts.map +1 -0
  712. package/esm/screenplay/questions/expectations/ExpectationDetails.js +53 -0
  713. package/esm/screenplay/questions/expectations/ExpectationDetails.js.map +1 -0
  714. package/esm/screenplay/questions/expectations/ExpectationMet.d.ts +9 -0
  715. package/esm/screenplay/questions/expectations/ExpectationMet.d.ts.map +1 -0
  716. package/esm/screenplay/questions/expectations/ExpectationMet.js +9 -0
  717. package/esm/screenplay/questions/expectations/ExpectationMet.js.map +1 -0
  718. package/esm/screenplay/questions/expectations/ExpectationNotMet.d.ts +9 -0
  719. package/esm/screenplay/questions/expectations/ExpectationNotMet.d.ts.map +1 -0
  720. package/esm/screenplay/questions/expectations/ExpectationNotMet.js +9 -0
  721. package/esm/screenplay/questions/expectations/ExpectationNotMet.js.map +1 -0
  722. package/esm/screenplay/questions/expectations/ExpectationOutcome.d.ts +16 -0
  723. package/esm/screenplay/questions/expectations/ExpectationOutcome.d.ts.map +1 -0
  724. package/esm/screenplay/questions/expectations/ExpectationOutcome.js +21 -0
  725. package/esm/screenplay/questions/expectations/ExpectationOutcome.js.map +1 -0
  726. package/esm/screenplay/questions/expectations/index.d.ts +5 -0
  727. package/esm/screenplay/questions/expectations/index.d.ts.map +1 -0
  728. package/esm/screenplay/questions/expectations/index.js +5 -0
  729. package/esm/screenplay/questions/expectations/index.js.map +1 -0
  730. package/esm/screenplay/questions/index.d.ts +14 -0
  731. package/esm/screenplay/questions/index.d.ts.map +1 -0
  732. package/esm/screenplay/questions/index.js +14 -0
  733. package/esm/screenplay/questions/index.js.map +1 -0
  734. package/esm/screenplay/questions/tag-functions.d.ts +230 -0
  735. package/esm/screenplay/questions/tag-functions.d.ts.map +1 -0
  736. package/esm/screenplay/questions/tag-functions.js +110 -0
  737. package/esm/screenplay/questions/tag-functions.js.map +1 -0
  738. package/esm/screenplay/time/TellsTime.d.ts +19 -0
  739. package/esm/screenplay/time/TellsTime.d.ts.map +1 -0
  740. package/esm/screenplay/time/TellsTime.js +2 -0
  741. package/esm/screenplay/time/TellsTime.js.map +1 -0
  742. package/esm/screenplay/time/abilities/ScheduleWork.d.ts +26 -0
  743. package/esm/screenplay/time/abilities/ScheduleWork.d.ts.map +1 -0
  744. package/esm/screenplay/time/abilities/ScheduleWork.js +41 -0
  745. package/esm/screenplay/time/abilities/ScheduleWork.js.map +1 -0
  746. package/esm/screenplay/time/abilities/index.d.ts +2 -0
  747. package/esm/screenplay/time/abilities/index.d.ts.map +1 -0
  748. package/esm/screenplay/time/abilities/index.js +2 -0
  749. package/esm/screenplay/time/abilities/index.js.map +1 -0
  750. package/esm/screenplay/time/activities/Wait.d.ts +214 -0
  751. package/esm/screenplay/time/activities/Wait.d.ts.map +1 -0
  752. package/esm/screenplay/time/activities/Wait.js +273 -0
  753. package/esm/screenplay/time/activities/Wait.js.map +1 -0
  754. package/esm/screenplay/time/activities/index.d.ts +2 -0
  755. package/esm/screenplay/time/activities/index.d.ts.map +1 -0
  756. package/esm/screenplay/time/activities/index.js +2 -0
  757. package/esm/screenplay/time/activities/index.js.map +1 -0
  758. package/esm/screenplay/time/index.d.ts +5 -0
  759. package/esm/screenplay/time/index.d.ts.map +1 -0
  760. package/esm/screenplay/time/index.js +5 -0
  761. package/esm/screenplay/time/index.js.map +1 -0
  762. package/esm/screenplay/time/models/Clock.d.ts +50 -0
  763. package/esm/screenplay/time/models/Clock.d.ts.map +1 -0
  764. package/esm/screenplay/time/models/Clock.js +73 -0
  765. package/esm/screenplay/time/models/Clock.js.map +1 -0
  766. package/esm/screenplay/time/models/DelayedCallback.d.ts +11 -0
  767. package/esm/screenplay/time/models/DelayedCallback.d.ts.map +1 -0
  768. package/esm/screenplay/time/models/DelayedCallback.js +2 -0
  769. package/esm/screenplay/time/models/DelayedCallback.js.map +1 -0
  770. package/esm/screenplay/time/models/Duration.d.ts +34 -0
  771. package/esm/screenplay/time/models/Duration.d.ts.map +1 -0
  772. package/esm/screenplay/time/models/Duration.js +66 -0
  773. package/esm/screenplay/time/models/Duration.js.map +1 -0
  774. package/esm/screenplay/time/models/RepeatUntilLimits.d.ts +12 -0
  775. package/esm/screenplay/time/models/RepeatUntilLimits.d.ts.map +1 -0
  776. package/esm/screenplay/time/models/RepeatUntilLimits.js +2 -0
  777. package/esm/screenplay/time/models/RepeatUntilLimits.js.map +1 -0
  778. package/esm/screenplay/time/models/Scheduler.d.ts +42 -0
  779. package/esm/screenplay/time/models/Scheduler.d.ts.map +1 -0
  780. package/esm/screenplay/time/models/Scheduler.js +150 -0
  781. package/esm/screenplay/time/models/Scheduler.js.map +1 -0
  782. package/esm/screenplay/time/models/Timestamp.d.ts +36 -0
  783. package/esm/screenplay/time/models/Timestamp.d.ts.map +1 -0
  784. package/esm/screenplay/time/models/Timestamp.js +113 -0
  785. package/esm/screenplay/time/models/Timestamp.js.map +1 -0
  786. package/esm/screenplay/time/models/index.d.ts +7 -0
  787. package/esm/screenplay/time/models/index.d.ts.map +1 -0
  788. package/esm/screenplay/time/models/index.js +7 -0
  789. package/esm/screenplay/time/models/index.js.map +1 -0
  790. package/esm/stage/Cast.d.ts +172 -0
  791. package/esm/stage/Cast.d.ts.map +1 -0
  792. package/esm/stage/Cast.js +168 -0
  793. package/esm/stage/Cast.js.map +1 -0
  794. package/esm/stage/Extras.d.ts +9 -0
  795. package/esm/stage/Extras.d.ts.map +1 -0
  796. package/esm/stage/Extras.js +9 -0
  797. package/esm/stage/Extras.js.map +1 -0
  798. package/esm/stage/ListensToDomainEvents.d.ts +23 -0
  799. package/esm/stage/ListensToDomainEvents.d.ts.map +1 -0
  800. package/esm/stage/ListensToDomainEvents.js +2 -0
  801. package/esm/stage/ListensToDomainEvents.js.map +1 -0
  802. package/esm/stage/Stage.d.ts +169 -0
  803. package/esm/stage/Stage.d.ts.map +1 -0
  804. package/esm/stage/Stage.js +310 -0
  805. package/esm/stage/Stage.js.map +1 -0
  806. package/esm/stage/StageCrewMember.d.ts +78 -0
  807. package/esm/stage/StageCrewMember.d.ts.map +1 -0
  808. package/esm/stage/StageCrewMember.js +2 -0
  809. package/esm/stage/StageCrewMember.js.map +1 -0
  810. package/esm/stage/StageCrewMemberBuilder.d.ts +23 -0
  811. package/esm/stage/StageCrewMemberBuilder.d.ts.map +1 -0
  812. package/esm/stage/StageCrewMemberBuilder.js +2 -0
  813. package/esm/stage/StageCrewMemberBuilder.js.map +1 -0
  814. package/esm/stage/StageCrewMemberBuilderDependencies.d.ts +17 -0
  815. package/esm/stage/StageCrewMemberBuilderDependencies.d.ts.map +1 -0
  816. package/esm/stage/StageCrewMemberBuilderDependencies.js +2 -0
  817. package/esm/stage/StageCrewMemberBuilderDependencies.js.map +1 -0
  818. package/esm/stage/StageManager.d.ts +23 -0
  819. package/esm/stage/StageManager.d.ts.map +1 -0
  820. package/esm/stage/StageManager.js +146 -0
  821. package/esm/stage/StageManager.js.map +1 -0
  822. package/esm/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +126 -0
  823. package/esm/stage/crew/artifact-archiver/ArtifactArchiver.d.ts.map +1 -0
  824. package/esm/stage/crew/artifact-archiver/ArtifactArchiver.js +186 -0
  825. package/esm/stage/crew/artifact-archiver/ArtifactArchiver.js.map +1 -0
  826. package/esm/stage/crew/artifact-archiver/Hash.d.ts +12 -0
  827. package/esm/stage/crew/artifact-archiver/Hash.d.ts.map +1 -0
  828. package/esm/stage/crew/artifact-archiver/Hash.js +23 -0
  829. package/esm/stage/crew/artifact-archiver/Hash.js.map +1 -0
  830. package/esm/stage/crew/artifact-archiver/index.d.ts +2 -0
  831. package/esm/stage/crew/artifact-archiver/index.d.ts.map +1 -0
  832. package/esm/stage/crew/artifact-archiver/index.js +2 -0
  833. package/esm/stage/crew/artifact-archiver/index.js.map +1 -0
  834. package/esm/stage/crew/index.d.ts +3 -0
  835. package/esm/stage/crew/index.d.ts.map +1 -0
  836. package/esm/stage/crew/index.js +3 -0
  837. package/esm/stage/crew/index.js.map +1 -0
  838. package/esm/stage/crew/stream-reporter/StreamReporter.d.ts +137 -0
  839. package/esm/stage/crew/stream-reporter/StreamReporter.d.ts.map +1 -0
  840. package/esm/stage/crew/stream-reporter/StreamReporter.js +144 -0
  841. package/esm/stage/crew/stream-reporter/StreamReporter.js.map +1 -0
  842. package/esm/stage/crew/stream-reporter/index.d.ts +2 -0
  843. package/esm/stage/crew/stream-reporter/index.d.ts.map +1 -0
  844. package/esm/stage/crew/stream-reporter/index.js +2 -0
  845. package/esm/stage/crew/stream-reporter/index.js.map +1 -0
  846. package/esm/stage/index.d.ts +11 -0
  847. package/esm/stage/index.d.ts.map +1 -0
  848. package/esm/stage/index.js +11 -0
  849. package/esm/stage/index.js.map +1 -0
  850. package/esm/stage/queues/DomainEventQueue.d.ts +25 -0
  851. package/esm/stage/queues/DomainEventQueue.d.ts.map +1 -0
  852. package/esm/stage/queues/DomainEventQueue.js +30 -0
  853. package/esm/stage/queues/DomainEventQueue.js.map +1 -0
  854. package/esm/stage/queues/DomainEventQueues.d.ts +22 -0
  855. package/esm/stage/queues/DomainEventQueues.d.ts.map +1 -0
  856. package/esm/stage/queues/DomainEventQueues.js +70 -0
  857. package/esm/stage/queues/DomainEventQueues.js.map +1 -0
  858. package/esm/stage/queues/index.d.ts +3 -0
  859. package/esm/stage/queues/index.d.ts.map +1 -0
  860. package/esm/stage/queues/index.js +3 -0
  861. package/esm/stage/queues/index.js.map +1 -0
  862. package/lib/Serenity.d.ts +8 -8
  863. package/lib/Serenity.d.ts.map +1 -1
  864. package/lib/Serenity.js +21 -21
  865. package/lib/Serenity.js.map +1 -1
  866. package/lib/adapter/TestRunnerAdapter.d.ts +1 -1
  867. package/lib/adapter/TestRunnerAdapter.d.ts.map +1 -1
  868. package/lib/adapter/index.d.ts +2 -2
  869. package/lib/adapter/index.d.ts.map +1 -1
  870. package/lib/adapter/index.js +2 -2
  871. package/lib/adapter/index.js.map +1 -1
  872. package/lib/config/SerenityConfig.d.ts +5 -5
  873. package/lib/config/SerenityConfig.d.ts.map +1 -1
  874. package/lib/config/index.d.ts +2 -2
  875. package/lib/config/index.d.ts.map +1 -1
  876. package/lib/config/index.js +2 -2
  877. package/lib/config/index.js.map +1 -1
  878. package/lib/errors/ErrorFactory.d.ts +3 -3
  879. package/lib/errors/ErrorFactory.d.ts.map +1 -1
  880. package/lib/errors/ErrorFactory.js +14 -14
  881. package/lib/errors/ErrorFactory.js.map +1 -1
  882. package/lib/errors/ErrorOptions.d.ts +2 -2
  883. package/lib/errors/ErrorOptions.d.ts.map +1 -1
  884. package/lib/errors/ErrorStackParser.d.ts +2 -2
  885. package/lib/errors/ErrorStackParser.d.ts.map +1 -1
  886. package/lib/errors/ErrorStackParser.js +5 -35
  887. package/lib/errors/ErrorStackParser.js.map +1 -1
  888. package/lib/errors/RaiseErrors.d.ts +4 -4
  889. package/lib/errors/RaiseErrors.d.ts.map +1 -1
  890. package/lib/errors/RaiseErrors.js +2 -2
  891. package/lib/errors/RaiseErrors.js.map +1 -1
  892. package/lib/errors/diff/AnsiDiffFormatter.d.ts +1 -1
  893. package/lib/errors/diff/AnsiDiffFormatter.d.ts.map +1 -1
  894. package/lib/errors/diff/AnsiDiffFormatter.js +6 -2
  895. package/lib/errors/diff/AnsiDiffFormatter.js.map +1 -1
  896. package/lib/errors/diff/NoOpDiffFormatter.d.ts +1 -1
  897. package/lib/errors/diff/NoOpDiffFormatter.d.ts.map +1 -1
  898. package/lib/errors/diff/index.d.ts +3 -3
  899. package/lib/errors/diff/index.d.ts.map +1 -1
  900. package/lib/errors/diff/index.js +3 -3
  901. package/lib/errors/diff/index.js.map +1 -1
  902. package/lib/errors/index.d.ts +7 -7
  903. package/lib/errors/index.d.ts.map +1 -1
  904. package/lib/errors/index.js +12 -12
  905. package/lib/errors/index.js.map +1 -1
  906. package/lib/errors/model/AssertionError.d.ts +1 -1
  907. package/lib/errors/model/AssertionError.d.ts.map +1 -1
  908. package/lib/errors/model/AssertionError.js +4 -4
  909. package/lib/errors/model/AssertionError.js.map +1 -1
  910. package/lib/errors/model/ConfigurationError.d.ts +1 -1
  911. package/lib/errors/model/ConfigurationError.d.ts.map +1 -1
  912. package/lib/errors/model/ConfigurationError.js +4 -4
  913. package/lib/errors/model/ConfigurationError.js.map +1 -1
  914. package/lib/errors/model/ImplementationPendingError.d.ts +1 -1
  915. package/lib/errors/model/ImplementationPendingError.d.ts.map +1 -1
  916. package/lib/errors/model/ImplementationPendingError.js +4 -4
  917. package/lib/errors/model/ImplementationPendingError.js.map +1 -1
  918. package/lib/errors/model/ListItemNotFoundError.d.ts +1 -1
  919. package/lib/errors/model/ListItemNotFoundError.d.ts.map +1 -1
  920. package/lib/errors/model/ListItemNotFoundError.js +4 -4
  921. package/lib/errors/model/ListItemNotFoundError.js.map +1 -1
  922. package/lib/errors/model/LogicError.d.ts +1 -1
  923. package/lib/errors/model/LogicError.d.ts.map +1 -1
  924. package/lib/errors/model/LogicError.js +4 -4
  925. package/lib/errors/model/LogicError.js.map +1 -1
  926. package/lib/errors/model/OperationInterruptedError.d.ts +1 -1
  927. package/lib/errors/model/OperationInterruptedError.d.ts.map +1 -1
  928. package/lib/errors/model/OperationInterruptedError.js +4 -4
  929. package/lib/errors/model/OperationInterruptedError.js.map +1 -1
  930. package/lib/errors/model/RuntimeError.d.ts +16 -1
  931. package/lib/errors/model/RuntimeError.d.ts.map +1 -1
  932. package/lib/errors/model/RuntimeError.js +40 -1
  933. package/lib/errors/model/RuntimeError.js.map +1 -1
  934. package/lib/errors/model/TestCompromisedError.d.ts +1 -1
  935. package/lib/errors/model/TestCompromisedError.d.ts.map +1 -1
  936. package/lib/errors/model/TestCompromisedError.js +4 -4
  937. package/lib/errors/model/TestCompromisedError.js.map +1 -1
  938. package/lib/errors/model/TimeoutExpiredError.d.ts +1 -1
  939. package/lib/errors/model/TimeoutExpiredError.d.ts.map +1 -1
  940. package/lib/errors/model/TimeoutExpiredError.js +4 -4
  941. package/lib/errors/model/TimeoutExpiredError.js.map +1 -1
  942. package/lib/errors/model/UnknownError.d.ts +1 -1
  943. package/lib/errors/model/UnknownError.d.ts.map +1 -1
  944. package/lib/errors/model/UnknownError.js +4 -4
  945. package/lib/errors/model/UnknownError.js.map +1 -1
  946. package/lib/errors/model/index.d.ts +10 -10
  947. package/lib/errors/model/index.d.ts.map +1 -1
  948. package/lib/errors/model/index.js +10 -10
  949. package/lib/errors/model/index.js.map +1 -1
  950. package/lib/events/ActivityFinished.d.ts +3 -3
  951. package/lib/events/ActivityFinished.d.ts.map +1 -1
  952. package/lib/events/ActivityFinished.js +2 -2
  953. package/lib/events/ActivityFinished.js.map +1 -1
  954. package/lib/events/ActivityRelatedArtifactArchived.d.ts +5 -5
  955. package/lib/events/ActivityRelatedArtifactArchived.d.ts.map +1 -1
  956. package/lib/events/ActivityRelatedArtifactArchived.js +6 -6
  957. package/lib/events/ActivityRelatedArtifactArchived.js.map +1 -1
  958. package/lib/events/ActivityRelatedArtifactGenerated.d.ts +3 -3
  959. package/lib/events/ActivityRelatedArtifactGenerated.d.ts.map +1 -1
  960. package/lib/events/ActivityRelatedArtifactGenerated.js +5 -5
  961. package/lib/events/ActivityRelatedArtifactGenerated.js.map +1 -1
  962. package/lib/events/ActivityStarts.d.ts +3 -3
  963. package/lib/events/ActivityStarts.d.ts.map +1 -1
  964. package/lib/events/ActivityStarts.js +2 -2
  965. package/lib/events/ActivityStarts.js.map +1 -1
  966. package/lib/events/ArtifactArchived.d.ts +5 -5
  967. package/lib/events/ArtifactArchived.d.ts.map +1 -1
  968. package/lib/events/ArtifactArchived.js +6 -6
  969. package/lib/events/ArtifactArchived.js.map +1 -1
  970. package/lib/events/ArtifactGenerated.d.ts +3 -3
  971. package/lib/events/ArtifactGenerated.d.ts.map +1 -1
  972. package/lib/events/ArtifactGenerated.js +5 -5
  973. package/lib/events/ArtifactGenerated.js.map +1 -1
  974. package/lib/events/AsyncOperationAborted.d.ts +3 -3
  975. package/lib/events/AsyncOperationAborted.d.ts.map +1 -1
  976. package/lib/events/AsyncOperationAborted.js +5 -5
  977. package/lib/events/AsyncOperationAborted.js.map +1 -1
  978. package/lib/events/AsyncOperationAttempted.d.ts +3 -3
  979. package/lib/events/AsyncOperationAttempted.d.ts.map +1 -1
  980. package/lib/events/AsyncOperationAttempted.js +5 -5
  981. package/lib/events/AsyncOperationAttempted.js.map +1 -1
  982. package/lib/events/AsyncOperationCompleted.d.ts +3 -3
  983. package/lib/events/AsyncOperationCompleted.d.ts.map +1 -1
  984. package/lib/events/AsyncOperationCompleted.js +5 -5
  985. package/lib/events/AsyncOperationCompleted.js.map +1 -1
  986. package/lib/events/AsyncOperationFailed.d.ts +3 -3
  987. package/lib/events/AsyncOperationFailed.d.ts.map +1 -1
  988. package/lib/events/AsyncOperationFailed.js +7 -7
  989. package/lib/events/AsyncOperationFailed.js.map +1 -1
  990. package/lib/events/BusinessRuleDetected.d.ts +3 -3
  991. package/lib/events/BusinessRuleDetected.d.ts.map +1 -1
  992. package/lib/events/BusinessRuleDetected.js +5 -5
  993. package/lib/events/BusinessRuleDetected.js.map +1 -1
  994. package/lib/events/DomainEvent.d.ts +1 -1
  995. package/lib/events/DomainEvent.d.ts.map +1 -1
  996. package/lib/events/DomainEvent.js +2 -2
  997. package/lib/events/DomainEvent.js.map +1 -1
  998. package/lib/events/EmitsDomainEvents.d.ts +3 -3
  999. package/lib/events/EmitsDomainEvents.d.ts.map +1 -1
  1000. package/lib/events/FeatureNarrativeDetected.d.ts +3 -3
  1001. package/lib/events/FeatureNarrativeDetected.d.ts.map +1 -1
  1002. package/lib/events/FeatureNarrativeDetected.js +5 -5
  1003. package/lib/events/FeatureNarrativeDetected.js.map +1 -1
  1004. package/lib/events/InteractionFinished.d.ts +1 -1
  1005. package/lib/events/InteractionFinished.d.ts.map +1 -1
  1006. package/lib/events/InteractionFinished.js +5 -5
  1007. package/lib/events/InteractionFinished.js.map +1 -1
  1008. package/lib/events/InteractionStarts.d.ts +1 -1
  1009. package/lib/events/InteractionStarts.d.ts.map +1 -1
  1010. package/lib/events/InteractionStarts.js +5 -5
  1011. package/lib/events/InteractionStarts.js.map +1 -1
  1012. package/lib/events/RetryableSceneDetected.d.ts +3 -3
  1013. package/lib/events/RetryableSceneDetected.d.ts.map +1 -1
  1014. package/lib/events/RetryableSceneDetected.js +5 -5
  1015. package/lib/events/RetryableSceneDetected.js.map +1 -1
  1016. package/lib/events/SceneBackgroundDetected.d.ts +3 -3
  1017. package/lib/events/SceneBackgroundDetected.d.ts.map +1 -1
  1018. package/lib/events/SceneBackgroundDetected.js +4 -4
  1019. package/lib/events/SceneBackgroundDetected.js.map +1 -1
  1020. package/lib/events/SceneDescriptionDetected.d.ts +3 -3
  1021. package/lib/events/SceneDescriptionDetected.d.ts.map +1 -1
  1022. package/lib/events/SceneDescriptionDetected.js +5 -5
  1023. package/lib/events/SceneDescriptionDetected.js.map +1 -1
  1024. package/lib/events/SceneFinished.d.ts +3 -3
  1025. package/lib/events/SceneFinished.d.ts.map +1 -1
  1026. package/lib/events/SceneFinished.js +5 -5
  1027. package/lib/events/SceneFinished.js.map +1 -1
  1028. package/lib/events/SceneFinishes.d.ts +3 -3
  1029. package/lib/events/SceneFinishes.d.ts.map +1 -1
  1030. package/lib/events/SceneFinishes.js +7 -7
  1031. package/lib/events/SceneFinishes.js.map +1 -1
  1032. package/lib/events/SceneParametersDetected.d.ts +3 -3
  1033. package/lib/events/SceneParametersDetected.d.ts.map +1 -1
  1034. package/lib/events/SceneParametersDetected.js +5 -5
  1035. package/lib/events/SceneParametersDetected.js.map +1 -1
  1036. package/lib/events/SceneSequenceDetected.d.ts +3 -3
  1037. package/lib/events/SceneSequenceDetected.d.ts.map +1 -1
  1038. package/lib/events/SceneSequenceDetected.js +5 -5
  1039. package/lib/events/SceneSequenceDetected.js.map +1 -1
  1040. package/lib/events/SceneStarts.d.ts +3 -3
  1041. package/lib/events/SceneStarts.d.ts.map +1 -1
  1042. package/lib/events/SceneStarts.js +5 -5
  1043. package/lib/events/SceneStarts.js.map +1 -1
  1044. package/lib/events/SceneTagged.d.ts +3 -3
  1045. package/lib/events/SceneTagged.d.ts.map +1 -1
  1046. package/lib/events/SceneTagged.js +5 -5
  1047. package/lib/events/SceneTagged.js.map +1 -1
  1048. package/lib/events/SceneTemplateDetected.d.ts +3 -3
  1049. package/lib/events/SceneTemplateDetected.d.ts.map +1 -1
  1050. package/lib/events/SceneTemplateDetected.js +5 -5
  1051. package/lib/events/SceneTemplateDetected.js.map +1 -1
  1052. package/lib/events/TaskFinished.d.ts +1 -1
  1053. package/lib/events/TaskFinished.d.ts.map +1 -1
  1054. package/lib/events/TaskFinished.js +5 -5
  1055. package/lib/events/TaskFinished.js.map +1 -1
  1056. package/lib/events/TaskStarts.d.ts +1 -1
  1057. package/lib/events/TaskStarts.d.ts.map +1 -1
  1058. package/lib/events/TaskStarts.js +5 -5
  1059. package/lib/events/TaskStarts.js.map +1 -1
  1060. package/lib/events/TestRunFinished.d.ts +3 -3
  1061. package/lib/events/TestRunFinished.d.ts.map +1 -1
  1062. package/lib/events/TestRunFinished.js +5 -5
  1063. package/lib/events/TestRunFinished.js.map +1 -1
  1064. package/lib/events/TestRunFinishes.d.ts +2 -2
  1065. package/lib/events/TestRunFinishes.d.ts.map +1 -1
  1066. package/lib/events/TestRunFinishes.js +4 -4
  1067. package/lib/events/TestRunFinishes.js.map +1 -1
  1068. package/lib/events/TestRunStarts.d.ts +2 -2
  1069. package/lib/events/TestRunStarts.d.ts.map +1 -1
  1070. package/lib/events/TestRunStarts.js +4 -4
  1071. package/lib/events/TestRunStarts.js.map +1 -1
  1072. package/lib/events/TestRunnerDetected.d.ts +3 -3
  1073. package/lib/events/TestRunnerDetected.d.ts.map +1 -1
  1074. package/lib/events/TestRunnerDetected.js +5 -5
  1075. package/lib/events/TestRunnerDetected.js.map +1 -1
  1076. package/lib/events/TestSuiteFinished.d.ts +3 -3
  1077. package/lib/events/TestSuiteFinished.d.ts.map +1 -1
  1078. package/lib/events/TestSuiteFinished.js +5 -5
  1079. package/lib/events/TestSuiteFinished.js.map +1 -1
  1080. package/lib/events/TestSuiteStarts.d.ts +3 -3
  1081. package/lib/events/TestSuiteStarts.d.ts.map +1 -1
  1082. package/lib/events/TestSuiteStarts.js +5 -5
  1083. package/lib/events/TestSuiteStarts.js.map +1 -1
  1084. package/lib/events/actor/ActorEntersStage.d.ts +3 -3
  1085. package/lib/events/actor/ActorEntersStage.d.ts.map +1 -1
  1086. package/lib/events/actor/ActorEntersStage.js +5 -5
  1087. package/lib/events/actor/ActorEntersStage.js.map +1 -1
  1088. package/lib/events/actor/ActorSpotlighted.d.ts +4 -4
  1089. package/lib/events/actor/ActorSpotlighted.d.ts.map +1 -1
  1090. package/lib/events/actor/ActorSpotlighted.js +5 -5
  1091. package/lib/events/actor/ActorSpotlighted.js.map +1 -1
  1092. package/lib/events/actor/ActorStageExitAttempted.d.ts +3 -3
  1093. package/lib/events/actor/ActorStageExitAttempted.d.ts.map +1 -1
  1094. package/lib/events/actor/ActorStageExitAttempted.js +6 -6
  1095. package/lib/events/actor/ActorStageExitAttempted.js.map +1 -1
  1096. package/lib/events/actor/ActorStageExitCompleted.d.ts +3 -3
  1097. package/lib/events/actor/ActorStageExitCompleted.d.ts.map +1 -1
  1098. package/lib/events/actor/ActorStageExitCompleted.js +5 -5
  1099. package/lib/events/actor/ActorStageExitCompleted.js.map +1 -1
  1100. package/lib/events/actor/ActorStageExitFailed.d.ts +1 -1
  1101. package/lib/events/actor/ActorStageExitFailed.d.ts.map +1 -1
  1102. package/lib/events/actor/ActorStageExitFailed.js +6 -6
  1103. package/lib/events/actor/ActorStageExitFailed.js.map +1 -1
  1104. package/lib/events/actor/ActorStageExitStarts.d.ts +3 -3
  1105. package/lib/events/actor/ActorStageExitStarts.d.ts.map +1 -1
  1106. package/lib/events/actor/ActorStageExitStarts.js +5 -5
  1107. package/lib/events/actor/ActorStageExitStarts.js.map +1 -1
  1108. package/lib/events/actor/index.d.ts +6 -6
  1109. package/lib/events/actor/index.d.ts.map +1 -1
  1110. package/lib/events/actor/index.js +6 -6
  1111. package/lib/events/actor/index.js.map +1 -1
  1112. package/lib/events/index.d.ts +35 -35
  1113. package/lib/events/index.d.ts.map +1 -1
  1114. package/lib/events/index.js +35 -35
  1115. package/lib/events/index.js.map +1 -1
  1116. package/lib/index.d.ts +7 -7
  1117. package/lib/index.d.ts.map +1 -1
  1118. package/lib/index.js +10 -10
  1119. package/lib/index.js.map +1 -1
  1120. package/lib/instance.d.ts +4 -4
  1121. package/lib/instance.d.ts.map +1 -1
  1122. package/lib/instance.js +14 -4
  1123. package/lib/instance.js.map +1 -1
  1124. package/lib/io/FileFinder.d.ts +1 -1
  1125. package/lib/io/FileFinder.d.ts.map +1 -1
  1126. package/lib/io/FileFinder.js +2 -2
  1127. package/lib/io/FileFinder.js.map +1 -1
  1128. package/lib/io/FileSystem.d.ts +1 -1
  1129. package/lib/io/FileSystem.d.ts.map +1 -1
  1130. package/lib/io/FileSystem.js +10 -7
  1131. package/lib/io/FileSystem.js.map +1 -1
  1132. package/lib/io/FileSystemLocation.d.ts +1 -1
  1133. package/lib/io/FileSystemLocation.d.ts.map +1 -1
  1134. package/lib/io/FileSystemLocation.js +2 -2
  1135. package/lib/io/FileSystemLocation.js.map +1 -1
  1136. package/lib/io/Path.d.ts.map +1 -1
  1137. package/lib/io/Path.js +17 -48
  1138. package/lib/io/Path.js.map +1 -1
  1139. package/lib/io/RequirementsHierarchy.d.ts +3 -3
  1140. package/lib/io/RequirementsHierarchy.d.ts.map +1 -1
  1141. package/lib/io/RequirementsHierarchy.js +11 -11
  1142. package/lib/io/RequirementsHierarchy.js.map +1 -1
  1143. package/lib/io/format.d.ts +1 -1
  1144. package/lib/io/format.d.ts.map +1 -1
  1145. package/lib/io/format.js +2 -2
  1146. package/lib/io/format.js.map +1 -1
  1147. package/lib/io/index.d.ts +16 -15
  1148. package/lib/io/index.d.ts.map +1 -1
  1149. package/lib/io/index.js +16 -15
  1150. package/lib/io/index.js.map +1 -1
  1151. package/lib/io/inspectedObject.js +2 -2
  1152. package/lib/io/inspectedObject.js.map +1 -1
  1153. package/lib/io/loader/ClassDescriptionParser.d.ts +2 -2
  1154. package/lib/io/loader/ClassDescriptionParser.d.ts.map +1 -1
  1155. package/lib/io/loader/ClassDescriptionParser.js +7 -7
  1156. package/lib/io/loader/ClassDescriptionParser.js.map +1 -1
  1157. package/lib/io/loader/ClassLoader.d.ts +3 -3
  1158. package/lib/io/loader/ClassLoader.d.ts.map +1 -1
  1159. package/lib/io/loader/ClassLoader.js +10 -10
  1160. package/lib/io/loader/ClassLoader.js.map +1 -1
  1161. package/lib/io/loader/ModuleLoader.d.ts +2 -1
  1162. package/lib/io/loader/ModuleLoader.d.ts.map +1 -1
  1163. package/lib/io/loader/ModuleLoader.js +21 -6
  1164. package/lib/io/loader/ModuleLoader.js.map +1 -1
  1165. package/lib/io/loader/index.d.ts +4 -4
  1166. package/lib/io/loader/index.d.ts.map +1 -1
  1167. package/lib/io/loader/index.js +4 -4
  1168. package/lib/io/loader/index.js.map +1 -1
  1169. package/lib/io/reflection/index.d.ts +2 -2
  1170. package/lib/io/reflection/index.d.ts.map +1 -1
  1171. package/lib/io/reflection/index.js +2 -2
  1172. package/lib/io/reflection/index.js.map +1 -1
  1173. package/lib/io/stringified.d.ts +1 -1
  1174. package/lib/io/stringified.d.ts.map +1 -1
  1175. package/lib/io/stringified.js +9 -9
  1176. package/lib/io/stringified.js.map +1 -1
  1177. package/lib/model/ActivityDetails.d.ts +2 -2
  1178. package/lib/model/ActivityDetails.d.ts.map +1 -1
  1179. package/lib/model/ActivityDetails.js +3 -3
  1180. package/lib/model/ActivityDetails.js.map +1 -1
  1181. package/lib/model/Artifact.js +3 -3
  1182. package/lib/model/Artifact.js.map +1 -1
  1183. package/lib/model/BusinessRule.d.ts +2 -2
  1184. package/lib/model/BusinessRule.d.ts.map +1 -1
  1185. package/lib/model/BusinessRule.js +3 -3
  1186. package/lib/model/BusinessRule.js.map +1 -1
  1187. package/lib/model/CorrelationIdFactory.d.ts +1 -1
  1188. package/lib/model/CorrelationIdFactory.d.ts.map +1 -1
  1189. package/lib/model/ScenarioDetails.d.ts +3 -3
  1190. package/lib/model/ScenarioDetails.d.ts.map +1 -1
  1191. package/lib/model/ScenarioDetails.js +4 -4
  1192. package/lib/model/ScenarioDetails.js.map +1 -1
  1193. package/lib/model/ScenarioParameters.d.ts +2 -2
  1194. package/lib/model/ScenarioParameters.d.ts.map +1 -1
  1195. package/lib/model/ScenarioParameters.js +3 -3
  1196. package/lib/model/ScenarioParameters.js.map +1 -1
  1197. package/lib/model/TestSuiteDetails.d.ts +3 -3
  1198. package/lib/model/TestSuiteDetails.d.ts.map +1 -1
  1199. package/lib/model/TestSuiteDetails.js +5 -5
  1200. package/lib/model/TestSuiteDetails.js.map +1 -1
  1201. package/lib/model/artifacts/HTTPRequestResponse.d.ts +1 -1
  1202. package/lib/model/artifacts/HTTPRequestResponse.d.ts.map +1 -1
  1203. package/lib/model/artifacts/HTTPRequestResponse.js +2 -2
  1204. package/lib/model/artifacts/HTTPRequestResponse.js.map +1 -1
  1205. package/lib/model/artifacts/JSONData.d.ts +1 -1
  1206. package/lib/model/artifacts/JSONData.d.ts.map +1 -1
  1207. package/lib/model/artifacts/JSONData.js +2 -2
  1208. package/lib/model/artifacts/JSONData.js.map +1 -1
  1209. package/lib/model/artifacts/LogEntry.d.ts +1 -1
  1210. package/lib/model/artifacts/LogEntry.d.ts.map +1 -1
  1211. package/lib/model/artifacts/LogEntry.js +2 -2
  1212. package/lib/model/artifacts/LogEntry.js.map +1 -1
  1213. package/lib/model/artifacts/Photo.d.ts +1 -1
  1214. package/lib/model/artifacts/Photo.d.ts.map +1 -1
  1215. package/lib/model/artifacts/Photo.js +2 -2
  1216. package/lib/model/artifacts/Photo.js.map +1 -1
  1217. package/lib/model/artifacts/TestReport.d.ts +1 -1
  1218. package/lib/model/artifacts/TestReport.d.ts.map +1 -1
  1219. package/lib/model/artifacts/TestReport.js +2 -2
  1220. package/lib/model/artifacts/TestReport.js.map +1 -1
  1221. package/lib/model/artifacts/TextData.d.ts +1 -1
  1222. package/lib/model/artifacts/TextData.d.ts.map +1 -1
  1223. package/lib/model/artifacts/TextData.js +2 -2
  1224. package/lib/model/artifacts/TextData.js.map +1 -1
  1225. package/lib/model/artifacts/index.d.ts +6 -6
  1226. package/lib/model/artifacts/index.d.ts.map +1 -1
  1227. package/lib/model/artifacts/index.js +6 -6
  1228. package/lib/model/artifacts/index.js.map +1 -1
  1229. package/lib/model/index.d.ts +14 -14
  1230. package/lib/model/index.d.ts.map +1 -1
  1231. package/lib/model/index.js +14 -14
  1232. package/lib/model/index.js.map +1 -1
  1233. package/lib/model/outcomes.d.ts +16 -1
  1234. package/lib/model/outcomes.d.ts.map +1 -1
  1235. package/lib/model/outcomes.js +48 -9
  1236. package/lib/model/outcomes.js.map +1 -1
  1237. package/lib/model/tags/ArbitraryTag.d.ts +1 -1
  1238. package/lib/model/tags/ArbitraryTag.d.ts.map +1 -1
  1239. package/lib/model/tags/ArbitraryTag.js +2 -2
  1240. package/lib/model/tags/ArbitraryTag.js.map +1 -1
  1241. package/lib/model/tags/BrowserTag.d.ts +1 -1
  1242. package/lib/model/tags/BrowserTag.d.ts.map +1 -1
  1243. package/lib/model/tags/BrowserTag.js +2 -2
  1244. package/lib/model/tags/BrowserTag.js.map +1 -1
  1245. package/lib/model/tags/CapabilityTag.d.ts +1 -1
  1246. package/lib/model/tags/CapabilityTag.d.ts.map +1 -1
  1247. package/lib/model/tags/CapabilityTag.js +2 -2
  1248. package/lib/model/tags/CapabilityTag.js.map +1 -1
  1249. package/lib/model/tags/ExecutionRetriedTag.d.ts +1 -1
  1250. package/lib/model/tags/ExecutionRetriedTag.d.ts.map +1 -1
  1251. package/lib/model/tags/ExecutionRetriedTag.js +2 -2
  1252. package/lib/model/tags/ExecutionRetriedTag.js.map +1 -1
  1253. package/lib/model/tags/FeatureTag.d.ts +1 -1
  1254. package/lib/model/tags/FeatureTag.d.ts.map +1 -1
  1255. package/lib/model/tags/FeatureTag.js +2 -2
  1256. package/lib/model/tags/FeatureTag.js.map +1 -1
  1257. package/lib/model/tags/IssueTag.d.ts +1 -1
  1258. package/lib/model/tags/IssueTag.d.ts.map +1 -1
  1259. package/lib/model/tags/IssueTag.js +2 -2
  1260. package/lib/model/tags/IssueTag.js.map +1 -1
  1261. package/lib/model/tags/ManualTag.d.ts +1 -1
  1262. package/lib/model/tags/ManualTag.d.ts.map +1 -1
  1263. package/lib/model/tags/ManualTag.js +2 -2
  1264. package/lib/model/tags/ManualTag.js.map +1 -1
  1265. package/lib/model/tags/PlatformTag.d.ts +1 -1
  1266. package/lib/model/tags/PlatformTag.d.ts.map +1 -1
  1267. package/lib/model/tags/PlatformTag.js +2 -2
  1268. package/lib/model/tags/PlatformTag.js.map +1 -1
  1269. package/lib/model/tags/ProjectTag.d.ts +1 -1
  1270. package/lib/model/tags/ProjectTag.d.ts.map +1 -1
  1271. package/lib/model/tags/ProjectTag.js +2 -2
  1272. package/lib/model/tags/ProjectTag.js.map +1 -1
  1273. package/lib/model/tags/Tags.d.ts +1 -1
  1274. package/lib/model/tags/Tags.d.ts.map +1 -1
  1275. package/lib/model/tags/Tags.js +24 -24
  1276. package/lib/model/tags/Tags.js.map +1 -1
  1277. package/lib/model/tags/ThemeTag.d.ts +1 -1
  1278. package/lib/model/tags/ThemeTag.d.ts.map +1 -1
  1279. package/lib/model/tags/ThemeTag.js +2 -2
  1280. package/lib/model/tags/ThemeTag.js.map +1 -1
  1281. package/lib/model/tags/index.d.ts +12 -12
  1282. package/lib/model/tags/index.d.ts.map +1 -1
  1283. package/lib/model/tags/index.js +12 -12
  1284. package/lib/model/tags/index.js.map +1 -1
  1285. package/lib/package.json +1 -0
  1286. package/lib/screenplay/Activity.d.ts +6 -6
  1287. package/lib/screenplay/Activity.d.ts.map +1 -1
  1288. package/lib/screenplay/Activity.js +6 -6
  1289. package/lib/screenplay/Activity.js.map +1 -1
  1290. package/lib/screenplay/Actor.d.ts +17 -12
  1291. package/lib/screenplay/Actor.d.ts.map +1 -1
  1292. package/lib/screenplay/Actor.js +22 -17
  1293. package/lib/screenplay/Actor.js.map +1 -1
  1294. package/lib/screenplay/Answerable.d.ts +1 -1
  1295. package/lib/screenplay/Answerable.d.ts.map +1 -1
  1296. package/lib/screenplay/Answered.d.ts +1 -1
  1297. package/lib/screenplay/Answered.d.ts.map +1 -1
  1298. package/lib/screenplay/Interaction.d.ts +5 -5
  1299. package/lib/screenplay/Interaction.d.ts.map +1 -1
  1300. package/lib/screenplay/Interaction.js +2 -2
  1301. package/lib/screenplay/Interaction.js.map +1 -1
  1302. package/lib/screenplay/Optional.d.ts +1 -1
  1303. package/lib/screenplay/Optional.d.ts.map +1 -1
  1304. package/lib/screenplay/Question.d.ts +11 -11
  1305. package/lib/screenplay/Question.d.ts.map +1 -1
  1306. package/lib/screenplay/Question.js +28 -27
  1307. package/lib/screenplay/Question.js.map +1 -1
  1308. package/lib/screenplay/RecursivelyAnswered.d.ts +1 -1
  1309. package/lib/screenplay/RecursivelyAnswered.d.ts.map +1 -1
  1310. package/lib/screenplay/SerialisedActor.d.ts +1 -1
  1311. package/lib/screenplay/SerialisedActor.d.ts.map +1 -1
  1312. package/lib/screenplay/Task.d.ts +5 -5
  1313. package/lib/screenplay/Task.d.ts.map +1 -1
  1314. package/lib/screenplay/Task.js +6 -6
  1315. package/lib/screenplay/Task.js.map +1 -1
  1316. package/lib/screenplay/WithAnswerableProperties.d.ts +2 -2
  1317. package/lib/screenplay/WithAnswerableProperties.d.ts.map +1 -1
  1318. package/lib/screenplay/abilities/Ability.d.ts +26 -3
  1319. package/lib/screenplay/abilities/Ability.d.ts.map +1 -1
  1320. package/lib/screenplay/abilities/Ability.js +52 -1
  1321. package/lib/screenplay/abilities/Ability.js.map +1 -1
  1322. package/lib/screenplay/abilities/AbilityType.d.ts +2 -2
  1323. package/lib/screenplay/abilities/AbilityType.d.ts.map +1 -1
  1324. package/lib/screenplay/abilities/AnswerQuestions.d.ts +4 -4
  1325. package/lib/screenplay/abilities/AnswerQuestions.d.ts.map +1 -1
  1326. package/lib/screenplay/abilities/AnswerQuestions.js +6 -6
  1327. package/lib/screenplay/abilities/AnswerQuestions.js.map +1 -1
  1328. package/lib/screenplay/abilities/CanHaveAbilities.d.ts +2 -2
  1329. package/lib/screenplay/abilities/CanHaveAbilities.d.ts.map +1 -1
  1330. package/lib/screenplay/abilities/PerformActivities.d.ts +7 -7
  1331. package/lib/screenplay/abilities/PerformActivities.d.ts.map +1 -1
  1332. package/lib/screenplay/abilities/PerformActivities.js +21 -21
  1333. package/lib/screenplay/abilities/PerformActivities.js.map +1 -1
  1334. package/lib/screenplay/abilities/UsesAbilities.d.ts +2 -2
  1335. package/lib/screenplay/abilities/UsesAbilities.d.ts.map +1 -1
  1336. package/lib/screenplay/abilities/index.d.ts +9 -9
  1337. package/lib/screenplay/abilities/index.d.ts.map +1 -1
  1338. package/lib/screenplay/abilities/index.js +9 -9
  1339. package/lib/screenplay/abilities/index.js.map +1 -1
  1340. package/lib/screenplay/activities/PerformsActivities.d.ts +1 -1
  1341. package/lib/screenplay/activities/PerformsActivities.d.ts.map +1 -1
  1342. package/lib/screenplay/activities/index.d.ts +1 -1
  1343. package/lib/screenplay/activities/index.d.ts.map +1 -1
  1344. package/lib/screenplay/activities/index.js +1 -1
  1345. package/lib/screenplay/activities/index.js.map +1 -1
  1346. package/lib/screenplay/artifacts/CollectsArtifacts.d.ts +4 -4
  1347. package/lib/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -1
  1348. package/lib/screenplay/artifacts/index.d.ts +1 -1
  1349. package/lib/screenplay/artifacts/index.d.ts.map +1 -1
  1350. package/lib/screenplay/artifacts/index.js +1 -1
  1351. package/lib/screenplay/artifacts/index.js.map +1 -1
  1352. package/lib/screenplay/debugging/Debug.d.ts +7 -7
  1353. package/lib/screenplay/debugging/Debug.d.ts.map +1 -1
  1354. package/lib/screenplay/debugging/Debug.js +11 -11
  1355. package/lib/screenplay/debugging/Debug.js.map +1 -1
  1356. package/lib/screenplay/debugging/Log.d.ts +5 -5
  1357. package/lib/screenplay/debugging/Log.d.ts.map +1 -1
  1358. package/lib/screenplay/debugging/Log.js +7 -7
  1359. package/lib/screenplay/debugging/Log.js.map +1 -1
  1360. package/lib/screenplay/debugging/index.d.ts +3 -3
  1361. package/lib/screenplay/debugging/index.d.ts.map +1 -1
  1362. package/lib/screenplay/debugging/index.js +3 -3
  1363. package/lib/screenplay/debugging/index.js.map +1 -1
  1364. package/lib/screenplay/index.d.ts +18 -18
  1365. package/lib/screenplay/index.d.ts.map +1 -1
  1366. package/lib/screenplay/index.js +18 -18
  1367. package/lib/screenplay/index.js.map +1 -1
  1368. package/lib/screenplay/notes/ChainableSetter.d.ts +2 -2
  1369. package/lib/screenplay/notes/ChainableSetter.d.ts.map +1 -1
  1370. package/lib/screenplay/notes/Notepad.d.ts +1 -1
  1371. package/lib/screenplay/notes/Notepad.d.ts.map +1 -1
  1372. package/lib/screenplay/notes/Notepad.js +5 -5
  1373. package/lib/screenplay/notes/Notepad.js.map +1 -1
  1374. package/lib/screenplay/notes/NotepadAdapter.d.ts +4 -4
  1375. package/lib/screenplay/notes/NotepadAdapter.d.ts.map +1 -1
  1376. package/lib/screenplay/notes/NotepadAdapter.js +25 -25
  1377. package/lib/screenplay/notes/NotepadAdapter.js.map +1 -1
  1378. package/lib/screenplay/notes/TakeNotes.d.ts +2 -2
  1379. package/lib/screenplay/notes/TakeNotes.d.ts.map +1 -1
  1380. package/lib/screenplay/notes/TakeNotes.js +4 -4
  1381. package/lib/screenplay/notes/TakeNotes.js.map +1 -1
  1382. package/lib/screenplay/notes/index.d.ts +5 -5
  1383. package/lib/screenplay/notes/index.d.ts.map +1 -1
  1384. package/lib/screenplay/notes/index.js +5 -5
  1385. package/lib/screenplay/notes/index.js.map +1 -1
  1386. package/lib/screenplay/notes/notes.d.ts +1 -1
  1387. package/lib/screenplay/notes/notes.d.ts.map +1 -1
  1388. package/lib/screenplay/notes/notes.js +2 -2
  1389. package/lib/screenplay/notes/notes.js.map +1 -1
  1390. package/lib/screenplay/questions/AnswersQuestions.d.ts +1 -1
  1391. package/lib/screenplay/questions/AnswersQuestions.d.ts.map +1 -1
  1392. package/lib/screenplay/questions/ChainableMetaQuestion.d.ts +3 -3
  1393. package/lib/screenplay/questions/ChainableMetaQuestion.d.ts.map +1 -1
  1394. package/lib/screenplay/questions/Check.d.ts +6 -6
  1395. package/lib/screenplay/questions/Check.d.ts.map +1 -1
  1396. package/lib/screenplay/questions/Check.js +6 -6
  1397. package/lib/screenplay/questions/Check.js.map +1 -1
  1398. package/lib/screenplay/questions/Describable.d.ts +3 -3
  1399. package/lib/screenplay/questions/Describable.d.ts.map +1 -1
  1400. package/lib/screenplay/questions/Describable.js +2 -2
  1401. package/lib/screenplay/questions/Describable.js.map +1 -1
  1402. package/lib/screenplay/questions/Expectation.d.ts +3 -3
  1403. package/lib/screenplay/questions/Expectation.d.ts.map +1 -1
  1404. package/lib/screenplay/questions/Expectation.js +16 -16
  1405. package/lib/screenplay/questions/Expectation.js.map +1 -1
  1406. package/lib/screenplay/questions/List.d.ts +8 -8
  1407. package/lib/screenplay/questions/List.d.ts.map +1 -1
  1408. package/lib/screenplay/questions/List.js +31 -31
  1409. package/lib/screenplay/questions/List.js.map +1 -1
  1410. package/lib/screenplay/questions/Masked.d.ts +2 -2
  1411. package/lib/screenplay/questions/Masked.d.ts.map +1 -1
  1412. package/lib/screenplay/questions/Masked.js +2 -2
  1413. package/lib/screenplay/questions/Masked.js.map +1 -1
  1414. package/lib/screenplay/questions/MetaQuestion.d.ts +2 -2
  1415. package/lib/screenplay/questions/MetaQuestion.d.ts.map +1 -1
  1416. package/lib/screenplay/questions/Numeric.d.ts +14 -14
  1417. package/lib/screenplay/questions/Numeric.d.ts.map +1 -1
  1418. package/lib/screenplay/questions/Numeric.js +24 -24
  1419. package/lib/screenplay/questions/Numeric.js.map +1 -1
  1420. package/lib/screenplay/questions/Unanswered.d.ts +1 -0
  1421. package/lib/screenplay/questions/Unanswered.d.ts.map +1 -1
  1422. package/lib/screenplay/questions/Unanswered.js +3 -0
  1423. package/lib/screenplay/questions/Unanswered.js.map +1 -1
  1424. package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts +2 -2
  1425. package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts.map +1 -1
  1426. package/lib/screenplay/questions/expectations/ExpectationDetails.js +9 -9
  1427. package/lib/screenplay/questions/expectations/ExpectationDetails.js.map +1 -1
  1428. package/lib/screenplay/questions/expectations/ExpectationMet.d.ts +1 -1
  1429. package/lib/screenplay/questions/expectations/ExpectationMet.d.ts.map +1 -1
  1430. package/lib/screenplay/questions/expectations/ExpectationMet.js +2 -2
  1431. package/lib/screenplay/questions/expectations/ExpectationMet.js.map +1 -1
  1432. package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts +1 -1
  1433. package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts.map +1 -1
  1434. package/lib/screenplay/questions/expectations/ExpectationNotMet.js +2 -2
  1435. package/lib/screenplay/questions/expectations/ExpectationNotMet.js.map +1 -1
  1436. package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts +1 -1
  1437. package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts.map +1 -1
  1438. package/lib/screenplay/questions/expectations/index.d.ts +4 -4
  1439. package/lib/screenplay/questions/expectations/index.d.ts.map +1 -1
  1440. package/lib/screenplay/questions/expectations/index.js +4 -4
  1441. package/lib/screenplay/questions/expectations/index.js.map +1 -1
  1442. package/lib/screenplay/questions/index.d.ts +13 -13
  1443. package/lib/screenplay/questions/index.d.ts.map +1 -1
  1444. package/lib/screenplay/questions/index.js +13 -13
  1445. package/lib/screenplay/questions/index.js.map +1 -1
  1446. package/lib/screenplay/questions/tag-functions.d.ts +4 -4
  1447. package/lib/screenplay/questions/tag-functions.d.ts.map +1 -1
  1448. package/lib/screenplay/questions/tag-functions.js +10 -10
  1449. package/lib/screenplay/questions/tag-functions.js.map +1 -1
  1450. package/lib/screenplay/time/TellsTime.d.ts +1 -1
  1451. package/lib/screenplay/time/TellsTime.d.ts.map +1 -1
  1452. package/lib/screenplay/time/abilities/ScheduleWork.d.ts +3 -3
  1453. package/lib/screenplay/time/abilities/ScheduleWork.d.ts.map +1 -1
  1454. package/lib/screenplay/time/abilities/ScheduleWork.js +4 -4
  1455. package/lib/screenplay/time/abilities/ScheduleWork.js.map +1 -1
  1456. package/lib/screenplay/time/abilities/index.d.ts +1 -1
  1457. package/lib/screenplay/time/abilities/index.d.ts.map +1 -1
  1458. package/lib/screenplay/time/abilities/index.js +1 -1
  1459. package/lib/screenplay/time/abilities/index.js.map +1 -1
  1460. package/lib/screenplay/time/activities/Wait.d.ts +5 -5
  1461. package/lib/screenplay/time/activities/Wait.d.ts.map +1 -1
  1462. package/lib/screenplay/time/activities/Wait.js +22 -22
  1463. package/lib/screenplay/time/activities/Wait.js.map +1 -1
  1464. package/lib/screenplay/time/activities/index.d.ts +1 -1
  1465. package/lib/screenplay/time/activities/index.d.ts.map +1 -1
  1466. package/lib/screenplay/time/activities/index.js +1 -1
  1467. package/lib/screenplay/time/activities/index.js.map +1 -1
  1468. package/lib/screenplay/time/index.d.ts +4 -4
  1469. package/lib/screenplay/time/index.d.ts.map +1 -1
  1470. package/lib/screenplay/time/index.js +4 -4
  1471. package/lib/screenplay/time/index.js.map +1 -1
  1472. package/lib/screenplay/time/models/Clock.d.ts +2 -2
  1473. package/lib/screenplay/time/models/Clock.d.ts.map +1 -1
  1474. package/lib/screenplay/time/models/Clock.js +5 -5
  1475. package/lib/screenplay/time/models/Clock.js.map +1 -1
  1476. package/lib/screenplay/time/models/DelayedCallback.d.ts +1 -1
  1477. package/lib/screenplay/time/models/DelayedCallback.d.ts.map +1 -1
  1478. package/lib/screenplay/time/models/RepeatUntilLimits.d.ts +1 -1
  1479. package/lib/screenplay/time/models/RepeatUntilLimits.d.ts.map +1 -1
  1480. package/lib/screenplay/time/models/Scheduler.d.ts +4 -4
  1481. package/lib/screenplay/time/models/Scheduler.d.ts.map +1 -1
  1482. package/lib/screenplay/time/models/Scheduler.js +5 -5
  1483. package/lib/screenplay/time/models/Scheduler.js.map +1 -1
  1484. package/lib/screenplay/time/models/Timestamp.d.ts +1 -1
  1485. package/lib/screenplay/time/models/Timestamp.d.ts.map +1 -1
  1486. package/lib/screenplay/time/models/Timestamp.js +2 -2
  1487. package/lib/screenplay/time/models/Timestamp.js.map +1 -1
  1488. package/lib/screenplay/time/models/index.d.ts +6 -6
  1489. package/lib/screenplay/time/models/index.d.ts.map +1 -1
  1490. package/lib/screenplay/time/models/index.js +6 -6
  1491. package/lib/screenplay/time/models/index.js.map +1 -1
  1492. package/lib/stage/Cast.d.ts +1 -1
  1493. package/lib/stage/Cast.d.ts.map +1 -1
  1494. package/lib/stage/Extras.d.ts +2 -2
  1495. package/lib/stage/Extras.d.ts.map +1 -1
  1496. package/lib/stage/ListensToDomainEvents.d.ts +1 -1
  1497. package/lib/stage/ListensToDomainEvents.d.ts.map +1 -1
  1498. package/lib/stage/Stage.d.ts +8 -8
  1499. package/lib/stage/Stage.d.ts.map +1 -1
  1500. package/lib/stage/Stage.js +27 -27
  1501. package/lib/stage/Stage.js.map +1 -1
  1502. package/lib/stage/StageCrewMember.d.ts +4 -4
  1503. package/lib/stage/StageCrewMember.d.ts.map +1 -1
  1504. package/lib/stage/StageCrewMemberBuilder.d.ts +2 -2
  1505. package/lib/stage/StageCrewMemberBuilder.d.ts.map +1 -1
  1506. package/lib/stage/StageCrewMemberBuilderDependencies.d.ts +3 -3
  1507. package/lib/stage/StageCrewMemberBuilderDependencies.d.ts.map +1 -1
  1508. package/lib/stage/StageManager.d.ts +3 -3
  1509. package/lib/stage/StageManager.d.ts.map +1 -1
  1510. package/lib/stage/StageManager.js +4 -4
  1511. package/lib/stage/StageManager.js.map +1 -1
  1512. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +4 -4
  1513. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts.map +1 -1
  1514. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js +20 -20
  1515. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js.map +1 -1
  1516. package/lib/stage/crew/artifact-archiver/index.d.ts +1 -1
  1517. package/lib/stage/crew/artifact-archiver/index.d.ts.map +1 -1
  1518. package/lib/stage/crew/artifact-archiver/index.js +1 -1
  1519. package/lib/stage/crew/artifact-archiver/index.js.map +1 -1
  1520. package/lib/stage/crew/index.d.ts +2 -2
  1521. package/lib/stage/crew/index.d.ts.map +1 -1
  1522. package/lib/stage/crew/index.js +2 -2
  1523. package/lib/stage/crew/index.js.map +1 -1
  1524. package/lib/stage/crew/stream-reporter/StreamReporter.d.ts +3 -3
  1525. package/lib/stage/crew/stream-reporter/StreamReporter.d.ts.map +1 -1
  1526. package/lib/stage/crew/stream-reporter/StreamReporter.js +3 -3
  1527. package/lib/stage/crew/stream-reporter/StreamReporter.js.map +1 -1
  1528. package/lib/stage/crew/stream-reporter/index.d.ts +1 -1
  1529. package/lib/stage/crew/stream-reporter/index.d.ts.map +1 -1
  1530. package/lib/stage/crew/stream-reporter/index.js +1 -1
  1531. package/lib/stage/crew/stream-reporter/index.js.map +1 -1
  1532. package/lib/stage/index.d.ts +10 -9
  1533. package/lib/stage/index.d.ts.map +1 -1
  1534. package/lib/stage/index.js +10 -9
  1535. package/lib/stage/index.js.map +1 -1
  1536. package/lib/stage/queues/DomainEventQueue.d.ts +2 -2
  1537. package/lib/stage/queues/DomainEventQueue.d.ts.map +1 -1
  1538. package/lib/stage/queues/DomainEventQueues.d.ts +3 -3
  1539. package/lib/stage/queues/DomainEventQueues.d.ts.map +1 -1
  1540. package/lib/stage/queues/DomainEventQueues.js +9 -9
  1541. package/lib/stage/queues/DomainEventQueues.js.map +1 -1
  1542. package/lib/stage/queues/index.d.ts +2 -2
  1543. package/lib/stage/queues/index.d.ts.map +1 -1
  1544. package/lib/stage/queues/index.js +2 -2
  1545. package/lib/stage/queues/index.js.map +1 -1
  1546. package/package.json +279 -8
  1547. package/src/Serenity.ts +14 -14
  1548. package/src/adapter/TestRunnerAdapter.ts +1 -1
  1549. package/src/adapter/index.ts +2 -2
  1550. package/src/config/SerenityConfig.ts +5 -5
  1551. package/src/config/index.ts +2 -2
  1552. package/src/errors/ErrorFactory.ts +8 -8
  1553. package/src/errors/ErrorOptions.ts +2 -2
  1554. package/src/errors/ErrorStackParser.ts +3 -2
  1555. package/src/errors/RaiseErrors.ts +4 -4
  1556. package/src/errors/diff/AnsiDiffFormatter.ts +4 -2
  1557. package/src/errors/diff/NoOpDiffFormatter.ts +1 -1
  1558. package/src/errors/diff/index.ts +3 -3
  1559. package/src/errors/index.ts +9 -9
  1560. package/src/errors/model/AssertionError.ts +2 -2
  1561. package/src/errors/model/ConfigurationError.ts +2 -2
  1562. package/src/errors/model/ImplementationPendingError.ts +2 -2
  1563. package/src/errors/model/ListItemNotFoundError.ts +2 -2
  1564. package/src/errors/model/LogicError.ts +2 -2
  1565. package/src/errors/model/OperationInterruptedError.ts +2 -2
  1566. package/src/errors/model/RuntimeError.ts +47 -1
  1567. package/src/errors/model/TestCompromisedError.ts +2 -2
  1568. package/src/errors/model/TimeoutExpiredError.ts +2 -2
  1569. package/src/errors/model/UnknownError.ts +2 -2
  1570. package/src/errors/model/index.ts +10 -10
  1571. package/src/events/ActivityFinished.ts +3 -3
  1572. package/src/events/ActivityRelatedArtifactArchived.ts +5 -5
  1573. package/src/events/ActivityRelatedArtifactGenerated.ts +4 -4
  1574. package/src/events/ActivityStarts.ts +3 -3
  1575. package/src/events/ArtifactArchived.ts +5 -5
  1576. package/src/events/ArtifactGenerated.ts +4 -4
  1577. package/src/events/AsyncOperationAborted.ts +3 -3
  1578. package/src/events/AsyncOperationAttempted.ts +3 -3
  1579. package/src/events/AsyncOperationCompleted.ts +3 -3
  1580. package/src/events/AsyncOperationFailed.ts +4 -4
  1581. package/src/events/BusinessRuleDetected.ts +3 -3
  1582. package/src/events/DomainEvent.ts +1 -1
  1583. package/src/events/EmitsDomainEvents.ts +3 -3
  1584. package/src/events/FeatureNarrativeDetected.ts +3 -3
  1585. package/src/events/InteractionFinished.ts +4 -4
  1586. package/src/events/InteractionStarts.ts +3 -3
  1587. package/src/events/RetryableSceneDetected.ts +3 -3
  1588. package/src/events/SceneBackgroundDetected.ts +3 -3
  1589. package/src/events/SceneDescriptionDetected.ts +3 -3
  1590. package/src/events/SceneFinished.ts +4 -4
  1591. package/src/events/SceneFinishes.ts +4 -4
  1592. package/src/events/SceneParametersDetected.ts +3 -3
  1593. package/src/events/SceneSequenceDetected.ts +3 -3
  1594. package/src/events/SceneStarts.ts +3 -3
  1595. package/src/events/SceneTagged.ts +3 -3
  1596. package/src/events/SceneTemplateDetected.ts +3 -3
  1597. package/src/events/TaskFinished.ts +4 -4
  1598. package/src/events/TaskStarts.ts +3 -3
  1599. package/src/events/TestRunFinished.ts +4 -4
  1600. package/src/events/TestRunFinishes.ts +2 -2
  1601. package/src/events/TestRunStarts.ts +2 -2
  1602. package/src/events/TestRunnerDetected.ts +3 -3
  1603. package/src/events/TestSuiteFinished.ts +4 -4
  1604. package/src/events/TestSuiteStarts.ts +3 -3
  1605. package/src/events/actor/ActorEntersStage.ts +3 -3
  1606. package/src/events/actor/ActorSpotlighted.ts +4 -4
  1607. package/src/events/actor/ActorStageExitAttempted.ts +3 -3
  1608. package/src/events/actor/ActorStageExitCompleted.ts +3 -3
  1609. package/src/events/actor/ActorStageExitFailed.ts +4 -4
  1610. package/src/events/actor/ActorStageExitStarts.ts +3 -3
  1611. package/src/events/actor/index.ts +6 -6
  1612. package/src/events/index.ts +35 -35
  1613. package/src/index.ts +7 -7
  1614. package/src/instance.ts +20 -7
  1615. package/src/io/FileFinder.ts +1 -1
  1616. package/src/io/FileSystem.ts +2 -2
  1617. package/src/io/FileSystemLocation.ts +1 -1
  1618. package/src/io/Path.ts +4 -1
  1619. package/src/io/RequirementsHierarchy.ts +4 -4
  1620. package/src/io/format.ts +2 -2
  1621. package/src/io/index.ts +16 -15
  1622. package/src/io/inspectedObject.ts +1 -1
  1623. package/src/io/loader/ClassDescriptionParser.ts +4 -4
  1624. package/src/io/loader/ClassLoader.ts +5 -5
  1625. package/src/io/loader/ModuleLoader.ts +23 -6
  1626. package/src/io/loader/index.ts +4 -4
  1627. package/src/io/reflection/index.ts +2 -2
  1628. package/src/io/stringified.ts +3 -3
  1629. package/src/model/ActivityDetails.ts +2 -2
  1630. package/src/model/Artifact.ts +2 -2
  1631. package/src/model/BusinessRule.ts +2 -2
  1632. package/src/model/CorrelationIdFactory.ts +1 -1
  1633. package/src/model/ScenarioDetails.ts +3 -3
  1634. package/src/model/ScenarioParameters.ts +2 -2
  1635. package/src/model/TestSuiteDetails.ts +3 -3
  1636. package/src/model/artifacts/HTTPRequestResponse.ts +1 -1
  1637. package/src/model/artifacts/JSONData.ts +1 -1
  1638. package/src/model/artifacts/LogEntry.ts +1 -1
  1639. package/src/model/artifacts/Photo.ts +1 -1
  1640. package/src/model/artifacts/TestReport.ts +1 -1
  1641. package/src/model/artifacts/TextData.ts +1 -1
  1642. package/src/model/artifacts/index.ts +6 -6
  1643. package/src/model/index.ts +14 -14
  1644. package/src/model/outcomes.ts +48 -2
  1645. package/src/model/tags/ArbitraryTag.ts +1 -1
  1646. package/src/model/tags/BrowserTag.ts +1 -1
  1647. package/src/model/tags/CapabilityTag.ts +1 -1
  1648. package/src/model/tags/ExecutionRetriedTag.ts +1 -1
  1649. package/src/model/tags/FeatureTag.ts +1 -1
  1650. package/src/model/tags/IssueTag.ts +1 -1
  1651. package/src/model/tags/ManualTag.ts +1 -1
  1652. package/src/model/tags/PlatformTag.ts +1 -1
  1653. package/src/model/tags/ProjectTag.ts +1 -1
  1654. package/src/model/tags/Tags.ts +11 -11
  1655. package/src/model/tags/ThemeTag.ts +1 -1
  1656. package/src/model/tags/index.ts +12 -12
  1657. package/src/screenplay/Activity.ts +7 -7
  1658. package/src/screenplay/Actor.ts +25 -20
  1659. package/src/screenplay/Answerable.ts +1 -1
  1660. package/src/screenplay/Answered.ts +1 -1
  1661. package/src/screenplay/Interaction.ts +5 -5
  1662. package/src/screenplay/Optional.ts +1 -1
  1663. package/src/screenplay/Question.ts +18 -17
  1664. package/src/screenplay/RecursivelyAnswered.ts +1 -1
  1665. package/src/screenplay/SerialisedActor.ts +1 -1
  1666. package/src/screenplay/Task.ts +6 -6
  1667. package/src/screenplay/WithAnswerableProperties.ts +2 -2
  1668. package/src/screenplay/abilities/Ability.ts +64 -5
  1669. package/src/screenplay/abilities/AbilityType.ts +2 -2
  1670. package/src/screenplay/abilities/AnswerQuestions.ts +6 -6
  1671. package/src/screenplay/abilities/CanHaveAbilities.ts +2 -2
  1672. package/src/screenplay/abilities/PerformActivities.ts +12 -12
  1673. package/src/screenplay/abilities/UsesAbilities.ts +2 -2
  1674. package/src/screenplay/abilities/index.ts +9 -9
  1675. package/src/screenplay/activities/PerformsActivities.ts +1 -1
  1676. package/src/screenplay/activities/index.ts +1 -1
  1677. package/src/screenplay/artifacts/CollectsArtifacts.ts +4 -4
  1678. package/src/screenplay/artifacts/index.ts +1 -1
  1679. package/src/screenplay/debugging/Debug.ts +11 -11
  1680. package/src/screenplay/debugging/Log.ts +8 -8
  1681. package/src/screenplay/debugging/index.ts +3 -3
  1682. package/src/screenplay/index.ts +18 -18
  1683. package/src/screenplay/notes/ChainableSetter.ts +2 -2
  1684. package/src/screenplay/notes/Notepad.ts +3 -3
  1685. package/src/screenplay/notes/NotepadAdapter.ts +10 -10
  1686. package/src/screenplay/notes/TakeNotes.ts +2 -2
  1687. package/src/screenplay/notes/index.ts +5 -5
  1688. package/src/screenplay/notes/notes.ts +2 -2
  1689. package/src/screenplay/questions/AnswersQuestions.ts +1 -1
  1690. package/src/screenplay/questions/ChainableMetaQuestion.ts +3 -3
  1691. package/src/screenplay/questions/Check.ts +8 -8
  1692. package/src/screenplay/questions/Describable.ts +4 -4
  1693. package/src/screenplay/questions/Expectation.ts +7 -7
  1694. package/src/screenplay/questions/List.ts +11 -11
  1695. package/src/screenplay/questions/Masked.ts +2 -2
  1696. package/src/screenplay/questions/MetaQuestion.ts +2 -2
  1697. package/src/screenplay/questions/Numeric.ts +18 -18
  1698. package/src/screenplay/questions/Unanswered.ts +5 -0
  1699. package/src/screenplay/questions/expectations/ExpectationDetails.ts +3 -3
  1700. package/src/screenplay/questions/expectations/ExpectationMet.ts +1 -1
  1701. package/src/screenplay/questions/expectations/ExpectationNotMet.ts +1 -1
  1702. package/src/screenplay/questions/expectations/ExpectationOutcome.ts +1 -1
  1703. package/src/screenplay/questions/expectations/index.ts +4 -4
  1704. package/src/screenplay/questions/index.ts +13 -13
  1705. package/src/screenplay/questions/tag-functions.ts +9 -9
  1706. package/src/screenplay/time/TellsTime.ts +1 -1
  1707. package/src/screenplay/time/abilities/ScheduleWork.ts +4 -4
  1708. package/src/screenplay/time/abilities/index.ts +1 -1
  1709. package/src/screenplay/time/activities/Wait.ts +10 -10
  1710. package/src/screenplay/time/activities/index.ts +1 -1
  1711. package/src/screenplay/time/index.ts +4 -4
  1712. package/src/screenplay/time/models/Clock.ts +2 -2
  1713. package/src/screenplay/time/models/DelayedCallback.ts +1 -1
  1714. package/src/screenplay/time/models/RepeatUntilLimits.ts +1 -1
  1715. package/src/screenplay/time/models/Scheduler.ts +6 -6
  1716. package/src/screenplay/time/models/Timestamp.ts +1 -1
  1717. package/src/screenplay/time/models/index.ts +6 -6
  1718. package/src/stage/Cast.ts +1 -1
  1719. package/src/stage/Extras.ts +2 -2
  1720. package/src/stage/ListensToDomainEvents.ts +1 -1
  1721. package/src/stage/Stage.ts +8 -8
  1722. package/src/stage/StageCrewMember.ts +4 -4
  1723. package/src/stage/StageCrewMemberBuilder.ts +2 -2
  1724. package/src/stage/StageCrewMemberBuilderDependencies.ts +3 -3
  1725. package/src/stage/StageManager.ts +5 -5
  1726. package/src/stage/crew/artifact-archiver/ArtifactArchiver.ts +8 -8
  1727. package/src/stage/crew/artifact-archiver/index.ts +1 -1
  1728. package/src/stage/crew/index.ts +2 -2
  1729. package/src/stage/crew/stream-reporter/StreamReporter.ts +4 -4
  1730. package/src/stage/crew/stream-reporter/index.ts +1 -1
  1731. package/src/stage/index.ts +10 -9
  1732. package/src/stage/queues/DomainEventQueue.ts +2 -2
  1733. package/src/stage/queues/DomainEventQueues.ts +6 -6
  1734. package/src/stage/queues/index.ts +2 -2
  1735. package/tsconfig-cjs.build.json +17 -0
  1736. package/tsconfig-esm.build.json +18 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Question.js","sourceRoot":"","sources":["../../src/screenplay/Question.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAElF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG9E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD,OAAO,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,MAAM,OAAgB,QAAY,SAAQ,WAAW;IA6BjD,MAAM,CAAC,KAAK,CACR,WAA+B,EAC/B,IAAqF,EACrF,g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AmB,CAAC,KAAK,CAAC;iBACrC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAE,KAAK,EAAG,KAAa,CAAC,KAAK,CAAC,CAAE,CAAC,CAAC;YACpD,OAAO,GAAI,KAAK,CAAC,WAAW,CAAC,IAAK,IAAK,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAE,GAAG,CAAC;QACxF,CAAC;QAED,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAEO,IAAI,CAAC,KAAa;QACtB,MAAM,QAAQ,GAAG,KAAK,CAAC;QACvB,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAE/C,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAExE,OAAO,QAAQ,CAAC,MAAM,GAAG,SAAS;YAC9B,CAAC,CAAC,GAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAE,GAAI,QAAS,EAAE;YACjF,CAAC,CAAC,QAAQ,CAAC;IACnB,CAAC"}
@@ -0,0 +1,40 @@
1
+ import type { Question } from './Question.js';
2
+ /**
3
+ * Describes a recursively resolved plain JavaScript object with [answerable properties](https://serenity-js.org/api/core/#WithAnswerableProperties).
4
+ *
5
+ * Typically, used in conjunction with [`Question.fromObject`](https://serenity-js.org/api/core/class/Question/#fromObject).
6
+ *
7
+ * ## Using `RecursivelyAnswered`
8
+ *
9
+ * ```ts
10
+ * import {
11
+ * actorCalled, notes, q, Question, QuestionAdapter, WithAnswerableProperties
12
+ * } from '@serenity-js/core';
13
+ *
14
+ * interface RequestConfiguration {
15
+ * headers: Record<string, string>;
16
+ * }
17
+ *
18
+ * const requestConfiguration: WithAnswerableProperties<RequestConfiguration> = {
19
+ * headers: {
20
+ * Authorization: q`Bearer ${ notes().get('authDetails').token }`
21
+ * }
22
+ * }
23
+ *
24
+ * const question: QuestionAdapter<RequestConfiguration> =
25
+ * Question.fromObject<RequestConfiguration>(requestConfiguration)
26
+ *
27
+ * const answer = await actorCalled('Annie').answer(question);
28
+ *
29
+ * const a1: RequestConfiguration = answer;
30
+ * const a2: RecursivelyAnswered<WithAnswerableProperties<RequestConfiguration>> = answer;
31
+ *
32
+ * // RequestConfiguration === RecursivelyAnswered<WithAnswerableProperties<RequestConfiguration>>
33
+ * ```
34
+ *
35
+ * @group Questions
36
+ */
37
+ export type RecursivelyAnswered<T> = T extends null | undefined ? T : T extends Question<Promise<infer A>> | Question<infer A> | Promise<infer A> ? RecursivelyAnswered<Awaited<A>> : T extends object ? {
38
+ [K in keyof T]: RecursivelyAnswered<T[K]>;
39
+ } : T;
40
+ //# sourceMappingURL=RecursivelyAnswered.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecursivelyAnswered.d.ts","sourceRoot":"","sources":["../../src/screenplay/RecursivelyAnswered.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAC7B,CAAC,SAAS,IAAI,GAAG,SAAS,GAAG,CAAC,GAC1B,CAAC,SAAS,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GACzG,CAAC,SAAS,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAC5D,CAAC,CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RecursivelyAnswered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecursivelyAnswered.js","sourceRoot":"","sources":["../../src/screenplay/RecursivelyAnswered.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { SerialisedAbility } from './abilities/index.js';
2
+ /**
3
+ * @group Actors
4
+ */
5
+ export interface SerialisedActor {
6
+ name: string;
7
+ abilities: Array<SerialisedAbility>;
8
+ }
9
+ //# sourceMappingURL=SerialisedActor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SerialisedActor.d.ts","sourceRoot":"","sources":["../../src/screenplay/SerialisedActor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SerialisedActor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SerialisedActor.js","sourceRoot":"","sources":["../../src/screenplay/SerialisedActor.ts"],"names":[],"mappings":""}
@@ -0,0 +1,196 @@
1
+ import type { PerformsActivities } from './activities/index.js';
2
+ import { Activity } from './Activity.js';
3
+ import type { Answerable } from './Answerable.js';
4
+ /**
5
+ * **Tasks** model **[sequences of activities](https://serenity-js.org/api/core/class/Activity/)**
6
+ * and help you capture meaningful steps of an [actor](https://serenity-js.org/api/core/class/Actor/) workflow
7
+ * in your domain.
8
+ *
9
+ * Typically, tasks correspond to higher-level, business domain-specific activities
10
+ * like to `BookAPlaneTicket`, `PlaceATrade`, `TransferFunds`, and so on.
11
+ * However, higher-level tasks can and should be composed of lower-level tasks.
12
+ * For example, a task to `SignUp` could be composed of tasks to `ProvideUsername` and `ProvidePassword`.
13
+ *
14
+ * The lowest-level tasks in your abstraction hierarchy should be composed of [interactions](https://serenity-js.org/api/core/class/Interaction/).
15
+ * For example, a low-level task to `ProvideUsername` could be composed of an interaction to [enter](https://serenity-js.org/api/web/class/Enter/) the value
16
+ * into a form field and [press](https://serenity-js.org/api/web/class/Press/) the [`Key.Enter`](https://serenity-js.org/api/web/class/Key/#Enter).
17
+ *
18
+ * Tasks are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
19
+ * along with [actors](https://serenity-js.org/api/core/class/Actor/), [abilities](https://serenity-js.org/api/core/class/Ability/), [interactions](https://serenity-js.org/api/core/class/Interaction/), and [questions](https://serenity-js.org/api/core/class/Question/).
20
+ *
21
+ * ![Screenplay Pattern](https://serenity-js.org/images/design/serenity-js-screenplay-pattern.png)
22
+ *
23
+ * Learn more about:
24
+ * - [User-Centred Design: How a 50 year old technique became the key to scalable test automation](https://janmolak.com/user-centred-design-how-a-50-year-old-technique-became-the-key-to-scalable-test-automation-66a658a36555)
25
+ * - [Actors](https://serenity-js.org/api/core/class/Actor/)
26
+ * - [Activities](https://serenity-js.org/api/core/class/Activity/)
27
+ * - [Interactions](https://serenity-js.org/api/core/class/Interaction/)
28
+ *
29
+ * ## Defining a task
30
+ *
31
+ * ```ts
32
+ * import { Answerable, Task, the } from '@serenity-js/core'
33
+ * import { By, Click, Enter, PageElement, Press, Key } from '@serenity-js/web'
34
+ *
35
+ * const SignIn = (username: Answerable<string>, password: Answerable<string>) =>
36
+ * Task.where(the`#actor signs is as ${ username }`,
37
+ * Enter.theValue(username).into(PageElement.located(By.id('username'))),
38
+ * Enter.theValue(password).into(PageElement.located(By.id('password'))),
39
+ * Press.the(Key.Enter),
40
+ * );
41
+ * ```
42
+ *
43
+ * ## Defining a not implemented task
44
+ *
45
+ * Note that calling [`Task.where`](https://serenity-js.org/api/core/class/Task/#where) method without providing the sequence of [activities](https://serenity-js.org/api/core/class/Activity/)
46
+ * produces a Task that's marked as "pending" in the test report.
47
+ *
48
+ * This feature is useful when you want to quickly write down a task that will be needed in the scenario,
49
+ * but you're not yet sure what activities it will involve.
50
+ *
51
+ * ```ts
52
+ * import { Task, the } from '@serenity-js/core'
53
+ *
54
+ * const SignUp = () =>
55
+ * Task.where(the`#actor signs up for a newsletter`) // no activities provided
56
+ * // => task marked as pending
57
+ * ```
58
+ *
59
+ * ## Composing activities into tasks
60
+ *
61
+ * The purpose of **tasks** is to help you capture domain vocabulary by **associating domain meaning** with a **sequence of activities**.
62
+ * From the implementation perspective, tasks help you give a **meaningful description** to such sequence
63
+ * and provide a way to **easily reuse activities across your code base**.
64
+ *
65
+ * :::tip Remember
66
+ * **Tasks** associate **domain meaning** with a sequence of **lower-level activities** and provide a mechanism for **code reuse**.
67
+ * :::
68
+ *
69
+ * For example, a task to _find a flight connection from London to New York_ could be modelled as a sequence of the following lower-level activities:
70
+ * - specify origin city of "London"
71
+ * - specify destination city of "New York"
72
+ *
73
+ * The easiest way to implement such task, and any custom Serenity/JS task for this matter, is to use the [`Task.where`](https://serenity-js.org/api/core/class/Task/#where) method to compose the lower-level activities:
74
+ *
75
+ * ```typescript
76
+ * import { Task, the } from '@serenity-js/core'
77
+ *
78
+ * const findFlight = (originCity: string, destinationCity: string) =>
79
+ * Task.where(the`#actor finds a flight from ${ originCity } to ${ destinationCity }`, // task goal
80
+ * specifyOriginCity(originCity), // activities
81
+ * specifyDestinationCity(originCity),
82
+ * )
83
+ * ```
84
+ *
85
+ * Furthermore, if the actor was interacting with a web UI, a task to _specify origin city_ could again be composed of other activities:
86
+ * - click on the `origin airport` widget
87
+ * - enter city name of `London`
88
+ * - pick the first suggested airport from the list
89
+ *
90
+ * Conversely, a task to _specify destination city_ could be composed of:
91
+ * - click on the `destination airport` widget
92
+ * - enter city name of `New York`
93
+ * - pick the first suggested airport from the list
94
+ *
95
+ * Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) provide low-level activities that
96
+ * allow actors to interact with the various interfaces of the system under test.
97
+ * For example, [Serenity/JS Web module](https://serenity-js.org/api/web) ships with activities such as [`Click`](https://serenity-js.org/api/web/class/Click/) or [`Enter`](https://serenity-js.org/api/web/class/Enter/),
98
+ * which we can incorporate into our task definitions just like any other activities:
99
+ *
100
+ * ```typescript
101
+ * import { Task, the } from '@serenity-js/core'
102
+ * import { Click, Enter, Key, Press } from '@serenity-js/web'
103
+ *
104
+ * import { FlightFinder } from './ui/flight-finder.js'
105
+ *
106
+ * const specifyOriginCity = (originCity: string) =>
107
+ * Task.where(the`#actor specifies origin city of ${ originCity }`,
108
+ * Click.on(FlightFinder.originAirport),
109
+ * Enter.theValue(originCity).into(FlightFinder.originAirport),
110
+ * Press.the(Key.ArrowDown, Key.Enter).into(FlightFinder.originAirport),
111
+ * )
112
+ *
113
+ * const specifyDestinationCity = (destinationCity: string) =>
114
+ * Task.where(the`#actor specifies destination city of ${ destinationCity }`,
115
+ * Click.on(FlightFinder.destinationAirport),
116
+ * Enter.theValue(destinationCity).into(FlightFinder.destinationAirport),
117
+ * Press.the(Key.ArrowDown, Key.Enter).into(FlightFinder.destinationAirport),
118
+ * )
119
+ * ```
120
+ *
121
+ * As you can already see, tasks to _specify origin city_ and _specify destination city_ are almost identical,
122
+ * save for the name of the widget and the text value the actor is supposed to enter.
123
+ * Serenity/JS **task-based code reuse model** means that we can clean up such duplicated implementation
124
+ * by **extracting a parameterised task**, in this case called `specifyCity`:
125
+ *
126
+ * ```typescript
127
+ * import { Task, the } from '@serenity-js/core'
128
+ * import { Click, Enter, Key, PageElement, Press } from '@serenity-js/web'
129
+ *
130
+ * import { FlightFinder } from './ui/flight-finder.js'
131
+ *
132
+ * const specifyOriginCity = (originCity: string) =>
133
+ * Task.where(the`#actor specifies origin city of ${ originCity }`,
134
+ * specifyCity(originCity, FlightFinder.originAirport)
135
+ * )
136
+ *
137
+ * const specifyDestinationCity = (destinationCity: string) =>
138
+ * Task.where(the`#actor specifies destination city of ${ destinationCity }`,
139
+ * specifyCity(destinationCity, FlightFinder.destinationAirport),
140
+ * )
141
+ *
142
+ * const specifyCity = (cityName: string, widget: PageElement) =>
143
+ * Task.where(the`#actor specifies city of ${ cityName } in ${ widget }`,
144
+ * Click.on(widget),
145
+ * Enter.theValue(cityName).into(widget),
146
+ * Press.the(Key.ArrowDown, Key.Enter).into(widget),
147
+ * )
148
+ * ```
149
+ *
150
+ * As you work with Serenity/JS, you'll notice that the ideas of **functional decomposition**, so thinking of tasks as sequences of lower-level activities,
151
+ * as well as **functional composition**, so implementing reusable activities and composing them into higher-level tasks,
152
+ * are at the heart of the Screenplay Pattern. You'll also notice that the entire Serenity/JS framework does it best to help your team follow this approach.
153
+ *
154
+ * :::info The power of the Serenity/JS task-based code reuse model
155
+ * What makes the Serenity/JS task-based code reuse model so **powerful at scale** is the observation that:
156
+ * - for most software systems, a vast number of **diverse test scenarios** can be composed of a relatively **small number of high-level activities**
157
+ * - all **high-level activities** can be composed of a relatively **small number of lower-level activities**
158
+ * - in a reasonably consistently-designed software system, most lower-level activities tend to be similar and rather consistent across the various aspects of a given interface.
159
+ * In particular, **there are only so many ways** one can interact with a UI button or send an HTTP request to a web service.
160
+ *
161
+ * What this means in practice is that by investing your time in properly designing **relatively few reusable tasks**
162
+ * to test your system, you give your team a **significant productivity boost** and **leverage** when producing high-level test scenarios.
163
+ *
164
+ * On top of that, this design approach results not only in **simpler test scenarios** that reduce
165
+ * the [cognitive load](https://en.wikipedia.org/wiki/Cognitive_load) on the reader as they require them to process
166
+ * the scenario only one level of abstraction at the time.
167
+ * It also allows for the test to **take shortcuts** in well-defined points of the workflow - use a REST API request to create
168
+ * a test user account instead of going through the registration form.
169
+ * :::
170
+ *
171
+ * @group Screenplay Pattern
172
+ */
173
+ export declare abstract class Task extends Activity {
174
+ /**
175
+ * A factory method that makes defining custom tasks more convenient.
176
+ *
177
+ * @param description
178
+ * A description to be used when reporting this task
179
+ *
180
+ * @param activities
181
+ * A sequence of lower-level activities that constitute this task
182
+ */
183
+ static where(description: Answerable<string>, ...activities: Activity[]): Task;
184
+ /**
185
+ * Instructs the provided [`Actor`](https://serenity-js.org/api/core/class/Actor/) to perform this [`Task`](https://serenity-js.org/api/core/class/Task/).
186
+ *
187
+ * @param {PerformsActivities} actor
188
+ *
189
+ * #### Learn more
190
+ * - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
191
+ * - [`PerformsActivities`](https://serenity-js.org/api/core/interface/PerformsActivities/)
192
+ * - [`Activity`](https://serenity-js.org/api/core/class/Activity/)
193
+ */
194
+ abstract performAs(actor: PerformsActivities): Promise<void>;
195
+ }
196
+ //# sourceMappingURL=Task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/screenplay/Task.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwKG;AACH,8BAAsB,IAAK,SAAQ,QAAQ;IAEvC;;;;;;;;OAQG;IACH,MAAM,CAAC,KAAK,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,GAAG,UAAU,EAAE,QAAQ,EAAE,GAAG,IAAI;IAM9E;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAC/D"}
@@ -0,0 +1,212 @@
1
+ import { ImplementationPendingError } from '../errors/index.js';
2
+ import { Activity } from './Activity.js';
3
+ /**
4
+ * **Tasks** model **[sequences of activities](https://serenity-js.org/api/core/class/Activity/)**
5
+ * and help you capture meaningful steps of an [actor](https://serenity-js.org/api/core/class/Actor/) workflow
6
+ * in your domain.
7
+ *
8
+ * Typically, tasks correspond to higher-level, business domain-specific activities
9
+ * like to `BookAPlaneTicket`, `PlaceATrade`, `TransferFunds`, and so on.
10
+ * However, higher-level tasks can and should be composed of lower-level tasks.
11
+ * For example, a task to `SignUp` could be composed of tasks to `ProvideUsername` and `ProvidePassword`.
12
+ *
13
+ * The lowest-level tasks in your abstraction hierarchy should be composed of [interactions](https://serenity-js.org/api/core/class/Interaction/).
14
+ * For example, a low-level task to `ProvideUsername` could be composed of an interaction to [enter](https://serenity-js.org/api/web/class/Enter/) the value
15
+ * into a form field and [press](https://serenity-js.org/api/web/class/Press/) the [`Key.Enter`](https://serenity-js.org/api/web/class/Key/#Enter).
16
+ *
17
+ * Tasks are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
18
+ * along with [actors](https://serenity-js.org/api/core/class/Actor/), [abilities](https://serenity-js.org/api/core/class/Ability/), [interactions](https://serenity-js.org/api/core/class/Interaction/), and [questions](https://serenity-js.org/api/core/class/Question/).
19
+ *
20
+ * ![Screenplay Pattern](https://serenity-js.org/images/design/serenity-js-screenplay-pattern.png)
21
+ *
22
+ * Learn more about:
23
+ * - [User-Centred Design: How a 50 year old technique became the key to scalable test automation](https://janmolak.com/user-centred-design-how-a-50-year-old-technique-became-the-key-to-scalable-test-automation-66a658a36555)
24
+ * - [Actors](https://serenity-js.org/api/core/class/Actor/)
25
+ * - [Activities](https://serenity-js.org/api/core/class/Activity/)
26
+ * - [Interactions](https://serenity-js.org/api/core/class/Interaction/)
27
+ *
28
+ * ## Defining a task
29
+ *
30
+ * ```ts
31
+ * import { Answerable, Task, the } from '@serenity-js/core'
32
+ * import { By, Click, Enter, PageElement, Press, Key } from '@serenity-js/web'
33
+ *
34
+ * const SignIn = (username: Answerable<string>, password: Answerable<string>) =>
35
+ * Task.where(the`#actor signs is as ${ username }`,
36
+ * Enter.theValue(username).into(PageElement.located(By.id('username'))),
37
+ * Enter.theValue(password).into(PageElement.located(By.id('password'))),
38
+ * Press.the(Key.Enter),
39
+ * );
40
+ * ```
41
+ *
42
+ * ## Defining a not implemented task
43
+ *
44
+ * Note that calling [`Task.where`](https://serenity-js.org/api/core/class/Task/#where) method without providing the sequence of [activities](https://serenity-js.org/api/core/class/Activity/)
45
+ * produces a Task that's marked as "pending" in the test report.
46
+ *
47
+ * This feature is useful when you want to quickly write down a task that will be needed in the scenario,
48
+ * but you're not yet sure what activities it will involve.
49
+ *
50
+ * ```ts
51
+ * import { Task, the } from '@serenity-js/core'
52
+ *
53
+ * const SignUp = () =>
54
+ * Task.where(the`#actor signs up for a newsletter`) // no activities provided
55
+ * // => task marked as pending
56
+ * ```
57
+ *
58
+ * ## Composing activities into tasks
59
+ *
60
+ * The purpose of **tasks** is to help you capture domain vocabulary by **associating domain meaning** with a **sequence of activities**.
61
+ * From the implementation perspective, tasks help you give a **meaningful description** to such sequence
62
+ * and provide a way to **easily reuse activities across your code base**.
63
+ *
64
+ * :::tip Remember
65
+ * **Tasks** associate **domain meaning** with a sequence of **lower-level activities** and provide a mechanism for **code reuse**.
66
+ * :::
67
+ *
68
+ * For example, a task to _find a flight connection from London to New York_ could be modelled as a sequence of the following lower-level activities:
69
+ * - specify origin city of "London"
70
+ * - specify destination city of "New York"
71
+ *
72
+ * The easiest way to implement such task, and any custom Serenity/JS task for this matter, is to use the [`Task.where`](https://serenity-js.org/api/core/class/Task/#where) method to compose the lower-level activities:
73
+ *
74
+ * ```typescript
75
+ * import { Task, the } from '@serenity-js/core'
76
+ *
77
+ * const findFlight = (originCity: string, destinationCity: string) =>
78
+ * Task.where(the`#actor finds a flight from ${ originCity } to ${ destinationCity }`, // task goal
79
+ * specifyOriginCity(originCity), // activities
80
+ * specifyDestinationCity(originCity),
81
+ * )
82
+ * ```
83
+ *
84
+ * Furthermore, if the actor was interacting with a web UI, a task to _specify origin city_ could again be composed of other activities:
85
+ * - click on the `origin airport` widget
86
+ * - enter city name of `London`
87
+ * - pick the first suggested airport from the list
88
+ *
89
+ * Conversely, a task to _specify destination city_ could be composed of:
90
+ * - click on the `destination airport` widget
91
+ * - enter city name of `New York`
92
+ * - pick the first suggested airport from the list
93
+ *
94
+ * Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/architecture/) provide low-level activities that
95
+ * allow actors to interact with the various interfaces of the system under test.
96
+ * For example, [Serenity/JS Web module](https://serenity-js.org/api/web) ships with activities such as [`Click`](https://serenity-js.org/api/web/class/Click/) or [`Enter`](https://serenity-js.org/api/web/class/Enter/),
97
+ * which we can incorporate into our task definitions just like any other activities:
98
+ *
99
+ * ```typescript
100
+ * import { Task, the } from '@serenity-js/core'
101
+ * import { Click, Enter, Key, Press } from '@serenity-js/web'
102
+ *
103
+ * import { FlightFinder } from './ui/flight-finder.js'
104
+ *
105
+ * const specifyOriginCity = (originCity: string) =>
106
+ * Task.where(the`#actor specifies origin city of ${ originCity }`,
107
+ * Click.on(FlightFinder.originAirport),
108
+ * Enter.theValue(originCity).into(FlightFinder.originAirport),
109
+ * Press.the(Key.ArrowDown, Key.Enter).into(FlightFinder.originAirport),
110
+ * )
111
+ *
112
+ * const specifyDestinationCity = (destinationCity: string) =>
113
+ * Task.where(the`#actor specifies destination city of ${ destinationCity }`,
114
+ * Click.on(FlightFinder.destinationAirport),
115
+ * Enter.theValue(destinationCity).into(FlightFinder.destinationAirport),
116
+ * Press.the(Key.ArrowDown, Key.Enter).into(FlightFinder.destinationAirport),
117
+ * )
118
+ * ```
119
+ *
120
+ * As you can already see, tasks to _specify origin city_ and _specify destination city_ are almost identical,
121
+ * save for the name of the widget and the text value the actor is supposed to enter.
122
+ * Serenity/JS **task-based code reuse model** means that we can clean up such duplicated implementation
123
+ * by **extracting a parameterised task**, in this case called `specifyCity`:
124
+ *
125
+ * ```typescript
126
+ * import { Task, the } from '@serenity-js/core'
127
+ * import { Click, Enter, Key, PageElement, Press } from '@serenity-js/web'
128
+ *
129
+ * import { FlightFinder } from './ui/flight-finder.js'
130
+ *
131
+ * const specifyOriginCity = (originCity: string) =>
132
+ * Task.where(the`#actor specifies origin city of ${ originCity }`,
133
+ * specifyCity(originCity, FlightFinder.originAirport)
134
+ * )
135
+ *
136
+ * const specifyDestinationCity = (destinationCity: string) =>
137
+ * Task.where(the`#actor specifies destination city of ${ destinationCity }`,
138
+ * specifyCity(destinationCity, FlightFinder.destinationAirport),
139
+ * )
140
+ *
141
+ * const specifyCity = (cityName: string, widget: PageElement) =>
142
+ * Task.where(the`#actor specifies city of ${ cityName } in ${ widget }`,
143
+ * Click.on(widget),
144
+ * Enter.theValue(cityName).into(widget),
145
+ * Press.the(Key.ArrowDown, Key.Enter).into(widget),
146
+ * )
147
+ * ```
148
+ *
149
+ * As you work with Serenity/JS, you'll notice that the ideas of **functional decomposition**, so thinking of tasks as sequences of lower-level activities,
150
+ * as well as **functional composition**, so implementing reusable activities and composing them into higher-level tasks,
151
+ * are at the heart of the Screenplay Pattern. You'll also notice that the entire Serenity/JS framework does it best to help your team follow this approach.
152
+ *
153
+ * :::info The power of the Serenity/JS task-based code reuse model
154
+ * What makes the Serenity/JS task-based code reuse model so **powerful at scale** is the observation that:
155
+ * - for most software systems, a vast number of **diverse test scenarios** can be composed of a relatively **small number of high-level activities**
156
+ * - all **high-level activities** can be composed of a relatively **small number of lower-level activities**
157
+ * - in a reasonably consistently-designed software system, most lower-level activities tend to be similar and rather consistent across the various aspects of a given interface.
158
+ * In particular, **there are only so many ways** one can interact with a UI button or send an HTTP request to a web service.
159
+ *
160
+ * What this means in practice is that by investing your time in properly designing **relatively few reusable tasks**
161
+ * to test your system, you give your team a **significant productivity boost** and **leverage** when producing high-level test scenarios.
162
+ *
163
+ * On top of that, this design approach results not only in **simpler test scenarios** that reduce
164
+ * the [cognitive load](https://en.wikipedia.org/wiki/Cognitive_load) on the reader as they require them to process
165
+ * the scenario only one level of abstraction at the time.
166
+ * It also allows for the test to **take shortcuts** in well-defined points of the workflow - use a REST API request to create
167
+ * a test user account instead of going through the registration form.
168
+ * :::
169
+ *
170
+ * @group Screenplay Pattern
171
+ */
172
+ export class Task extends Activity {
173
+ /**
174
+ * A factory method that makes defining custom tasks more convenient.
175
+ *
176
+ * @param description
177
+ * A description to be used when reporting this task
178
+ *
179
+ * @param activities
180
+ * A sequence of lower-level activities that constitute this task
181
+ */
182
+ static where(description, ...activities) {
183
+ return activities.length > 0
184
+ ? new DynamicallyGeneratedTask(description, activities)
185
+ : new NotImplementedTask(description);
186
+ }
187
+ }
188
+ /**
189
+ * @package
190
+ */
191
+ class DynamicallyGeneratedTask extends Task {
192
+ activities;
193
+ constructor(description, activities) {
194
+ super(description, Task.callerLocation(4));
195
+ this.activities = activities;
196
+ }
197
+ performAs(actor) {
198
+ return actor.attemptsTo(...this.activities);
199
+ }
200
+ }
201
+ /**
202
+ * @package
203
+ */
204
+ class NotImplementedTask extends Task {
205
+ constructor(description) {
206
+ super(description, Task.callerLocation(4));
207
+ }
208
+ performAs(actor) {
209
+ return Promise.reject(new ImplementationPendingError(`A task where "${this.toString()}" has not been implemented yet`));
210
+ }
211
+ }
212
+ //# sourceMappingURL=Task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Task.js","sourceRoot":"","sources":["../../src/screenplay/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwKG;AACH,MAAM,OAAgB,IAAK,SAAQ,QAAQ;IAEvC;;;;;;;;OAQG;IACH,MAAM,CAAC,KAAK,CAAC,WAA+B,EAAE,GAAG,UAAsB;QACnE,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC;YACxB,CAAC,CAAC,IAAI,wBAAwB,CAAC,WAAW,EAAE,UAAU,CAAC;YACvD,CAAC,CAAC,IAAI,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;CAaJ;AAED;;GAEG;AACH,MAAM,wBAAyB,SAAQ,IAAI;IACc;IAArD,YAAY,WAA+B,EAAU,UAAsB;QACvE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;QADM,eAAU,GAAV,UAAU,CAAY;IAE3E,CAAC;IAED,SAAS,CAAC,KAAyB;QAC/B,OAAO,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;IAChD,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,kBAAmB,SAAQ,IAAI;IACjC,YAAY,WAA+B;QACvC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED,SAAS,CAAC,KAAyB;QAC/B,OAAO,OAAO,CAAC,MAAM,CACjB,IAAI,0BAA0B,CAAC,iBAAkB,IAAI,CAAC,QAAQ,EAAG,gCAAgC,CAAC,CACrG,CAAC;IACN,CAAC;CACJ"}
@@ -0,0 +1,33 @@
1
+ import type { Answerable } from './Answerable.js';
2
+ import type { Question } from './Question.js';
3
+ /**
4
+ * Describes a plain JavaScript object with [`Answerable`](https://serenity-js.org/api/core/#Answerable) properties.
5
+ * Typically, used in conjunction with [`RecursivelyAnswered`](https://serenity-js.org/api/core/#RecursivelyAnswered) and [`Question.fromObject`](https://serenity-js.org/api/core/class/Question/#fromObject).
6
+ *
7
+ * ```ts
8
+ * import {
9
+ * actorCalled, notes, q, Question, QuestionAdapter, WithAnswerableProperties
10
+ * } from '@serenity-js/core';
11
+ *
12
+ * interface RequestConfiguration {
13
+ * headers: Record<string, string>;
14
+ * }
15
+ *
16
+ * const requestConfiguration: WithAnswerableProperties<RequestConfiguration> = {
17
+ * headers: {
18
+ * Authorization: q`Bearer ${ notes().get('authDetails').token }`
19
+ * }
20
+ * }
21
+ *
22
+ * const question: QuestionAdapter<RequestConfiguration> =
23
+ * Question.fromObject<RequestConfiguration>(requestConfiguration)
24
+ *
25
+ * const answer: RequestConfiguration = await actorCalled('Annie').answer(question);
26
+ * ```
27
+ *
28
+ * @group Questions
29
+ */
30
+ export type WithAnswerableProperties<T> = T extends null | undefined ? T : T extends Question<Promise<infer A>> | Question<infer A> | Promise<infer A> ? Answerable<A> : T extends object ? {
31
+ [K in keyof T]: WithAnswerableProperties<T[K]>;
32
+ } : Answerable<T>;
33
+ //# sourceMappingURL=WithAnswerableProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithAnswerableProperties.d.ts","sourceRoot":"","sources":["../../src/screenplay/WithAnswerableProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAClC,CAAC,SAAS,IAAI,GAAG,SAAS,GAAG,CAAC,GAC1B,CAAC,SAAS,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,GACvF,CAAC,SAAS,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACjE,UAAU,CAAC,CAAC,CAAC,CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=WithAnswerableProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithAnswerableProperties.js","sourceRoot":"","sources":["../../src/screenplay/WithAnswerableProperties.ts"],"names":[],"mappings":""}