@serenity-js/core 3.25.0 → 3.25.2

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 (268) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +1 -1
  3. package/lib/Serenity.d.ts +22 -22
  4. package/lib/Serenity.js +22 -22
  5. package/lib/adapter/OutputStream.d.ts +5 -4
  6. package/lib/adapter/OutputStream.d.ts.map +1 -1
  7. package/lib/adapter/TestRunnerAdapter.d.ts +2 -2
  8. package/lib/config/ClassDescription.d.ts +1 -1
  9. package/lib/config/SerenityConfig.d.ts +22 -20
  10. package/lib/config/SerenityConfig.d.ts.map +1 -1
  11. package/lib/config/SerenityConfig.js +22 -20
  12. package/lib/config/SerenityConfig.js.map +1 -1
  13. package/lib/errors/ErrorFactory.d.ts +2 -1
  14. package/lib/errors/ErrorFactory.d.ts.map +1 -1
  15. package/lib/errors/ErrorFactory.js +2 -1
  16. package/lib/errors/ErrorFactory.js.map +1 -1
  17. package/lib/errors/RaiseErrors.d.ts +9 -9
  18. package/lib/errors/RaiseErrors.js +9 -9
  19. package/lib/errors/diff/AnsiDiffFormatter.d.ts +1 -1
  20. package/lib/errors/diff/AnsiDiffFormatter.js +1 -1
  21. package/lib/errors/diff/DiffFormatter.d.ts +1 -1
  22. package/lib/errors/diff/NoOpDiffFormatter.d.ts +1 -1
  23. package/lib/errors/diff/NoOpDiffFormatter.js +1 -1
  24. package/lib/errors/model/AssertionError.d.ts +1 -1
  25. package/lib/errors/model/AssertionError.js +1 -1
  26. package/lib/errors/model/ConfigurationError.d.ts +1 -1
  27. package/lib/errors/model/ConfigurationError.js +1 -1
  28. package/lib/errors/model/ImplementationPendingError.d.ts +3 -3
  29. package/lib/errors/model/ImplementationPendingError.js +3 -3
  30. package/lib/errors/model/ListItemNotFoundError.d.ts +2 -2
  31. package/lib/errors/model/ListItemNotFoundError.js +2 -2
  32. package/lib/errors/model/LogicError.d.ts +2 -2
  33. package/lib/errors/model/LogicError.js +2 -2
  34. package/lib/errors/model/OperationInterruptedError.d.ts +2 -2
  35. package/lib/errors/model/OperationInterruptedError.js +2 -2
  36. package/lib/errors/model/RuntimeError.d.ts +2 -2
  37. package/lib/errors/model/RuntimeError.js +2 -2
  38. package/lib/errors/model/TestCompromisedError.d.ts +1 -1
  39. package/lib/errors/model/TestCompromisedError.js +1 -1
  40. package/lib/errors/model/TimeoutExpiredError.d.ts +2 -2
  41. package/lib/errors/model/TimeoutExpiredError.js +2 -2
  42. package/lib/errors/model/UnknownError.d.ts +1 -1
  43. package/lib/errors/model/UnknownError.js +1 -1
  44. package/lib/events/ActivityFinished.d.ts +1 -1
  45. package/lib/events/ActivityFinished.js +1 -1
  46. package/lib/events/ActivityStarts.d.ts +1 -1
  47. package/lib/events/ActivityStarts.js +1 -1
  48. package/lib/events/BusinessRuleDetected.d.ts +1 -1
  49. package/lib/events/BusinessRuleDetected.js +1 -1
  50. package/lib/events/SceneFinishes.d.ts +2 -1
  51. package/lib/events/SceneFinishes.d.ts.map +1 -1
  52. package/lib/events/SceneFinishes.js +2 -1
  53. package/lib/events/SceneFinishes.js.map +1 -1
  54. package/lib/instance.d.ts +30 -30
  55. package/lib/instance.js +30 -30
  56. package/lib/io/format.d.ts +15 -6
  57. package/lib/io/format.d.ts.map +1 -1
  58. package/lib/io/format.js +15 -6
  59. package/lib/io/format.js.map +1 -1
  60. package/lib/io/loader/ModuleLoader.d.ts +1 -1
  61. package/lib/io/loader/ModuleLoader.js +1 -1
  62. package/lib/io/reflection/ValueInspector.d.ts +1 -1
  63. package/lib/io/reflection/ValueInspector.js +2 -2
  64. package/lib/io/reflection/ValueInspector.js.map +1 -1
  65. package/lib/io/stringified.d.ts +1 -1
  66. package/lib/io/stringified.js +1 -1
  67. package/lib/io/trimmed.d.ts +1 -1
  68. package/lib/io/trimmed.js +1 -1
  69. package/lib/model/artifacts/HTTPRequestResponse.d.ts +2 -2
  70. package/lib/model/artifacts/HTTPRequestResponse.js +1 -1
  71. package/lib/screenplay/Activity.d.ts +10 -10
  72. package/lib/screenplay/Activity.js +5 -5
  73. package/lib/screenplay/Actor.d.ts +28 -28
  74. package/lib/screenplay/Actor.js +28 -28
  75. package/lib/screenplay/Answerable.d.ts +1 -1
  76. package/lib/screenplay/Answered.d.ts +2 -2
  77. package/lib/screenplay/Interaction.d.ts +17 -17
  78. package/lib/screenplay/Interaction.js +12 -12
  79. package/lib/screenplay/Optional.d.ts +1 -1
  80. package/lib/screenplay/Question.d.ts +48 -45
  81. package/lib/screenplay/Question.d.ts.map +1 -1
  82. package/lib/screenplay/Question.js +39 -36
  83. package/lib/screenplay/Question.js.map +1 -1
  84. package/lib/screenplay/RecursivelyAnswered.d.ts +2 -2
  85. package/lib/screenplay/Task.d.ts +19 -19
  86. package/lib/screenplay/Task.js +15 -15
  87. package/lib/screenplay/WithAnswerableProperties.d.ts +2 -2
  88. package/lib/screenplay/abilities/Ability.d.ts +48 -46
  89. package/lib/screenplay/abilities/Ability.d.ts.map +1 -1
  90. package/lib/screenplay/abilities/Ability.js +48 -46
  91. package/lib/screenplay/abilities/Ability.js.map +1 -1
  92. package/lib/screenplay/abilities/AbilityType.d.ts +5 -5
  93. package/lib/screenplay/abilities/AnswerQuestions.d.ts +3 -3
  94. package/lib/screenplay/abilities/AnswerQuestions.js +3 -3
  95. package/lib/screenplay/abilities/CanHaveAbilities.d.ts +4 -4
  96. package/lib/screenplay/abilities/Discardable.d.ts +8 -8
  97. package/lib/screenplay/abilities/Initialisable.d.ts +11 -11
  98. package/lib/screenplay/abilities/PerformActivities.d.ts +3 -3
  99. package/lib/screenplay/abilities/PerformActivities.js +3 -3
  100. package/lib/screenplay/abilities/UsesAbilities.d.ts +6 -6
  101. package/lib/screenplay/activities/PerformsActivities.d.ts +7 -7
  102. package/lib/screenplay/artifacts/CollectsArtifacts.d.ts +4 -5
  103. package/lib/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -1
  104. package/lib/screenplay/debugging/Debug.d.ts +7 -6
  105. package/lib/screenplay/debugging/Debug.d.ts.map +1 -1
  106. package/lib/screenplay/debugging/Debug.js +7 -6
  107. package/lib/screenplay/debugging/Debug.js.map +1 -1
  108. package/lib/screenplay/debugging/DebuggingResult.d.ts +1 -1
  109. package/lib/screenplay/debugging/Log.d.ts +7 -5
  110. package/lib/screenplay/debugging/Log.d.ts.map +1 -1
  111. package/lib/screenplay/debugging/Log.js +7 -5
  112. package/lib/screenplay/debugging/Log.js.map +1 -1
  113. package/lib/screenplay/notes/Notepad.d.ts +13 -13
  114. package/lib/screenplay/notes/Notepad.js +13 -13
  115. package/lib/screenplay/notes/NotepadAdapter.d.ts +16 -16
  116. package/lib/screenplay/notes/NotepadAdapter.js +16 -16
  117. package/lib/screenplay/notes/TakeNotes.d.ts +9 -9
  118. package/lib/screenplay/notes/TakeNotes.js +9 -9
  119. package/lib/screenplay/notes/notes.d.ts +6 -6
  120. package/lib/screenplay/notes/notes.js +6 -6
  121. package/lib/screenplay/questions/AnswersQuestions.d.ts +4 -4
  122. package/lib/screenplay/questions/ChainableMetaQuestion.d.ts +6 -6
  123. package/lib/screenplay/questions/Check.d.ts +2 -2
  124. package/lib/screenplay/questions/Check.js +2 -2
  125. package/lib/screenplay/questions/DescriptionFormattingOptions.d.ts +2 -2
  126. package/lib/screenplay/questions/Expectation.d.ts +17 -14
  127. package/lib/screenplay/questions/Expectation.d.ts.map +1 -1
  128. package/lib/screenplay/questions/Expectation.js +17 -14
  129. package/lib/screenplay/questions/Expectation.js.map +1 -1
  130. package/lib/screenplay/questions/List.d.ts +5 -5
  131. package/lib/screenplay/questions/List.js +5 -5
  132. package/lib/screenplay/questions/Masked.d.ts +4 -2
  133. package/lib/screenplay/questions/Masked.d.ts.map +1 -1
  134. package/lib/screenplay/questions/Masked.js +4 -2
  135. package/lib/screenplay/questions/Masked.js.map +1 -1
  136. package/lib/screenplay/questions/MetaQuestion.d.ts +9 -9
  137. package/lib/screenplay/questions/Unanswered.d.ts +2 -2
  138. package/lib/screenplay/questions/Unanswered.js +2 -2
  139. package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts +1 -1
  140. package/lib/screenplay/questions/expectations/ExpectationDetails.js +1 -1
  141. package/lib/screenplay/questions/expectations/ExpectationMet.d.ts +1 -1
  142. package/lib/screenplay/questions/expectations/ExpectationMet.js +1 -1
  143. package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts +1 -1
  144. package/lib/screenplay/questions/expectations/ExpectationNotMet.js +1 -1
  145. package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts +2 -2
  146. package/lib/screenplay/questions/expectations/ExpectationOutcome.js +2 -2
  147. package/lib/screenplay/questions/tag-functions.d.ts +23 -21
  148. package/lib/screenplay/questions/tag-functions.d.ts.map +1 -1
  149. package/lib/screenplay/questions/tag-functions.js +5 -5
  150. package/lib/screenplay/questions/tag-functions.js.map +1 -1
  151. package/lib/screenplay/time/TellsTime.d.ts +4 -4
  152. package/lib/screenplay/time/abilities/ScheduleWork.d.ts +2 -2
  153. package/lib/screenplay/time/abilities/ScheduleWork.js +2 -2
  154. package/lib/screenplay/time/activities/Wait.d.ts +29 -27
  155. package/lib/screenplay/time/activities/Wait.d.ts.map +1 -1
  156. package/lib/screenplay/time/activities/Wait.js +29 -27
  157. package/lib/screenplay/time/activities/Wait.js.map +1 -1
  158. package/lib/screenplay/time/models/Clock.d.ts +4 -4
  159. package/lib/screenplay/time/models/Clock.js +4 -4
  160. package/lib/screenplay/time/models/Duration.d.ts +1 -1
  161. package/lib/screenplay/time/models/Duration.js +1 -1
  162. package/lib/screenplay/time/models/Timestamp.d.ts +2 -2
  163. package/lib/screenplay/time/models/Timestamp.js +2 -2
  164. package/lib/stage/Cast.d.ts +21 -21
  165. package/lib/stage/Cast.js +19 -19
  166. package/lib/stage/Extras.d.ts +1 -1
  167. package/lib/stage/Extras.js +1 -1
  168. package/lib/stage/ListensToDomainEvents.d.ts +7 -7
  169. package/lib/stage/Stage.d.ts +30 -30
  170. package/lib/stage/Stage.d.ts.map +1 -1
  171. package/lib/stage/Stage.js +30 -30
  172. package/lib/stage/Stage.js.map +1 -1
  173. package/lib/stage/StageCrewMember.d.ts +11 -11
  174. package/lib/stage/StageCrewMemberBuilder.d.ts +7 -7
  175. package/lib/stage/StageCrewMemberBuilderDependencies.d.ts +2 -2
  176. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +4 -4
  177. package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js +4 -4
  178. package/lib/stage/crew/stream-reporter/StreamReporter.d.ts +7 -7
  179. package/lib/stage/crew/stream-reporter/StreamReporter.js +7 -7
  180. package/package.json +4 -4
  181. package/src/Serenity.ts +22 -22
  182. package/src/adapter/OutputStream.ts +5 -4
  183. package/src/adapter/TestRunnerAdapter.ts +2 -2
  184. package/src/config/ClassDescription.ts +1 -1
  185. package/src/config/SerenityConfig.ts +22 -20
  186. package/src/errors/ErrorFactory.ts +2 -1
  187. package/src/errors/ErrorSerialiser.ts +3 -3
  188. package/src/errors/RaiseErrors.ts +9 -9
  189. package/src/errors/diff/AnsiDiffFormatter.ts +1 -1
  190. package/src/errors/diff/DiffFormatter.ts +1 -1
  191. package/src/errors/diff/NoOpDiffFormatter.ts +1 -1
  192. package/src/errors/model/AssertionError.ts +1 -1
  193. package/src/errors/model/ConfigurationError.ts +1 -1
  194. package/src/errors/model/ImplementationPendingError.ts +3 -3
  195. package/src/errors/model/ListItemNotFoundError.ts +2 -2
  196. package/src/errors/model/LogicError.ts +2 -2
  197. package/src/errors/model/OperationInterruptedError.ts +2 -2
  198. package/src/errors/model/RuntimeError.ts +2 -2
  199. package/src/errors/model/TestCompromisedError.ts +1 -1
  200. package/src/errors/model/TimeoutExpiredError.ts +2 -2
  201. package/src/errors/model/UnknownError.ts +1 -1
  202. package/src/events/ActivityFinished.ts +1 -1
  203. package/src/events/ActivityStarts.ts +1 -1
  204. package/src/events/BusinessRuleDetected.ts +1 -1
  205. package/src/events/SceneFinishes.ts +2 -1
  206. package/src/instance.ts +30 -30
  207. package/src/io/format.ts +15 -6
  208. package/src/io/loader/ModuleLoader.ts +1 -1
  209. package/src/io/reflection/ValueInspector.ts +3 -3
  210. package/src/io/stringified.ts +1 -1
  211. package/src/io/trimmed.ts +1 -1
  212. package/src/model/artifacts/HTTPRequestResponse.ts +2 -2
  213. package/src/screenplay/Activity.ts +10 -10
  214. package/src/screenplay/Actor.ts +28 -28
  215. package/src/screenplay/Answerable.ts +1 -1
  216. package/src/screenplay/Answered.ts +2 -2
  217. package/src/screenplay/Interaction.ts +17 -17
  218. package/src/screenplay/Optional.ts +1 -1
  219. package/src/screenplay/Question.ts +48 -45
  220. package/src/screenplay/RecursivelyAnswered.ts +2 -2
  221. package/src/screenplay/Task.ts +19 -19
  222. package/src/screenplay/WithAnswerableProperties.ts +2 -2
  223. package/src/screenplay/abilities/Ability.ts +48 -46
  224. package/src/screenplay/abilities/AbilityType.ts +5 -5
  225. package/src/screenplay/abilities/AnswerQuestions.ts +3 -3
  226. package/src/screenplay/abilities/CanHaveAbilities.ts +4 -4
  227. package/src/screenplay/abilities/Discardable.ts +8 -8
  228. package/src/screenplay/abilities/Initialisable.ts +11 -11
  229. package/src/screenplay/abilities/PerformActivities.ts +3 -3
  230. package/src/screenplay/abilities/UsesAbilities.ts +6 -6
  231. package/src/screenplay/activities/PerformsActivities.ts +7 -7
  232. package/src/screenplay/artifacts/CollectsArtifacts.ts +4 -5
  233. package/src/screenplay/debugging/Debug.ts +7 -6
  234. package/src/screenplay/debugging/DebuggingResult.ts +1 -1
  235. package/src/screenplay/debugging/Log.ts +7 -5
  236. package/src/screenplay/notes/Notepad.ts +13 -13
  237. package/src/screenplay/notes/NotepadAdapter.ts +16 -16
  238. package/src/screenplay/notes/TakeNotes.ts +9 -9
  239. package/src/screenplay/notes/notes.ts +6 -6
  240. package/src/screenplay/questions/AnswersQuestions.ts +4 -4
  241. package/src/screenplay/questions/ChainableMetaQuestion.ts +6 -6
  242. package/src/screenplay/questions/Check.ts +2 -2
  243. package/src/screenplay/questions/DescriptionFormattingOptions.ts +2 -2
  244. package/src/screenplay/questions/Expectation.ts +17 -14
  245. package/src/screenplay/questions/List.ts +5 -5
  246. package/src/screenplay/questions/Masked.ts +4 -2
  247. package/src/screenplay/questions/MetaQuestion.ts +9 -9
  248. package/src/screenplay/questions/Unanswered.ts +2 -2
  249. package/src/screenplay/questions/expectations/ExpectationDetails.ts +1 -1
  250. package/src/screenplay/questions/expectations/ExpectationMet.ts +1 -1
  251. package/src/screenplay/questions/expectations/ExpectationNotMet.ts +1 -1
  252. package/src/screenplay/questions/expectations/ExpectationOutcome.ts +2 -2
  253. package/src/screenplay/questions/tag-functions.ts +23 -21
  254. package/src/screenplay/time/TellsTime.ts +4 -4
  255. package/src/screenplay/time/abilities/ScheduleWork.ts +2 -2
  256. package/src/screenplay/time/activities/Wait.ts +29 -27
  257. package/src/screenplay/time/models/Clock.ts +4 -4
  258. package/src/screenplay/time/models/Duration.ts +1 -1
  259. package/src/screenplay/time/models/Timestamp.ts +2 -2
  260. package/src/stage/Cast.ts +21 -21
  261. package/src/stage/Extras.ts +1 -1
  262. package/src/stage/ListensToDomainEvents.ts +7 -7
  263. package/src/stage/Stage.ts +30 -30
  264. package/src/stage/StageCrewMember.ts +11 -11
  265. package/src/stage/StageCrewMemberBuilder.ts +7 -7
  266. package/src/stage/StageCrewMemberBuilderDependencies.ts +2 -2
  267. package/src/stage/crew/artifact-archiver/ArtifactArchiver.ts +4 -4
  268. package/src/stage/crew/stream-reporter/StreamReporter.ts +7 -7
@@ -33,18 +33,20 @@ const Describable_1 = require("./questions/Describable");
33
33
  const tag_functions_1 = require("./questions/tag-functions");
34
34
  const Unanswered_1 = require("./questions/Unanswered");
35
35
  /**
36
- * **Questions** describe how {@apilink Actor|actors} should query the system under test or the test environment to retrieve some information.
36
+ * **Questions** describe how [actors](https://serenity-js.org/api/core/class/Actor/) should query the system under test or the test environment to retrieve some information.
37
37
  *
38
- * Questions are the core building block of the [Screenplay Pattern](/handbook/design/screenplay-pattern),
39
- * along with {@apilink Actor|Actors}, {@apilink Ability|Abilities}, {@apilink Interaction|Interactions}, and {@apilink Task|Tasks}.
38
+ * Questions are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
39
+ * along with [actors](https://serenity-js.org/api/core/class/Actor/), [abilities](https://serenity-js.org/api/core/class/Ability/),
40
+ * [interactions](https://serenity-js.org/api/core/class/Interaction/),
41
+ * and [tasks](https://serenity-js.org/api/core/class/Task/).
40
42
  *
41
- * ![Screenplay Pattern](/images/design/serenity-js-screenplay-pattern.png)
43
+ * ![Screenplay Pattern](https://serenity-js.org/images/design/serenity-js-screenplay-pattern.png)
42
44
  *
43
45
  * Learn more about:
44
- * - {@apilink Actor}
45
- * - {@apilink Ability|Abilities}
46
- * - {@apilink Interaction}
47
- * - {@apilink QuestionAdapter}
46
+ * - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
47
+ * - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
48
+ * - [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
49
+ * - [`QuestionAdapter`](https://serenity-js.org/api/core/#QuestionAdapter)
48
50
  *
49
51
  * ## Implementing a basic custom Question
50
52
  *
@@ -64,10 +66,10 @@ const Unanswered_1 = require("./questions/Unanswered");
64
66
  *
65
67
  * ## Implementing a Question that uses an Ability
66
68
  *
67
- * Just like the {@apilink Interaction|interactions}, a {@apilink Question}
68
- * also can use {@apilink Actor|actor's} {@apilink Ability|abilities}.
69
+ * Just like the [interactions](https://serenity-js.org/api/core/class/Interaction/), a [`Question`](https://serenity-js.org/api/core/class/Question/)
70
+ * also can use [actor's](https://serenity-js.org/api/core/class/Actor/) [abilities](https://serenity-js.org/api/core/class/Ability/).
69
71
  *
70
- * Here, we use the ability to {@apilink CallAnApi} to retrieve a property of
72
+ * Here, we use the ability to [`CallAnApi`](https://serenity-js.org/api/rest/class/CallAnApi/) to retrieve a property of
71
73
  * an HTTP response.
72
74
  *
73
75
  * ```ts
@@ -81,15 +83,15 @@ const Unanswered_1 = require("./questions/Unanswered");
81
83
  * ```
82
84
  *
83
85
  * #### Learn more
84
- * - {@apilink CallAnApi}
85
- * - {@apilink LastResponse}
86
+ * - [`CallAnApi`](https://serenity-js.org/api/rest/class/CallAnApi/)
87
+ * - [`LastResponse`](https://serenity-js.org/api/rest/class/LastResponse/)
86
88
  *
87
89
  * ## Mapping answers to other questions
88
90
  *
89
- * Apart from retrieving information, {@apilink Question|questions} can be used to transform information retrieved by other questions.
91
+ * Apart from retrieving information, [questions](https://serenity-js.org/api/core/class/Question/) can be used to transform information retrieved by other questions.
90
92
  *
91
- * Here, we use the factory method {@apilink Question.about} to produce a question that makes the received {@apilink Actor|actor}
92
- * answer {@apilink LastResponse.status} and then compare it against some expected value.
93
+ * Here, we use the factory method [`Question.about`](https://serenity-js.org/api/core/class/Question/#about) to produce a question that makes the received [actor](https://serenity-js.org/api/core/class/Actor/)
94
+ * answer [`LastResponse.status`](https://serenity-js.org/api/rest/class/LastResponse/#status) and then compare it against some expected value.
93
95
  *
94
96
  * ```ts
95
97
  * import { actorCalled, AnswersQuestions, UsesAbilities, Question } from '@serenity-js/core'
@@ -112,7 +114,7 @@ const Unanswered_1 = require("./questions/Unanswered");
112
114
  * ```
113
115
  *
114
116
  * Note that the above example is for demonstration purposes only, Serenity/JS provides an easier way to
115
- * verify the response status of the {@apilink LastResponse}:
117
+ * verify the response status of the [`LastResponse`](https://serenity-js.org/api/rest/class/LastResponse/):
116
118
  *
117
119
  * ```ts
118
120
  * import { actorCalled } from '@serenity-js/core'
@@ -137,9 +139,10 @@ class Question extends Describable_1.Describable {
137
139
  return Question.createAdapter(statement);
138
140
  }
139
141
  /**
140
- * Generates a {@apilink QuestionAdapter} that recursively resolves
141
- * any {@apilink Answerable} fields of the provided object,
142
- * including {@apilink Answerable} fields of {@apilink WithAnswerableProperties|nested objects}.
142
+ * Generates a [`QuestionAdapter`](https://serenity-js.org/api/core/#QuestionAdapter) that recursively resolves
143
+ * any [`Answerable`](https://serenity-js.org/api/core/#Answerable) fields of the provided object,
144
+ * including [`Answerable`](https://serenity-js.org/api/core/#Answerable) fields
145
+ * of [nested objects](https://serenity-js.org/api/core/#WithAnswerableProperties).
143
146
  *
144
147
  * Optionally, the method accepts `overrides` to be shallow-merged with the fields of the original `source`,
145
148
  * producing a new merged object.
@@ -192,9 +195,9 @@ class Question extends Describable_1.Describable {
192
195
  * ```
193
196
  *
194
197
  * #### Learn more
195
- * - {@apilink WithAnswerableProperties}
196
- * - {@apilink RecursivelyAnswered}
197
- * - {@apilink Answerable}
198
+ * - [`WithAnswerableProperties`](https://serenity-js.org/api/core/#WithAnswerableProperties)
199
+ * - [`RecursivelyAnswered`](https://serenity-js.org/api/core/#RecursivelyAnswered)
200
+ * - [`Answerable`](https://serenity-js.org/api/core/#Answerable)
198
201
  *
199
202
  * @param source
200
203
  * @param overrides
@@ -212,8 +215,8 @@ class Question extends Describable_1.Describable {
212
215
  });
213
216
  }
214
217
  /**
215
- * Generates a {@apilink QuestionAdapter} that resolves
216
- * any {@apilink Answerable} elements of the provided array.
218
+ * Generates a [`QuestionAdapter`](https://serenity-js.org/api/core/#QuestionAdapter) that resolves
219
+ * any [`Answerable`](https://serenity-js.org/api/core/#Answerable) elements of the provided array.
217
220
  */
218
221
  static fromArray(source, options) {
219
222
  const formatter = new ValueFormatter(ValueFormatter.defaultOptions);
@@ -230,7 +233,7 @@ class Question extends Describable_1.Describable {
230
233
  });
231
234
  }
232
235
  /**
233
- * Checks if the value is a {@apilink Question}.
236
+ * Checks if the value is a [`Question`](https://serenity-js.org/api/core/class/Question/).
234
237
  *
235
238
  * @param maybeQuestion
236
239
  * The value to check
@@ -240,7 +243,7 @@ class Question extends Describable_1.Describable {
240
243
  && typeof maybeQuestion.answeredBy === 'function';
241
244
  }
242
245
  /**
243
- * Checks if the value is a {@apilink MetaQuestion}.
246
+ * Checks if the value is a [`MetaQuestion`](https://serenity-js.org/api/core/interface/MetaQuestion/).
244
247
  *
245
248
  * @param maybeMetaQuestion
246
249
  * The value to check
@@ -251,7 +254,7 @@ class Question extends Describable_1.Describable {
251
254
  && maybeMetaQuestion['of'].length === 1; // arity of 1
252
255
  }
253
256
  /**
254
- * Creates a {@apilink MetaQuestion} that can be composed with any {@apilink Answerable}
257
+ * Creates a [`MetaQuestion`](https://serenity-js.org/api/core/interface/MetaQuestion/) that can be composed with any [`Answerable`](https://serenity-js.org/api/core/#Answerable)
255
258
  * to produce a single-line description of its value.
256
259
  *
257
260
  * ```ts
@@ -275,11 +278,11 @@ class Question extends Describable_1.Describable {
275
278
  return MetaQuestionAboutFormattedValue.using(options);
276
279
  }
277
280
  /**
278
- * Creates a {@apilink MetaQuestion} that can be composed with any {@apilink Answerable}
279
- * to return its value when the answerable is a {@apilink Question},
281
+ * Creates a [`MetaQuestion`](https://serenity-js.org/api/core/interface/MetaQuestion/) that can be composed with any [`Answerable`](https://serenity-js.org/api/core/#Answerable)
282
+ * to return its value when the answerable is a [`Question`](https://serenity-js.org/api/core/class/Question/),
280
283
  * or the answerable itself otherwise.
281
284
  *
282
- * The description of the resulting question is produced by calling {@apilink Question.description} on the
285
+ * The description of the resulting question is produced by calling [`Question.describedBy`](https://serenity-js.org/api/core/class/Question/#describedBy) on the
283
286
  * provided answerable.
284
287
  *
285
288
  * ```ts
@@ -401,13 +404,13 @@ class Question extends Describable_1.Describable {
401
404
  return `${targetDescription}${parameterDescriptions}`;
402
405
  }
403
406
  /**
404
- * Changes the description of this object, as returned by {@apilink Describable.describedBy}
405
- * and {@apilink Describable.toString}.
407
+ * Changes the description of this object, as returned by [`Describable.describedBy`](https://serenity-js.org/api/core/class/Describable/#describedBy)
408
+ * and [`Describable.toString`](https://serenity-js.org/api/core/class/Describable/#toString).
406
409
  *
407
410
  * @param description
408
411
  * Replaces the current description according to the following rules:
409
- * - If `description` is an {@apilink Answerable}, it replaces the current description
410
- * - If `description` is a {@apilink MetaQuestion}, the current description is passed as `context` to `description.of(context)`, and the result replaces the current description
412
+ * - If `description` is an [`Answerable`](https://serenity-js.org/api/core/#Answerable), it replaces the current description
413
+ * - If `description` is a [`MetaQuestion`](https://serenity-js.org/api/core/interface/MetaQuestion/), the current description is passed as `context` to `description.of(context)`, and the result replaces the current description
411
414
  */
412
415
  describedAs(description) {
413
416
  super.setDescription(Question.isAMetaQuestion(description)
@@ -444,7 +447,7 @@ class QuestionStatement extends Interaction_1.Interaction {
444
447
  this.body = body;
445
448
  }
446
449
  /**
447
- * Returns a Question that resolves to `true` if resolving the {@apilink QuestionStatement}
450
+ * Returns a Question that resolves to `true` if resolving the `QuestionStatement`
448
451
  * returns a value other than `null` or `undefined`, and doesn't throw errors.
449
452
  */
450
453
  isPresent() {
@@ -1 +1 @@
1
- {"version":3,"file":"Question.js","sourceRoot":"","sources":["../../src/screenplay/Question.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAuE;AACvE,2CAA6B,CAAC,2CAA2C;AAEzE,sCAAuC;AAEvC,8BAAqE;AAGrE,+CAA4C;AAG5C,yDAAsD;AAGtD,6DAAgD;AAChD,uDAAoD;AAIpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAsB,QAAY,SAAQ,yBAAW;IA6BjD,MAAM,CAAC,KAAK,CACR,WAA+B,EAC/B,IAAqF,EACrF,gBAAuF;QAGvF,MAAM,SAAS,GAAG,OAAO,gBAAgB,KAAK,UAAU;YACpD,CAAC,CAAC,IAAI,qBAAqB,CAAC,WAAW,EAAE,IAAI,EAAE,gBAAgB,CAAC;YAChE,CAAC,CAAC,IAAI,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAE/C,OAAO,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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question';
2
2
  /**
3
- * Describes a recursively resolved plain JavaScript {@apilink WithAnswerableProperties}.
3
+ * Describes a recursively resolved plain JavaScript object with [answerable properties](https://serenity-js.org/api/core/#WithAnswerableProperties).
4
4
  *
5
- * Typically, used in conjunction with {@apilink Question.fromObject}.
5
+ * Typically, used in conjunction with [`Question.fromObject`](https://serenity-js.org/api/core/class/Question/#fromObject).
6
6
  *
7
7
  * ## Using `RecursivelyAnswered`
8
8
  *
@@ -2,8 +2,8 @@ import type { PerformsActivities } from './activities';
2
2
  import { Activity } from './Activity';
3
3
  import type { Answerable } from './Answerable';
4
4
  /**
5
- * **Tasks** model **{@apilink Activity|sequences of activities}**
6
- * and help you capture meaningful steps of an {@apilink Actor|actor} workflow
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
7
  * in your domain.
8
8
  *
9
9
  * Typically, tasks correspond to higher-level, business domain-specific activities
@@ -11,20 +11,20 @@ import type { Answerable } from './Answerable';
11
11
  * However, higher-level tasks can and should be composed of lower-level tasks.
12
12
  * For example, a task to `SignUp` could be composed of tasks to `ProvideUsername` and `ProvidePassword`.
13
13
  *
14
- * The lowest-level tasks in your abstraction hierarchy should be composed of {@apilink Interaction|interactions}.
15
- * For example, a low-level task to `ProvideUsername` could be composed of an interaction to {@apilink Enter} the value
16
- * into a form field and {@apilink Press} the {@apilink Key.Enter}.
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
17
  *
18
- * Tasks are the core building block of the [Screenplay Pattern](/handbook/design/screenplay-pattern),
19
- * along with {@apilink Actor|Actors}, {@apilink Ability|Abilities}, {@apilink Interaction|Interactions}, and {@apilink Question|Questions}.
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
20
  *
21
- * ![Screenplay Pattern](/images/design/serenity-js-screenplay-pattern.png)
21
+ * ![Screenplay Pattern](https://serenity-js.org/images/design/serenity-js-screenplay-pattern.png)
22
22
  *
23
23
  * Learn more about:
24
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
- * - {@apilink Actor|Actors}
26
- * - {@apilink Activity|Activities}
27
- * - {@apilink Interaction|Interactions}
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
28
  *
29
29
  * ## Defining a task
30
30
  *
@@ -42,7 +42,7 @@ import type { Answerable } from './Answerable';
42
42
  *
43
43
  * ## Defining a not implemented task
44
44
  *
45
- * Note that calling {@apilink Task.where} method without providing the sequence of {@apilink Activity|activities}
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
46
  * produces a Task that's marked as "pending" in the test report.
47
47
  *
48
48
  * This feature is useful when you want to quickly write down a task that will be needed in the scenario,
@@ -70,7 +70,7 @@ import type { Answerable } from './Answerable';
70
70
  * - specify origin city of "London"
71
71
  * - specify destination city of "New York"
72
72
  *
73
- * The easiest way to implement such task, and any custom Serenity/JS task for this matter, is to use the {@apilink Task.where} method to compose the lower-level activities:
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
74
  *
75
75
  * ```typescript
76
76
  * import { Task, the } from '@serenity-js/core'
@@ -92,9 +92,9 @@ import type { Answerable } from './Answerable';
92
92
  * - enter city name of `New York`
93
93
  * - pick the first suggested airport from the list
94
94
  *
95
- * Conveniently, [Serenity/JS modules](/handbook/about/architecture) provide low-level activities that
95
+ * Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/getting-started/architecture) provide low-level activities that
96
96
  * allow actors to interact with the various interfaces of the system under test.
97
- * For example, [Serenity/JS Web module](/api/web) ships with activities such as {@apilink Click} or {@apilink Enter},
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
98
  * which we can incorporate into our task definitions just like any other activities:
99
99
  *
100
100
  * ```typescript
@@ -182,14 +182,14 @@ export declare abstract class Task extends Activity {
182
182
  */
183
183
  static where(description: Answerable<string>, ...activities: Activity[]): Task;
184
184
  /**
185
- * Instructs the provided {@apilink Actor} to perform this {@apilink Task}.
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
186
  *
187
187
  * @param {PerformsActivities} actor
188
188
  *
189
189
  * #### Learn more
190
- * - {@apilink Actor}
191
- * - {@apilink PerformsActivities}
192
- * - {@apilink Activity}
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
193
  */
194
194
  abstract performAs(actor: PerformsActivities): Promise<void>;
195
195
  }
@@ -4,8 +4,8 @@ exports.Task = void 0;
4
4
  const errors_1 = require("../errors");
5
5
  const Activity_1 = require("./Activity");
6
6
  /**
7
- * **Tasks** model **{@apilink Activity|sequences of activities}**
8
- * and help you capture meaningful steps of an {@apilink Actor|actor} workflow
7
+ * **Tasks** model **[sequences of activities](https://serenity-js.org/api/core/class/Activity/)**
8
+ * and help you capture meaningful steps of an [actor](https://serenity-js.org/api/core/class/Actor/) workflow
9
9
  * in your domain.
10
10
  *
11
11
  * Typically, tasks correspond to higher-level, business domain-specific activities
@@ -13,20 +13,20 @@ const Activity_1 = require("./Activity");
13
13
  * However, higher-level tasks can and should be composed of lower-level tasks.
14
14
  * For example, a task to `SignUp` could be composed of tasks to `ProvideUsername` and `ProvidePassword`.
15
15
  *
16
- * The lowest-level tasks in your abstraction hierarchy should be composed of {@apilink Interaction|interactions}.
17
- * For example, a low-level task to `ProvideUsername` could be composed of an interaction to {@apilink Enter} the value
18
- * into a form field and {@apilink Press} the {@apilink Key.Enter}.
16
+ * The lowest-level tasks in your abstraction hierarchy should be composed of [interactions](https://serenity-js.org/api/core/class/Interaction/).
17
+ * 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
18
+ * 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).
19
19
  *
20
- * Tasks are the core building block of the [Screenplay Pattern](/handbook/design/screenplay-pattern),
21
- * along with {@apilink Actor|Actors}, {@apilink Ability|Abilities}, {@apilink Interaction|Interactions}, and {@apilink Question|Questions}.
20
+ * Tasks are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
21
+ * 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/).
22
22
  *
23
- * ![Screenplay Pattern](/images/design/serenity-js-screenplay-pattern.png)
23
+ * ![Screenplay Pattern](https://serenity-js.org/images/design/serenity-js-screenplay-pattern.png)
24
24
  *
25
25
  * Learn more about:
26
26
  * - [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)
27
- * - {@apilink Actor|Actors}
28
- * - {@apilink Activity|Activities}
29
- * - {@apilink Interaction|Interactions}
27
+ * - [Actors](https://serenity-js.org/api/core/class/Actor/)
28
+ * - [Activities](https://serenity-js.org/api/core/class/Activity/)
29
+ * - [Interactions](https://serenity-js.org/api/core/class/Interaction/)
30
30
  *
31
31
  * ## Defining a task
32
32
  *
@@ -44,7 +44,7 @@ const Activity_1 = require("./Activity");
44
44
  *
45
45
  * ## Defining a not implemented task
46
46
  *
47
- * Note that calling {@apilink Task.where} method without providing the sequence of {@apilink Activity|activities}
47
+ * 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/)
48
48
  * produces a Task that's marked as "pending" in the test report.
49
49
  *
50
50
  * This feature is useful when you want to quickly write down a task that will be needed in the scenario,
@@ -72,7 +72,7 @@ const Activity_1 = require("./Activity");
72
72
  * - specify origin city of "London"
73
73
  * - specify destination city of "New York"
74
74
  *
75
- * The easiest way to implement such task, and any custom Serenity/JS task for this matter, is to use the {@apilink Task.where} method to compose the lower-level activities:
75
+ * 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:
76
76
  *
77
77
  * ```typescript
78
78
  * import { Task, the } from '@serenity-js/core'
@@ -94,9 +94,9 @@ const Activity_1 = require("./Activity");
94
94
  * - enter city name of `New York`
95
95
  * - pick the first suggested airport from the list
96
96
  *
97
- * Conveniently, [Serenity/JS modules](/handbook/about/architecture) provide low-level activities that
97
+ * Conveniently, [Serenity/JS modules](https://serenity-js.org/handbook/getting-started/architecture) provide low-level activities that
98
98
  * allow actors to interact with the various interfaces of the system under test.
99
- * For example, [Serenity/JS Web module](/api/web) ships with activities such as {@apilink Click} or {@apilink Enter},
99
+ * 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/),
100
100
  * which we can incorporate into our task definitions just like any other activities:
101
101
  *
102
102
  * ```typescript
@@ -1,8 +1,8 @@
1
1
  import type { Answerable } from './Answerable';
2
2
  import type { Question } from './Question';
3
3
  /**
4
- * Describes a plain JavaScript object with {@apilink Answerable} properties.
5
- * Typically, used in conjunction with {@apilink RecursivelyAnswered} and {@apilink Question.fromObject}.
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
6
  *
7
7
  * ```ts
8
8
  * import {