@serenity-js/core 3.41.2 → 3.42.1
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.
- package/CHANGELOG.md +24 -0
- package/esm/Serenity.d.ts +209 -0
- package/esm/Serenity.d.ts.map +1 -0
- package/esm/Serenity.js +272 -0
- package/esm/Serenity.js.map +1 -0
- package/esm/adapter/OutputStream.d.ts +15 -0
- package/esm/adapter/OutputStream.d.ts.map +1 -0
- package/esm/adapter/OutputStream.js +2 -0
- package/esm/adapter/OutputStream.js.map +1 -0
- package/esm/adapter/TestRunnerAdapter.d.ts +33 -0
- package/esm/adapter/TestRunnerAdapter.d.ts.map +1 -0
- package/esm/adapter/TestRunnerAdapter.js +2 -0
- package/esm/adapter/TestRunnerAdapter.js.map +1 -0
- package/esm/adapter/index.d.ts +3 -0
- package/esm/adapter/index.d.ts.map +1 -0
- package/esm/adapter/index.js +3 -0
- package/esm/adapter/index.js.map +1 -0
- package/esm/config/ClassDescription.d.ts +60 -0
- package/esm/config/ClassDescription.d.ts.map +1 -0
- package/esm/config/ClassDescription.js +2 -0
- package/esm/config/ClassDescription.js.map +1 -0
- package/esm/config/SerenityConfig.d.ts +75 -0
- package/esm/config/SerenityConfig.d.ts.map +1 -0
- package/esm/config/SerenityConfig.js +70 -0
- package/esm/config/SerenityConfig.js.map +1 -0
- package/esm/config/index.d.ts +3 -0
- package/esm/config/index.d.ts.map +1 -0
- package/esm/config/index.js +3 -0
- package/esm/config/index.js.map +1 -0
- package/esm/errors/ErrorFactory.d.ts +17 -0
- package/esm/errors/ErrorFactory.d.ts.map +1 -0
- package/esm/errors/ErrorFactory.js +244 -0
- package/esm/errors/ErrorFactory.js.map +1 -0
- package/esm/errors/ErrorOptions.d.ts +16 -0
- package/esm/errors/ErrorOptions.d.ts.map +1 -0
- package/esm/errors/ErrorOptions.js +2 -0
- package/esm/errors/ErrorOptions.js.map +1 -0
- package/esm/errors/ErrorSerialiser.d.ts +14 -0
- package/esm/errors/ErrorSerialiser.d.ts.map +1 -0
- package/esm/errors/ErrorSerialiser.js +70 -0
- package/esm/errors/ErrorSerialiser.js.map +1 -0
- package/esm/errors/ErrorStackParser.d.ts +13 -0
- package/esm/errors/ErrorStackParser.d.ts.map +1 -0
- package/esm/errors/ErrorStackParser.js +15 -0
- package/esm/errors/ErrorStackParser.js.map +1 -0
- package/esm/errors/RaiseErrors.d.ts +57 -0
- package/esm/errors/RaiseErrors.d.ts.map +1 -0
- package/esm/errors/RaiseErrors.js +59 -0
- package/esm/errors/RaiseErrors.js.map +1 -0
- package/esm/errors/diff/AnsiDiffFormatter.d.ts +28 -0
- package/esm/errors/diff/AnsiDiffFormatter.d.ts.map +1 -0
- package/esm/errors/diff/AnsiDiffFormatter.js +36 -0
- package/esm/errors/diff/AnsiDiffFormatter.js.map +1 -0
- package/esm/errors/diff/DiffFormatter.d.ts +13 -0
- package/esm/errors/diff/DiffFormatter.d.ts.map +1 -0
- package/esm/errors/diff/DiffFormatter.js +2 -0
- package/esm/errors/diff/DiffFormatter.js.map +1 -0
- package/esm/errors/diff/NoOpDiffFormatter.d.ts +12 -0
- package/esm/errors/diff/NoOpDiffFormatter.d.ts.map +1 -0
- package/esm/errors/diff/NoOpDiffFormatter.js +17 -0
- package/esm/errors/diff/NoOpDiffFormatter.js.map +1 -0
- package/esm/errors/diff/index.d.ts +4 -0
- package/esm/errors/diff/index.d.ts.map +1 -0
- package/esm/errors/diff/index.js +4 -0
- package/esm/errors/diff/index.js.map +1 -0
- package/esm/errors/index.d.ts +8 -0
- package/esm/errors/index.d.ts.map +1 -0
- package/esm/errors/index.js +15 -0
- package/esm/errors/index.js.map +1 -0
- package/esm/errors/model/AssertionError.d.ts +16 -0
- package/esm/errors/model/AssertionError.d.ts.map +1 -0
- package/esm/errors/model/AssertionError.js +22 -0
- package/esm/errors/model/AssertionError.js.map +1 -0
- package/esm/errors/model/ConfigurationError.d.ts +16 -0
- package/esm/errors/model/ConfigurationError.d.ts.map +1 -0
- package/esm/errors/model/ConfigurationError.js +22 -0
- package/esm/errors/model/ConfigurationError.js.map +1 -0
- package/esm/errors/model/ImplementationPendingError.d.ts +37 -0
- package/esm/errors/model/ImplementationPendingError.d.ts.map +1 -0
- package/esm/errors/model/ImplementationPendingError.js +43 -0
- package/esm/errors/model/ImplementationPendingError.js.map +1 -0
- package/esm/errors/model/ListItemNotFoundError.d.ts +20 -0
- package/esm/errors/model/ListItemNotFoundError.d.ts.map +1 -0
- package/esm/errors/model/ListItemNotFoundError.js +26 -0
- package/esm/errors/model/ListItemNotFoundError.js.map +1 -0
- package/esm/errors/model/LogicError.d.ts +20 -0
- package/esm/errors/model/LogicError.d.ts.map +1 -0
- package/esm/errors/model/LogicError.js +26 -0
- package/esm/errors/model/LogicError.js.map +1 -0
- package/esm/errors/model/OperationInterruptedError.d.ts +20 -0
- package/esm/errors/model/OperationInterruptedError.d.ts.map +1 -0
- package/esm/errors/model/OperationInterruptedError.js +26 -0
- package/esm/errors/model/OperationInterruptedError.js.map +1 -0
- package/esm/errors/model/RuntimeError.d.ts +95 -0
- package/esm/errors/model/RuntimeError.d.ts.map +1 -0
- package/esm/errors/model/RuntimeError.js +138 -0
- package/esm/errors/model/RuntimeError.js.map +1 -0
- package/esm/errors/model/TestCompromisedError.d.ts +31 -0
- package/esm/errors/model/TestCompromisedError.d.ts.map +1 -0
- package/esm/errors/model/TestCompromisedError.js +37 -0
- package/esm/errors/model/TestCompromisedError.js.map +1 -0
- package/esm/errors/model/TimeoutExpiredError.d.ts +20 -0
- package/esm/errors/model/TimeoutExpiredError.d.ts.map +1 -0
- package/esm/errors/model/TimeoutExpiredError.js +26 -0
- package/esm/errors/model/TimeoutExpiredError.js.map +1 -0
- package/esm/errors/model/UnknownError.d.ts +16 -0
- package/esm/errors/model/UnknownError.d.ts.map +1 -0
- package/esm/errors/model/UnknownError.js +22 -0
- package/esm/errors/model/UnknownError.js.map +1 -0
- package/esm/errors/model/index.d.ts +11 -0
- package/esm/errors/model/index.d.ts.map +1 -0
- package/esm/errors/model/index.js +11 -0
- package/esm/errors/model/index.js.map +1 -0
- package/esm/events/ActivityFinished.d.ts +16 -0
- package/esm/events/ActivityFinished.d.ts.map +1 -0
- package/esm/events/ActivityFinished.js +25 -0
- package/esm/events/ActivityFinished.js.map +1 -0
- package/esm/events/ActivityRelatedArtifactArchived.d.ts +16 -0
- package/esm/events/ActivityRelatedArtifactArchived.d.ts.map +1 -0
- package/esm/events/ActivityRelatedArtifactArchived.js +34 -0
- package/esm/events/ActivityRelatedArtifactArchived.js.map +1 -0
- package/esm/events/ActivityRelatedArtifactGenerated.d.ts +13 -0
- package/esm/events/ActivityRelatedArtifactGenerated.d.ts.map +1 -0
- package/esm/events/ActivityRelatedArtifactGenerated.js +19 -0
- package/esm/events/ActivityRelatedArtifactGenerated.js.map +1 -0
- package/esm/events/ActivityStarts.d.ts +15 -0
- package/esm/events/ActivityStarts.d.ts.map +1 -0
- package/esm/events/ActivityStarts.js +22 -0
- package/esm/events/ActivityStarts.js.map +1 -0
- package/esm/events/ArtifactArchived.d.ts +20 -0
- package/esm/events/ArtifactArchived.d.ts.map +1 -0
- package/esm/events/ArtifactArchived.js +43 -0
- package/esm/events/ArtifactArchived.js.map +1 -0
- package/esm/events/ArtifactGenerated.d.ts +15 -0
- package/esm/events/ArtifactGenerated.d.ts.map +1 -0
- package/esm/events/ArtifactGenerated.js +25 -0
- package/esm/events/ArtifactGenerated.js.map +1 -0
- package/esm/events/AsyncOperationAborted.d.ts +14 -0
- package/esm/events/AsyncOperationAborted.d.ts.map +1 -0
- package/esm/events/AsyncOperationAborted.js +22 -0
- package/esm/events/AsyncOperationAborted.js.map +1 -0
- package/esm/events/AsyncOperationAttempted.d.ts +15 -0
- package/esm/events/AsyncOperationAttempted.d.ts.map +1 -0
- package/esm/events/AsyncOperationAttempted.js +25 -0
- package/esm/events/AsyncOperationAttempted.js.map +1 -0
- package/esm/events/AsyncOperationCompleted.d.ts +13 -0
- package/esm/events/AsyncOperationCompleted.d.ts.map +1 -0
- package/esm/events/AsyncOperationCompleted.js +19 -0
- package/esm/events/AsyncOperationCompleted.js.map +1 -0
- package/esm/events/AsyncOperationFailed.d.ts +15 -0
- package/esm/events/AsyncOperationFailed.d.ts.map +1 -0
- package/esm/events/AsyncOperationFailed.js +30 -0
- package/esm/events/AsyncOperationFailed.js.map +1 -0
- package/esm/events/BusinessRuleDetected.d.ts +18 -0
- package/esm/events/BusinessRuleDetected.d.ts.map +1 -0
- package/esm/events/BusinessRuleDetected.js +28 -0
- package/esm/events/BusinessRuleDetected.js.map +1 -0
- package/esm/events/DomainEvent.d.ts +15 -0
- package/esm/events/DomainEvent.d.ts.map +1 -0
- package/esm/events/DomainEvent.js +19 -0
- package/esm/events/DomainEvent.js.map +1 -0
- package/esm/events/EmitsDomainEvents.d.ts +10 -0
- package/esm/events/EmitsDomainEvents.d.ts.map +1 -0
- package/esm/events/EmitsDomainEvents.js +2 -0
- package/esm/events/EmitsDomainEvents.js.map +1 -0
- package/esm/events/FeatureNarrativeDetected.d.ts +14 -0
- package/esm/events/FeatureNarrativeDetected.d.ts.map +1 -0
- package/esm/events/FeatureNarrativeDetected.js +22 -0
- package/esm/events/FeatureNarrativeDetected.js.map +1 -0
- package/esm/events/InteractionFinished.d.ts +14 -0
- package/esm/events/InteractionFinished.d.ts.map +1 -0
- package/esm/events/InteractionFinished.js +17 -0
- package/esm/events/InteractionFinished.js.map +1 -0
- package/esm/events/InteractionStarts.d.ts +11 -0
- package/esm/events/InteractionStarts.d.ts.map +1 -0
- package/esm/events/InteractionStarts.js +14 -0
- package/esm/events/InteractionStarts.js.map +1 -0
- package/esm/events/RetryableSceneDetected.d.ts +24 -0
- package/esm/events/RetryableSceneDetected.d.ts.map +1 -0
- package/esm/events/RetryableSceneDetected.js +30 -0
- package/esm/events/RetryableSceneDetected.js.map +1 -0
- package/esm/events/SceneBackgroundDetected.d.ts +15 -0
- package/esm/events/SceneBackgroundDetected.d.ts.map +1 -0
- package/esm/events/SceneBackgroundDetected.js +24 -0
- package/esm/events/SceneBackgroundDetected.js.map +1 -0
- package/esm/events/SceneDescriptionDetected.d.ts +14 -0
- package/esm/events/SceneDescriptionDetected.d.ts.map +1 -0
- package/esm/events/SceneDescriptionDetected.js +22 -0
- package/esm/events/SceneDescriptionDetected.js.map +1 -0
- package/esm/events/SceneFinished.d.ts +15 -0
- package/esm/events/SceneFinished.d.ts.map +1 -0
- package/esm/events/SceneFinished.js +25 -0
- package/esm/events/SceneFinished.js.map +1 -0
- package/esm/events/SceneFinishes.d.ts +22 -0
- package/esm/events/SceneFinishes.d.ts.map +1 -0
- package/esm/events/SceneFinishes.js +32 -0
- package/esm/events/SceneFinishes.js.map +1 -0
- package/esm/events/SceneParametersDetected.d.ts +15 -0
- package/esm/events/SceneParametersDetected.d.ts.map +1 -0
- package/esm/events/SceneParametersDetected.js +25 -0
- package/esm/events/SceneParametersDetected.js.map +1 -0
- package/esm/events/SceneSequenceDetected.d.ts +14 -0
- package/esm/events/SceneSequenceDetected.d.ts.map +1 -0
- package/esm/events/SceneSequenceDetected.js +22 -0
- package/esm/events/SceneSequenceDetected.js.map +1 -0
- package/esm/events/SceneStarts.d.ts +16 -0
- package/esm/events/SceneStarts.d.ts.map +1 -0
- package/esm/events/SceneStarts.js +24 -0
- package/esm/events/SceneStarts.js.map +1 -0
- package/esm/events/SceneTagged.d.ts +14 -0
- package/esm/events/SceneTagged.d.ts.map +1 -0
- package/esm/events/SceneTagged.js +22 -0
- package/esm/events/SceneTagged.js.map +1 -0
- package/esm/events/SceneTemplateDetected.d.ts +14 -0
- package/esm/events/SceneTemplateDetected.d.ts.map +1 -0
- package/esm/events/SceneTemplateDetected.js +22 -0
- package/esm/events/SceneTemplateDetected.js.map +1 -0
- package/esm/events/TaskFinished.d.ts +9 -0
- package/esm/events/TaskFinished.d.ts.map +1 -0
- package/esm/events/TaskFinished.js +12 -0
- package/esm/events/TaskFinished.js.map +1 -0
- package/esm/events/TaskStarts.d.ts +9 -0
- package/esm/events/TaskStarts.d.ts.map +1 -0
- package/esm/events/TaskStarts.js +12 -0
- package/esm/events/TaskStarts.js.map +1 -0
- package/esm/events/TestRunFinished.d.ts +15 -0
- package/esm/events/TestRunFinished.d.ts.map +1 -0
- package/esm/events/TestRunFinished.js +19 -0
- package/esm/events/TestRunFinished.js.map +1 -0
- package/esm/events/TestRunFinishes.d.ts +13 -0
- package/esm/events/TestRunFinishes.d.ts.map +1 -0
- package/esm/events/TestRunFinishes.js +17 -0
- package/esm/events/TestRunFinishes.js.map +1 -0
- package/esm/events/TestRunStarts.d.ts +12 -0
- package/esm/events/TestRunStarts.d.ts.map +1 -0
- package/esm/events/TestRunStarts.js +16 -0
- package/esm/events/TestRunStarts.js.map +1 -0
- package/esm/events/TestRunnerDetected.d.ts +14 -0
- package/esm/events/TestRunnerDetected.d.ts.map +1 -0
- package/esm/events/TestRunnerDetected.js +22 -0
- package/esm/events/TestRunnerDetected.js.map +1 -0
- package/esm/events/TestSuiteFinished.d.ts +14 -0
- package/esm/events/TestSuiteFinished.d.ts.map +1 -0
- package/esm/events/TestSuiteFinished.js +22 -0
- package/esm/events/TestSuiteFinished.js.map +1 -0
- package/esm/events/TestSuiteStarts.d.ts +13 -0
- package/esm/events/TestSuiteStarts.d.ts.map +1 -0
- package/esm/events/TestSuiteStarts.js +19 -0
- package/esm/events/TestSuiteStarts.js.map +1 -0
- package/esm/events/actor/ActorEntersStage.d.ts +23 -0
- package/esm/events/actor/ActorEntersStage.d.ts.map +1 -0
- package/esm/events/actor/ActorEntersStage.js +31 -0
- package/esm/events/actor/ActorEntersStage.js.map +1 -0
- package/esm/events/actor/ActorSpotlighted.d.ts +25 -0
- package/esm/events/actor/ActorSpotlighted.d.ts.map +1 -0
- package/esm/events/actor/ActorSpotlighted.js +32 -0
- package/esm/events/actor/ActorSpotlighted.js.map +1 -0
- package/esm/events/actor/ActorStageExitAttempted.d.ts +19 -0
- package/esm/events/actor/ActorStageExitAttempted.d.ts.map +1 -0
- package/esm/events/actor/ActorStageExitAttempted.js +25 -0
- package/esm/events/actor/ActorStageExitAttempted.js.map +1 -0
- package/esm/events/actor/ActorStageExitCompleted.d.ts +20 -0
- package/esm/events/actor/ActorStageExitCompleted.d.ts.map +1 -0
- package/esm/events/actor/ActorStageExitCompleted.js +26 -0
- package/esm/events/actor/ActorStageExitCompleted.js.map +1 -0
- package/esm/events/actor/ActorStageExitFailed.d.ts +17 -0
- package/esm/events/actor/ActorStageExitFailed.d.ts.map +1 -0
- package/esm/events/actor/ActorStageExitFailed.js +21 -0
- package/esm/events/actor/ActorStageExitFailed.js.map +1 -0
- package/esm/events/actor/ActorStageExitStarts.d.ts +20 -0
- package/esm/events/actor/ActorStageExitStarts.d.ts.map +1 -0
- package/esm/events/actor/ActorStageExitStarts.js +28 -0
- package/esm/events/actor/ActorStageExitStarts.js.map +1 -0
- package/esm/events/actor/index.d.ts +7 -0
- package/esm/events/actor/index.d.ts.map +1 -0
- package/esm/events/actor/index.js +7 -0
- package/esm/events/actor/index.js.map +1 -0
- package/esm/events/index.d.ts +36 -0
- package/esm/events/index.d.ts.map +1 -0
- package/esm/events/index.js +36 -0
- package/esm/events/index.js.map +1 -0
- package/esm/index.d.ts +8 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/instance.d.ts +253 -0
- package/esm/instance.d.ts.map +1 -0
- package/esm/instance.js +270 -0
- package/esm/instance.js.map +1 -0
- package/esm/io/Config.d.ts +18 -0
- package/esm/io/Config.d.ts.map +1 -0
- package/esm/io/Config.js +44 -0
- package/esm/io/Config.js.map +1 -0
- package/esm/io/FileFinder.d.ts +7 -0
- package/esm/io/FileFinder.d.ts.map +1 -0
- package/esm/io/FileFinder.js +19 -0
- package/esm/io/FileFinder.js.map +1 -0
- package/esm/io/FileSystem.d.ts +39 -0
- package/esm/io/FileSystem.d.ts.map +1 -0
- package/esm/io/FileSystem.js +88 -0
- package/esm/io/FileSystem.js.map +1 -0
- package/esm/io/FileSystemLocation.d.ts +11 -0
- package/esm/io/FileSystemLocation.d.ts.map +1 -0
- package/esm/io/FileSystemLocation.js +17 -0
- package/esm/io/FileSystemLocation.js.map +1 -0
- package/esm/io/Path.d.ts +20 -0
- package/esm/io/Path.d.ts.map +1 -0
- package/esm/io/Path.js +96 -0
- package/esm/io/Path.js.map +1 -0
- package/esm/io/RequirementsHierarchy.d.ts +16 -0
- package/esm/io/RequirementsHierarchy.d.ts.map +1 -0
- package/esm/io/RequirementsHierarchy.js +72 -0
- package/esm/io/RequirementsHierarchy.js.map +1 -0
- package/esm/io/Version.d.ts +24 -0
- package/esm/io/Version.d.ts.map +1 -0
- package/esm/io/Version.js +51 -0
- package/esm/io/Version.js.map +1 -0
- package/esm/io/asyncMap.d.ts +8 -0
- package/esm/io/asyncMap.d.ts.map +1 -0
- package/esm/io/asyncMap.js +14 -0
- package/esm/io/asyncMap.js.map +1 -0
- package/esm/io/commaSeparated.d.ts +13 -0
- package/esm/io/commaSeparated.d.ts.map +1 -0
- package/esm/io/commaSeparated.js +26 -0
- package/esm/io/commaSeparated.js.map +1 -0
- package/esm/io/format.d.ts +75 -0
- package/esm/io/format.d.ts.map +1 -0
- package/esm/io/format.js +82 -0
- package/esm/io/format.js.map +1 -0
- package/esm/io/index.d.ts +17 -0
- package/esm/io/index.d.ts.map +1 -0
- package/esm/io/index.js +17 -0
- package/esm/io/index.js.map +1 -0
- package/esm/io/inspected.d.ts +3 -0
- package/esm/io/inspected.d.ts.map +1 -0
- package/esm/io/inspected.js +14 -0
- package/esm/io/inspected.js.map +1 -0
- package/esm/io/inspectedObject.d.ts +3 -0
- package/esm/io/inspectedObject.d.ts.map +1 -0
- package/esm/io/inspectedObject.js +28 -0
- package/esm/io/inspectedObject.js.map +1 -0
- package/esm/io/loader/ClassDescriptionParser.d.ts +8 -0
- package/esm/io/loader/ClassDescriptionParser.d.ts.map +1 -0
- package/esm/io/loader/ClassDescriptionParser.js +45 -0
- package/esm/io/loader/ClassDescriptionParser.js.map +1 -0
- package/esm/io/loader/ClassDescriptor.d.ts +7 -0
- package/esm/io/loader/ClassDescriptor.d.ts.map +1 -0
- package/esm/io/loader/ClassDescriptor.js +2 -0
- package/esm/io/loader/ClassDescriptor.js.map +1 -0
- package/esm/io/loader/ClassLoader.d.ts +12 -0
- package/esm/io/loader/ClassLoader.d.ts.map +1 -0
- package/esm/io/loader/ClassLoader.js +54 -0
- package/esm/io/loader/ClassLoader.js.map +1 -0
- package/esm/io/loader/ModuleLoader.d.ts +48 -0
- package/esm/io/loader/ModuleLoader.d.ts.map +1 -0
- package/esm/io/loader/ModuleLoader.js +95 -0
- package/esm/io/loader/ModuleLoader.js.map +1 -0
- package/esm/io/loader/Version.d.ts +31 -0
- package/esm/io/loader/Version.d.ts.map +1 -0
- package/esm/io/loader/Version.js +50 -0
- package/esm/io/loader/Version.js.map +1 -0
- package/esm/io/loader/index.d.ts +5 -0
- package/esm/io/loader/index.d.ts.map +1 -0
- package/esm/io/loader/index.js +5 -0
- package/esm/io/loader/index.js.map +1 -0
- package/esm/io/proxies.d.ts +8 -0
- package/esm/io/proxies.d.ts.map +1 -0
- package/esm/io/proxies.js +13 -0
- package/esm/io/proxies.js.map +1 -0
- package/esm/io/reflection/ValueInspector.d.ts +56 -0
- package/esm/io/reflection/ValueInspector.d.ts.map +1 -0
- package/esm/io/reflection/ValueInspector.js +145 -0
- package/esm/io/reflection/ValueInspector.js.map +1 -0
- package/esm/io/reflection/has.d.ts +27 -0
- package/esm/io/reflection/has.d.ts.map +1 -0
- package/esm/io/reflection/has.js +31 -0
- package/esm/io/reflection/has.js.map +1 -0
- package/esm/io/reflection/index.d.ts +3 -0
- package/esm/io/reflection/index.d.ts.map +1 -0
- package/esm/io/reflection/index.js +3 -0
- package/esm/io/reflection/index.js.map +1 -0
- package/esm/io/stringified.d.ts +18 -0
- package/esm/io/stringified.d.ts.map +1 -0
- package/esm/io/stringified.js +113 -0
- package/esm/io/stringified.js.map +1 -0
- package/esm/io/trimmed.d.ts +10 -0
- package/esm/io/trimmed.d.ts.map +1 -0
- package/esm/io/trimmed.js +24 -0
- package/esm/io/trimmed.js.map +1 -0
- package/esm/model/ActivityDetails.d.ts +19 -0
- package/esm/model/ActivityDetails.d.ts.map +1 -0
- package/esm/model/ActivityDetails.js +24 -0
- package/esm/model/ActivityDetails.js.map +1 -0
- package/esm/model/Artifact.d.ts +16 -0
- package/esm/model/Artifact.d.ts.map +1 -0
- package/esm/model/Artifact.js +37 -0
- package/esm/model/Artifact.js.map +1 -0
- package/esm/model/BusinessRule.d.ts +11 -0
- package/esm/model/BusinessRule.d.ts.map +1 -0
- package/esm/model/BusinessRule.js +18 -0
- package/esm/model/BusinessRule.js.map +1 -0
- package/esm/model/Category.d.ts +7 -0
- package/esm/model/Category.d.ts.map +1 -0
- package/esm/model/Category.js +13 -0
- package/esm/model/Category.js.map +1 -0
- package/esm/model/CorrelationId.d.ts +8 -0
- package/esm/model/CorrelationId.d.ts.map +1 -0
- package/esm/model/CorrelationId.js +20 -0
- package/esm/model/CorrelationId.js.map +1 -0
- package/esm/model/CorrelationIdFactory.d.ts +8 -0
- package/esm/model/CorrelationIdFactory.d.ts.map +1 -0
- package/esm/model/CorrelationIdFactory.js +2 -0
- package/esm/model/CorrelationIdFactory.js.map +1 -0
- package/esm/model/Description.d.ts +7 -0
- package/esm/model/Description.d.ts.map +1 -0
- package/esm/model/Description.js +13 -0
- package/esm/model/Description.js.map +1 -0
- package/esm/model/Name.d.ts +7 -0
- package/esm/model/Name.d.ts.map +1 -0
- package/esm/model/Name.js +13 -0
- package/esm/model/Name.js.map +1 -0
- package/esm/model/ScenarioDetails.d.ts +13 -0
- package/esm/model/ScenarioDetails.d.ts.map +1 -0
- package/esm/model/ScenarioDetails.js +22 -0
- package/esm/model/ScenarioDetails.js.map +1 -0
- package/esm/model/ScenarioParameters.d.ts +16 -0
- package/esm/model/ScenarioParameters.d.ts.map +1 -0
- package/esm/model/ScenarioParameters.js +21 -0
- package/esm/model/ScenarioParameters.js.map +1 -0
- package/esm/model/TestSuiteDetails.d.ts +13 -0
- package/esm/model/TestSuiteDetails.d.ts.map +1 -0
- package/esm/model/TestSuiteDetails.js +19 -0
- package/esm/model/TestSuiteDetails.js.map +1 -0
- package/esm/model/artifacts/HTTPRequestResponse.d.ts +27 -0
- package/esm/model/artifacts/HTTPRequestResponse.d.ts.map +1 -0
- package/esm/model/artifacts/HTTPRequestResponse.js +10 -0
- package/esm/model/artifacts/HTTPRequestResponse.js.map +1 -0
- package/esm/model/artifacts/JSONData.d.ts +7 -0
- package/esm/model/artifacts/JSONData.d.ts.map +1 -0
- package/esm/model/artifacts/JSONData.js +10 -0
- package/esm/model/artifacts/JSONData.js.map +1 -0
- package/esm/model/artifacts/LogEntry.d.ts +7 -0
- package/esm/model/artifacts/LogEntry.d.ts.map +1 -0
- package/esm/model/artifacts/LogEntry.js +7 -0
- package/esm/model/artifacts/LogEntry.js.map +1 -0
- package/esm/model/artifacts/Photo.d.ts +14 -0
- package/esm/model/artifacts/Photo.d.ts.map +1 -0
- package/esm/model/artifacts/Photo.js +23 -0
- package/esm/model/artifacts/Photo.js.map +1 -0
- package/esm/model/artifacts/TestReport.d.ts +7 -0
- package/esm/model/artifacts/TestReport.d.ts.map +1 -0
- package/esm/model/artifacts/TestReport.js +10 -0
- package/esm/model/artifacts/TestReport.js.map +1 -0
- package/esm/model/artifacts/TextData.d.ts +8 -0
- package/esm/model/artifacts/TextData.d.ts.map +1 -0
- package/esm/model/artifacts/TextData.js +7 -0
- package/esm/model/artifacts/TextData.js.map +1 -0
- package/esm/model/artifacts/index.d.ts +7 -0
- package/esm/model/artifacts/index.d.ts.map +1 -0
- package/esm/model/artifacts/index.js +7 -0
- package/esm/model/artifacts/index.js.map +1 -0
- package/esm/model/index.d.ts +15 -0
- package/esm/model/index.d.ts.map +1 -0
- package/esm/model/index.js +16 -0
- package/esm/model/index.js.map +1 -0
- package/esm/model/outcomes.d.ts +97 -0
- package/esm/model/outcomes.d.ts.map +1 -0
- package/esm/model/outcomes.js +162 -0
- package/esm/model/outcomes.js.map +1 -0
- package/esm/model/tags/ArbitraryTag.d.ts +10 -0
- package/esm/model/tags/ArbitraryTag.d.ts.map +1 -0
- package/esm/model/tags/ArbitraryTag.js +12 -0
- package/esm/model/tags/ArbitraryTag.js.map +1 -0
- package/esm/model/tags/BrowserTag.d.ts +19 -0
- package/esm/model/tags/BrowserTag.d.ts.map +1 -0
- package/esm/model/tags/BrowserTag.js +28 -0
- package/esm/model/tags/BrowserTag.js.map +1 -0
- package/esm/model/tags/CapabilityTag.d.ts +9 -0
- package/esm/model/tags/CapabilityTag.d.ts.map +1 -0
- package/esm/model/tags/CapabilityTag.js +11 -0
- package/esm/model/tags/CapabilityTag.js.map +1 -0
- package/esm/model/tags/ExecutionRetriedTag.d.ts +14 -0
- package/esm/model/tags/ExecutionRetriedTag.d.ts.map +1 -0
- package/esm/model/tags/ExecutionRetriedTag.js +26 -0
- package/esm/model/tags/ExecutionRetriedTag.js.map +1 -0
- package/esm/model/tags/FeatureTag.d.ts +9 -0
- package/esm/model/tags/FeatureTag.d.ts.map +1 -0
- package/esm/model/tags/FeatureTag.js +11 -0
- package/esm/model/tags/FeatureTag.js.map +1 -0
- package/esm/model/tags/IssueTag.d.ts +9 -0
- package/esm/model/tags/IssueTag.d.ts.map +1 -0
- package/esm/model/tags/IssueTag.js +11 -0
- package/esm/model/tags/IssueTag.js.map +1 -0
- package/esm/model/tags/ManualTag.d.ts +9 -0
- package/esm/model/tags/ManualTag.d.ts.map +1 -0
- package/esm/model/tags/ManualTag.js +11 -0
- package/esm/model/tags/ManualTag.js.map +1 -0
- package/esm/model/tags/PlatformTag.d.ts +19 -0
- package/esm/model/tags/PlatformTag.d.ts.map +1 -0
- package/esm/model/tags/PlatformTag.js +28 -0
- package/esm/model/tags/PlatformTag.js.map +1 -0
- package/esm/model/tags/ProjectTag.d.ts +11 -0
- package/esm/model/tags/ProjectTag.d.ts.map +1 -0
- package/esm/model/tags/ProjectTag.js +13 -0
- package/esm/model/tags/ProjectTag.js.map +1 -0
- package/esm/model/tags/Tag.d.ts +15 -0
- package/esm/model/tags/Tag.d.ts.map +1 -0
- package/esm/model/tags/Tag.js +29 -0
- package/esm/model/tags/Tag.js.map +1 -0
- package/esm/model/tags/Tags.d.ts +14 -0
- package/esm/model/tags/Tags.d.ts.map +1 -0
- package/esm/model/tags/Tags.js +67 -0
- package/esm/model/tags/Tags.js.map +1 -0
- package/esm/model/tags/ThemeTag.d.ts +9 -0
- package/esm/model/tags/ThemeTag.d.ts.map +1 -0
- package/esm/model/tags/ThemeTag.js +11 -0
- package/esm/model/tags/ThemeTag.js.map +1 -0
- package/esm/model/tags/index.d.ts +13 -0
- package/esm/model/tags/index.d.ts.map +1 -0
- package/esm/model/tags/index.js +13 -0
- package/esm/model/tags/index.js.map +1 -0
- package/esm/screenplay/Activity.d.ts +40 -0
- package/esm/screenplay/Activity.d.ts.map +1 -0
- package/esm/screenplay/Activity.js +46 -0
- package/esm/screenplay/Activity.js.map +1 -0
- package/esm/screenplay/Actor.d.ts +162 -0
- package/esm/screenplay/Actor.d.ts.map +1 -0
- package/esm/screenplay/Actor.js +221 -0
- package/esm/screenplay/Actor.js.map +1 -0
- package/esm/screenplay/Answerable.d.ts +9 -0
- package/esm/screenplay/Answerable.d.ts.map +1 -0
- package/esm/screenplay/Answerable.js +2 -0
- package/esm/screenplay/Answerable.js.map +1 -0
- package/esm/screenplay/Answered.d.ts +13 -0
- package/esm/screenplay/Answered.d.ts.map +1 -0
- package/esm/screenplay/Answered.js +2 -0
- package/esm/screenplay/Answered.js.map +1 -0
- package/esm/screenplay/Interaction.d.ts +91 -0
- package/esm/screenplay/Interaction.d.ts.map +1 -0
- package/esm/screenplay/Interaction.js +95 -0
- package/esm/screenplay/Interaction.js.map +1 -0
- package/esm/screenplay/Optional.d.ts +26 -0
- package/esm/screenplay/Optional.d.ts.map +1 -0
- package/esm/screenplay/Optional.js +2 -0
- package/esm/screenplay/Optional.js.map +1 -0
- package/esm/screenplay/Question.d.ts +377 -0
- package/esm/screenplay/Question.d.ts.map +1 -0
- package/esm/screenplay/Question.js +699 -0
- package/esm/screenplay/Question.js.map +1 -0
- package/esm/screenplay/RecursivelyAnswered.d.ts +40 -0
- package/esm/screenplay/RecursivelyAnswered.d.ts.map +1 -0
- package/esm/screenplay/RecursivelyAnswered.js +2 -0
- package/esm/screenplay/RecursivelyAnswered.js.map +1 -0
- package/esm/screenplay/SerialisedActor.d.ts +9 -0
- package/esm/screenplay/SerialisedActor.d.ts.map +1 -0
- package/esm/screenplay/SerialisedActor.js +2 -0
- package/esm/screenplay/SerialisedActor.js.map +1 -0
- package/esm/screenplay/Task.d.ts +196 -0
- package/esm/screenplay/Task.d.ts.map +1 -0
- package/esm/screenplay/Task.js +212 -0
- package/esm/screenplay/Task.js.map +1 -0
- package/esm/screenplay/WithAnswerableProperties.d.ts +33 -0
- package/esm/screenplay/WithAnswerableProperties.d.ts.map +1 -0
- package/esm/screenplay/WithAnswerableProperties.js +2 -0
- package/esm/screenplay/WithAnswerableProperties.js.map +1 -0
- package/esm/screenplay/abilities/Ability.d.ts +463 -0
- package/esm/screenplay/abilities/Ability.d.ts.map +1 -0
- package/esm/screenplay/abilities/Ability.js +517 -0
- package/esm/screenplay/abilities/Ability.js.map +1 -0
- package/esm/screenplay/abilities/AbilityType.d.ts +49 -0
- package/esm/screenplay/abilities/AbilityType.d.ts.map +1 -0
- package/esm/screenplay/abilities/AbilityType.js +2 -0
- package/esm/screenplay/abilities/AbilityType.js.map +1 -0
- package/esm/screenplay/abilities/AnswerQuestions.d.ts +20 -0
- package/esm/screenplay/abilities/AnswerQuestions.d.ts.map +1 -0
- package/esm/screenplay/abilities/AnswerQuestions.js +32 -0
- package/esm/screenplay/abilities/AnswerQuestions.js.map +1 -0
- package/esm/screenplay/abilities/CanHaveAbilities.d.ts +19 -0
- package/esm/screenplay/abilities/CanHaveAbilities.d.ts.map +1 -0
- package/esm/screenplay/abilities/CanHaveAbilities.js +2 -0
- package/esm/screenplay/abilities/CanHaveAbilities.js.map +1 -0
- package/esm/screenplay/abilities/Discardable.d.ts +26 -0
- package/esm/screenplay/abilities/Discardable.d.ts.map +1 -0
- package/esm/screenplay/abilities/Discardable.js +2 -0
- package/esm/screenplay/abilities/Discardable.js.map +1 -0
- package/esm/screenplay/abilities/Initialisable.d.ts +33 -0
- package/esm/screenplay/abilities/Initialisable.d.ts.map +1 -0
- package/esm/screenplay/abilities/Initialisable.js +2 -0
- package/esm/screenplay/abilities/Initialisable.js.map +1 -0
- package/esm/screenplay/abilities/PerformActivities.d.ts +30 -0
- package/esm/screenplay/abilities/PerformActivities.d.ts.map +1 -0
- package/esm/screenplay/abilities/PerformActivities.js +75 -0
- package/esm/screenplay/abilities/PerformActivities.js.map +1 -0
- package/esm/screenplay/abilities/SerialisedAbility.d.ts +10 -0
- package/esm/screenplay/abilities/SerialisedAbility.d.ts.map +1 -0
- package/esm/screenplay/abilities/SerialisedAbility.js +2 -0
- package/esm/screenplay/abilities/SerialisedAbility.js.map +1 -0
- package/esm/screenplay/abilities/UsesAbilities.d.ts +23 -0
- package/esm/screenplay/abilities/UsesAbilities.d.ts.map +1 -0
- package/esm/screenplay/abilities/UsesAbilities.js +2 -0
- package/esm/screenplay/abilities/UsesAbilities.js.map +1 -0
- package/esm/screenplay/abilities/index.d.ts +10 -0
- package/esm/screenplay/abilities/index.d.ts.map +1 -0
- package/esm/screenplay/abilities/index.js +10 -0
- package/esm/screenplay/abilities/index.js.map +1 -0
- package/esm/screenplay/activities/PerformsActivities.d.ts +20 -0
- package/esm/screenplay/activities/PerformsActivities.d.ts.map +1 -0
- package/esm/screenplay/activities/PerformsActivities.js +2 -0
- package/esm/screenplay/activities/PerformsActivities.js.map +1 -0
- package/esm/screenplay/activities/index.d.ts +2 -0
- package/esm/screenplay/activities/index.d.ts.map +1 -0
- package/esm/screenplay/activities/index.js +2 -0
- package/esm/screenplay/activities/index.js.map +1 -0
- package/esm/screenplay/artifacts/CollectsArtifacts.d.ts +77 -0
- package/esm/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -0
- package/esm/screenplay/artifacts/CollectsArtifacts.js +2 -0
- package/esm/screenplay/artifacts/CollectsArtifacts.js.map +1 -0
- package/esm/screenplay/artifacts/index.d.ts +2 -0
- package/esm/screenplay/artifacts/index.d.ts.map +1 -0
- package/esm/screenplay/artifacts/index.js +2 -0
- package/esm/screenplay/artifacts/index.js.map +1 -0
- package/esm/screenplay/debugging/Debug.d.ts +108 -0
- package/esm/screenplay/debugging/Debug.d.ts.map +1 -0
- package/esm/screenplay/debugging/Debug.js +129 -0
- package/esm/screenplay/debugging/Debug.js.map +1 -0
- package/esm/screenplay/debugging/DebuggingResult.d.ts +11 -0
- package/esm/screenplay/debugging/DebuggingResult.d.ts.map +1 -0
- package/esm/screenplay/debugging/DebuggingResult.js +2 -0
- package/esm/screenplay/debugging/DebuggingResult.js.map +1 -0
- package/esm/screenplay/debugging/Log.d.ts +49 -0
- package/esm/screenplay/debugging/Log.d.ts.map +1 -0
- package/esm/screenplay/debugging/Log.js +58 -0
- package/esm/screenplay/debugging/Log.js.map +1 -0
- package/esm/screenplay/debugging/index.d.ts +4 -0
- package/esm/screenplay/debugging/index.d.ts.map +1 -0
- package/esm/screenplay/debugging/index.js +4 -0
- package/esm/screenplay/debugging/index.js.map +1 -0
- package/esm/screenplay/index.d.ts +19 -0
- package/esm/screenplay/index.d.ts.map +1 -0
- package/esm/screenplay/index.js +19 -0
- package/esm/screenplay/index.js.map +1 -0
- package/esm/screenplay/notes/ChainableSetter.d.ts +9 -0
- package/esm/screenplay/notes/ChainableSetter.d.ts.map +1 -0
- package/esm/screenplay/notes/ChainableSetter.js +2 -0
- package/esm/screenplay/notes/ChainableSetter.js.map +1 -0
- package/esm/screenplay/notes/Notepad.d.ts +164 -0
- package/esm/screenplay/notes/Notepad.d.ts.map +1 -0
- package/esm/screenplay/notes/Notepad.js +197 -0
- package/esm/screenplay/notes/Notepad.js.map +1 -0
- package/esm/screenplay/notes/NotepadAdapter.d.ts +245 -0
- package/esm/screenplay/notes/NotepadAdapter.d.ts.map +1 -0
- package/esm/screenplay/notes/NotepadAdapter.js +335 -0
- package/esm/screenplay/notes/NotepadAdapter.js.map +1 -0
- package/esm/screenplay/notes/TakeNotes.d.ts +250 -0
- package/esm/screenplay/notes/TakeNotes.d.ts.map +1 -0
- package/esm/screenplay/notes/TakeNotes.js +264 -0
- package/esm/screenplay/notes/TakeNotes.js.map +1 -0
- package/esm/screenplay/notes/index.d.ts +6 -0
- package/esm/screenplay/notes/index.d.ts.map +1 -0
- package/esm/screenplay/notes/index.js +6 -0
- package/esm/screenplay/notes/index.js.map +1 -0
- package/esm/screenplay/notes/notes.d.ts +117 -0
- package/esm/screenplay/notes/notes.d.ts.map +1 -0
- package/esm/screenplay/notes/notes.js +119 -0
- package/esm/screenplay/notes/notes.js.map +1 -0
- package/esm/screenplay/questions/AnswersQuestions.d.ts +19 -0
- package/esm/screenplay/questions/AnswersQuestions.d.ts.map +1 -0
- package/esm/screenplay/questions/AnswersQuestions.js +2 -0
- package/esm/screenplay/questions/AnswersQuestions.js.map +1 -0
- package/esm/screenplay/questions/ChainableMetaQuestion.d.ts +26 -0
- package/esm/screenplay/questions/ChainableMetaQuestion.d.ts.map +1 -0
- package/esm/screenplay/questions/ChainableMetaQuestion.js +2 -0
- package/esm/screenplay/questions/ChainableMetaQuestion.js.map +1 -0
- package/esm/screenplay/questions/Check.d.ts +65 -0
- package/esm/screenplay/questions/Check.d.ts.map +1 -0
- package/esm/screenplay/questions/Check.js +77 -0
- package/esm/screenplay/questions/Check.js.map +1 -0
- package/esm/screenplay/questions/Describable.d.ts +27 -0
- package/esm/screenplay/questions/Describable.d.ts.map +1 -0
- package/esm/screenplay/questions/Describable.js +36 -0
- package/esm/screenplay/questions/Describable.js.map +1 -0
- package/esm/screenplay/questions/DescriptionFormattingOptions.d.ts +14 -0
- package/esm/screenplay/questions/DescriptionFormattingOptions.d.ts.map +1 -0
- package/esm/screenplay/questions/DescriptionFormattingOptions.js +2 -0
- package/esm/screenplay/questions/DescriptionFormattingOptions.js.map +1 -0
- package/esm/screenplay/questions/Expectation.d.ts +186 -0
- package/esm/screenplay/questions/Expectation.d.ts.map +1 -0
- package/esm/screenplay/questions/Expectation.js +227 -0
- package/esm/screenplay/questions/Expectation.js.map +1 -0
- package/esm/screenplay/questions/List.d.ts +84 -0
- package/esm/screenplay/questions/List.d.ts.map +1 -0
- package/esm/screenplay/questions/List.js +267 -0
- package/esm/screenplay/questions/List.js.map +1 -0
- package/esm/screenplay/questions/Masked.d.ts +37 -0
- package/esm/screenplay/questions/Masked.d.ts.map +1 -0
- package/esm/screenplay/questions/Masked.js +38 -0
- package/esm/screenplay/questions/Masked.js.map +1 -0
- package/esm/screenplay/questions/MetaQuestion.d.ts +35 -0
- package/esm/screenplay/questions/MetaQuestion.d.ts.map +1 -0
- package/esm/screenplay/questions/MetaQuestion.js +2 -0
- package/esm/screenplay/questions/MetaQuestion.js.map +1 -0
- package/esm/screenplay/questions/Numeric.d.ts +534 -0
- package/esm/screenplay/questions/Numeric.d.ts.map +1 -0
- package/esm/screenplay/questions/Numeric.js +642 -0
- package/esm/screenplay/questions/Numeric.js.map +1 -0
- package/esm/screenplay/questions/Unanswered.d.ts +22 -0
- package/esm/screenplay/questions/Unanswered.d.ts.map +1 -0
- package/esm/screenplay/questions/Unanswered.js +31 -0
- package/esm/screenplay/questions/Unanswered.js.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationDetails.d.ts +25 -0
- package/esm/screenplay/questions/expectations/ExpectationDetails.d.ts.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationDetails.js +53 -0
- package/esm/screenplay/questions/expectations/ExpectationDetails.js.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationMet.d.ts +9 -0
- package/esm/screenplay/questions/expectations/ExpectationMet.d.ts.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationMet.js +9 -0
- package/esm/screenplay/questions/expectations/ExpectationMet.js.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationNotMet.d.ts +9 -0
- package/esm/screenplay/questions/expectations/ExpectationNotMet.d.ts.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationNotMet.js +9 -0
- package/esm/screenplay/questions/expectations/ExpectationNotMet.js.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationOutcome.d.ts +16 -0
- package/esm/screenplay/questions/expectations/ExpectationOutcome.d.ts.map +1 -0
- package/esm/screenplay/questions/expectations/ExpectationOutcome.js +21 -0
- package/esm/screenplay/questions/expectations/ExpectationOutcome.js.map +1 -0
- package/esm/screenplay/questions/expectations/index.d.ts +5 -0
- package/esm/screenplay/questions/expectations/index.d.ts.map +1 -0
- package/esm/screenplay/questions/expectations/index.js +5 -0
- package/esm/screenplay/questions/expectations/index.js.map +1 -0
- package/esm/screenplay/questions/index.d.ts +14 -0
- package/esm/screenplay/questions/index.d.ts.map +1 -0
- package/esm/screenplay/questions/index.js +14 -0
- package/esm/screenplay/questions/index.js.map +1 -0
- package/esm/screenplay/questions/tag-functions.d.ts +230 -0
- package/esm/screenplay/questions/tag-functions.d.ts.map +1 -0
- package/esm/screenplay/questions/tag-functions.js +110 -0
- package/esm/screenplay/questions/tag-functions.js.map +1 -0
- package/esm/screenplay/time/TellsTime.d.ts +19 -0
- package/esm/screenplay/time/TellsTime.d.ts.map +1 -0
- package/esm/screenplay/time/TellsTime.js +2 -0
- package/esm/screenplay/time/TellsTime.js.map +1 -0
- package/esm/screenplay/time/abilities/ScheduleWork.d.ts +26 -0
- package/esm/screenplay/time/abilities/ScheduleWork.d.ts.map +1 -0
- package/esm/screenplay/time/abilities/ScheduleWork.js +41 -0
- package/esm/screenplay/time/abilities/ScheduleWork.js.map +1 -0
- package/esm/screenplay/time/abilities/index.d.ts +2 -0
- package/esm/screenplay/time/abilities/index.d.ts.map +1 -0
- package/esm/screenplay/time/abilities/index.js +2 -0
- package/esm/screenplay/time/abilities/index.js.map +1 -0
- package/esm/screenplay/time/activities/Wait.d.ts +214 -0
- package/esm/screenplay/time/activities/Wait.d.ts.map +1 -0
- package/esm/screenplay/time/activities/Wait.js +273 -0
- package/esm/screenplay/time/activities/Wait.js.map +1 -0
- package/esm/screenplay/time/activities/index.d.ts +2 -0
- package/esm/screenplay/time/activities/index.d.ts.map +1 -0
- package/esm/screenplay/time/activities/index.js +2 -0
- package/esm/screenplay/time/activities/index.js.map +1 -0
- package/esm/screenplay/time/index.d.ts +5 -0
- package/esm/screenplay/time/index.d.ts.map +1 -0
- package/esm/screenplay/time/index.js +5 -0
- package/esm/screenplay/time/index.js.map +1 -0
- package/esm/screenplay/time/models/Clock.d.ts +50 -0
- package/esm/screenplay/time/models/Clock.d.ts.map +1 -0
- package/esm/screenplay/time/models/Clock.js +73 -0
- package/esm/screenplay/time/models/Clock.js.map +1 -0
- package/esm/screenplay/time/models/DelayedCallback.d.ts +11 -0
- package/esm/screenplay/time/models/DelayedCallback.d.ts.map +1 -0
- package/esm/screenplay/time/models/DelayedCallback.js +2 -0
- package/esm/screenplay/time/models/DelayedCallback.js.map +1 -0
- package/esm/screenplay/time/models/Duration.d.ts +34 -0
- package/esm/screenplay/time/models/Duration.d.ts.map +1 -0
- package/esm/screenplay/time/models/Duration.js +66 -0
- package/esm/screenplay/time/models/Duration.js.map +1 -0
- package/esm/screenplay/time/models/RepeatUntilLimits.d.ts +12 -0
- package/esm/screenplay/time/models/RepeatUntilLimits.d.ts.map +1 -0
- package/esm/screenplay/time/models/RepeatUntilLimits.js +2 -0
- package/esm/screenplay/time/models/RepeatUntilLimits.js.map +1 -0
- package/esm/screenplay/time/models/Scheduler.d.ts +42 -0
- package/esm/screenplay/time/models/Scheduler.d.ts.map +1 -0
- package/esm/screenplay/time/models/Scheduler.js +150 -0
- package/esm/screenplay/time/models/Scheduler.js.map +1 -0
- package/esm/screenplay/time/models/Timestamp.d.ts +36 -0
- package/esm/screenplay/time/models/Timestamp.d.ts.map +1 -0
- package/esm/screenplay/time/models/Timestamp.js +113 -0
- package/esm/screenplay/time/models/Timestamp.js.map +1 -0
- package/esm/screenplay/time/models/index.d.ts +7 -0
- package/esm/screenplay/time/models/index.d.ts.map +1 -0
- package/esm/screenplay/time/models/index.js +7 -0
- package/esm/screenplay/time/models/index.js.map +1 -0
- package/esm/stage/Cast.d.ts +172 -0
- package/esm/stage/Cast.d.ts.map +1 -0
- package/esm/stage/Cast.js +168 -0
- package/esm/stage/Cast.js.map +1 -0
- package/esm/stage/Extras.d.ts +9 -0
- package/esm/stage/Extras.d.ts.map +1 -0
- package/esm/stage/Extras.js +9 -0
- package/esm/stage/Extras.js.map +1 -0
- package/esm/stage/ListensToDomainEvents.d.ts +23 -0
- package/esm/stage/ListensToDomainEvents.d.ts.map +1 -0
- package/esm/stage/ListensToDomainEvents.js +2 -0
- package/esm/stage/ListensToDomainEvents.js.map +1 -0
- package/esm/stage/Stage.d.ts +169 -0
- package/esm/stage/Stage.d.ts.map +1 -0
- package/esm/stage/Stage.js +310 -0
- package/esm/stage/Stage.js.map +1 -0
- package/esm/stage/StageCrewMember.d.ts +78 -0
- package/esm/stage/StageCrewMember.d.ts.map +1 -0
- package/esm/stage/StageCrewMember.js +2 -0
- package/esm/stage/StageCrewMember.js.map +1 -0
- package/esm/stage/StageCrewMemberBuilder.d.ts +23 -0
- package/esm/stage/StageCrewMemberBuilder.d.ts.map +1 -0
- package/esm/stage/StageCrewMemberBuilder.js +2 -0
- package/esm/stage/StageCrewMemberBuilder.js.map +1 -0
- package/esm/stage/StageCrewMemberBuilderDependencies.d.ts +17 -0
- package/esm/stage/StageCrewMemberBuilderDependencies.d.ts.map +1 -0
- package/esm/stage/StageCrewMemberBuilderDependencies.js +2 -0
- package/esm/stage/StageCrewMemberBuilderDependencies.js.map +1 -0
- package/esm/stage/StageManager.d.ts +23 -0
- package/esm/stage/StageManager.d.ts.map +1 -0
- package/esm/stage/StageManager.js +146 -0
- package/esm/stage/StageManager.js.map +1 -0
- package/esm/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +126 -0
- package/esm/stage/crew/artifact-archiver/ArtifactArchiver.d.ts.map +1 -0
- package/esm/stage/crew/artifact-archiver/ArtifactArchiver.js +186 -0
- package/esm/stage/crew/artifact-archiver/ArtifactArchiver.js.map +1 -0
- package/esm/stage/crew/artifact-archiver/Hash.d.ts +12 -0
- package/esm/stage/crew/artifact-archiver/Hash.d.ts.map +1 -0
- package/esm/stage/crew/artifact-archiver/Hash.js +23 -0
- package/esm/stage/crew/artifact-archiver/Hash.js.map +1 -0
- package/esm/stage/crew/artifact-archiver/index.d.ts +2 -0
- package/esm/stage/crew/artifact-archiver/index.d.ts.map +1 -0
- package/esm/stage/crew/artifact-archiver/index.js +2 -0
- package/esm/stage/crew/artifact-archiver/index.js.map +1 -0
- package/esm/stage/crew/index.d.ts +3 -0
- package/esm/stage/crew/index.d.ts.map +1 -0
- package/esm/stage/crew/index.js +3 -0
- package/esm/stage/crew/index.js.map +1 -0
- package/esm/stage/crew/stream-reporter/StreamReporter.d.ts +137 -0
- package/esm/stage/crew/stream-reporter/StreamReporter.d.ts.map +1 -0
- package/esm/stage/crew/stream-reporter/StreamReporter.js +144 -0
- package/esm/stage/crew/stream-reporter/StreamReporter.js.map +1 -0
- package/esm/stage/crew/stream-reporter/index.d.ts +2 -0
- package/esm/stage/crew/stream-reporter/index.d.ts.map +1 -0
- package/esm/stage/crew/stream-reporter/index.js +2 -0
- package/esm/stage/crew/stream-reporter/index.js.map +1 -0
- package/esm/stage/index.d.ts +11 -0
- package/esm/stage/index.d.ts.map +1 -0
- package/esm/stage/index.js +11 -0
- package/esm/stage/index.js.map +1 -0
- package/esm/stage/queues/DomainEventQueue.d.ts +25 -0
- package/esm/stage/queues/DomainEventQueue.d.ts.map +1 -0
- package/esm/stage/queues/DomainEventQueue.js +30 -0
- package/esm/stage/queues/DomainEventQueue.js.map +1 -0
- package/esm/stage/queues/DomainEventQueues.d.ts +22 -0
- package/esm/stage/queues/DomainEventQueues.d.ts.map +1 -0
- package/esm/stage/queues/DomainEventQueues.js +70 -0
- package/esm/stage/queues/DomainEventQueues.js.map +1 -0
- package/esm/stage/queues/index.d.ts +3 -0
- package/esm/stage/queues/index.d.ts.map +1 -0
- package/esm/stage/queues/index.js +3 -0
- package/esm/stage/queues/index.js.map +1 -0
- package/lib/Serenity.d.ts +8 -8
- package/lib/Serenity.d.ts.map +1 -1
- package/lib/Serenity.js +21 -21
- package/lib/Serenity.js.map +1 -1
- package/lib/adapter/TestRunnerAdapter.d.ts +1 -1
- package/lib/adapter/TestRunnerAdapter.d.ts.map +1 -1
- package/lib/adapter/index.d.ts +2 -2
- package/lib/adapter/index.d.ts.map +1 -1
- package/lib/adapter/index.js +2 -2
- package/lib/adapter/index.js.map +1 -1
- package/lib/config/SerenityConfig.d.ts +5 -5
- package/lib/config/SerenityConfig.d.ts.map +1 -1
- package/lib/config/index.d.ts +2 -2
- package/lib/config/index.d.ts.map +1 -1
- package/lib/config/index.js +2 -2
- package/lib/config/index.js.map +1 -1
- package/lib/errors/ErrorFactory.d.ts +3 -3
- package/lib/errors/ErrorFactory.d.ts.map +1 -1
- package/lib/errors/ErrorFactory.js +14 -14
- package/lib/errors/ErrorFactory.js.map +1 -1
- package/lib/errors/ErrorOptions.d.ts +2 -2
- package/lib/errors/ErrorOptions.d.ts.map +1 -1
- package/lib/errors/ErrorStackParser.d.ts +2 -2
- package/lib/errors/ErrorStackParser.d.ts.map +1 -1
- package/lib/errors/ErrorStackParser.js +5 -35
- package/lib/errors/ErrorStackParser.js.map +1 -1
- package/lib/errors/RaiseErrors.d.ts +4 -4
- package/lib/errors/RaiseErrors.d.ts.map +1 -1
- package/lib/errors/RaiseErrors.js +2 -2
- package/lib/errors/RaiseErrors.js.map +1 -1
- package/lib/errors/diff/AnsiDiffFormatter.d.ts +1 -1
- package/lib/errors/diff/AnsiDiffFormatter.d.ts.map +1 -1
- package/lib/errors/diff/AnsiDiffFormatter.js +6 -2
- package/lib/errors/diff/AnsiDiffFormatter.js.map +1 -1
- package/lib/errors/diff/NoOpDiffFormatter.d.ts +1 -1
- package/lib/errors/diff/NoOpDiffFormatter.d.ts.map +1 -1
- package/lib/errors/diff/index.d.ts +3 -3
- package/lib/errors/diff/index.d.ts.map +1 -1
- package/lib/errors/diff/index.js +3 -3
- package/lib/errors/diff/index.js.map +1 -1
- package/lib/errors/index.d.ts +7 -7
- package/lib/errors/index.d.ts.map +1 -1
- package/lib/errors/index.js +12 -12
- package/lib/errors/index.js.map +1 -1
- package/lib/errors/model/AssertionError.d.ts +1 -1
- package/lib/errors/model/AssertionError.d.ts.map +1 -1
- package/lib/errors/model/AssertionError.js +4 -4
- package/lib/errors/model/AssertionError.js.map +1 -1
- package/lib/errors/model/ConfigurationError.d.ts +1 -1
- package/lib/errors/model/ConfigurationError.d.ts.map +1 -1
- package/lib/errors/model/ConfigurationError.js +4 -4
- package/lib/errors/model/ConfigurationError.js.map +1 -1
- package/lib/errors/model/ImplementationPendingError.d.ts +1 -1
- package/lib/errors/model/ImplementationPendingError.d.ts.map +1 -1
- package/lib/errors/model/ImplementationPendingError.js +4 -4
- package/lib/errors/model/ImplementationPendingError.js.map +1 -1
- package/lib/errors/model/ListItemNotFoundError.d.ts +1 -1
- package/lib/errors/model/ListItemNotFoundError.d.ts.map +1 -1
- package/lib/errors/model/ListItemNotFoundError.js +4 -4
- package/lib/errors/model/ListItemNotFoundError.js.map +1 -1
- package/lib/errors/model/LogicError.d.ts +1 -1
- package/lib/errors/model/LogicError.d.ts.map +1 -1
- package/lib/errors/model/LogicError.js +4 -4
- package/lib/errors/model/LogicError.js.map +1 -1
- package/lib/errors/model/OperationInterruptedError.d.ts +1 -1
- package/lib/errors/model/OperationInterruptedError.d.ts.map +1 -1
- package/lib/errors/model/OperationInterruptedError.js +4 -4
- package/lib/errors/model/OperationInterruptedError.js.map +1 -1
- package/lib/errors/model/RuntimeError.d.ts +16 -1
- package/lib/errors/model/RuntimeError.d.ts.map +1 -1
- package/lib/errors/model/RuntimeError.js +40 -1
- package/lib/errors/model/RuntimeError.js.map +1 -1
- package/lib/errors/model/TestCompromisedError.d.ts +1 -1
- package/lib/errors/model/TestCompromisedError.d.ts.map +1 -1
- package/lib/errors/model/TestCompromisedError.js +4 -4
- package/lib/errors/model/TestCompromisedError.js.map +1 -1
- package/lib/errors/model/TimeoutExpiredError.d.ts +1 -1
- package/lib/errors/model/TimeoutExpiredError.d.ts.map +1 -1
- package/lib/errors/model/TimeoutExpiredError.js +4 -4
- package/lib/errors/model/TimeoutExpiredError.js.map +1 -1
- package/lib/errors/model/UnknownError.d.ts +1 -1
- package/lib/errors/model/UnknownError.d.ts.map +1 -1
- package/lib/errors/model/UnknownError.js +4 -4
- package/lib/errors/model/UnknownError.js.map +1 -1
- package/lib/errors/model/index.d.ts +10 -10
- package/lib/errors/model/index.d.ts.map +1 -1
- package/lib/errors/model/index.js +10 -10
- package/lib/errors/model/index.js.map +1 -1
- package/lib/events/ActivityFinished.d.ts +3 -3
- package/lib/events/ActivityFinished.d.ts.map +1 -1
- package/lib/events/ActivityFinished.js +2 -2
- package/lib/events/ActivityFinished.js.map +1 -1
- package/lib/events/ActivityRelatedArtifactArchived.d.ts +5 -5
- package/lib/events/ActivityRelatedArtifactArchived.d.ts.map +1 -1
- package/lib/events/ActivityRelatedArtifactArchived.js +6 -6
- package/lib/events/ActivityRelatedArtifactArchived.js.map +1 -1
- package/lib/events/ActivityRelatedArtifactGenerated.d.ts +3 -3
- package/lib/events/ActivityRelatedArtifactGenerated.d.ts.map +1 -1
- package/lib/events/ActivityRelatedArtifactGenerated.js +5 -5
- package/lib/events/ActivityRelatedArtifactGenerated.js.map +1 -1
- package/lib/events/ActivityStarts.d.ts +3 -3
- package/lib/events/ActivityStarts.d.ts.map +1 -1
- package/lib/events/ActivityStarts.js +2 -2
- package/lib/events/ActivityStarts.js.map +1 -1
- package/lib/events/ArtifactArchived.d.ts +5 -5
- package/lib/events/ArtifactArchived.d.ts.map +1 -1
- package/lib/events/ArtifactArchived.js +6 -6
- package/lib/events/ArtifactArchived.js.map +1 -1
- package/lib/events/ArtifactGenerated.d.ts +3 -3
- package/lib/events/ArtifactGenerated.d.ts.map +1 -1
- package/lib/events/ArtifactGenerated.js +5 -5
- package/lib/events/ArtifactGenerated.js.map +1 -1
- package/lib/events/AsyncOperationAborted.d.ts +3 -3
- package/lib/events/AsyncOperationAborted.d.ts.map +1 -1
- package/lib/events/AsyncOperationAborted.js +5 -5
- package/lib/events/AsyncOperationAborted.js.map +1 -1
- package/lib/events/AsyncOperationAttempted.d.ts +3 -3
- package/lib/events/AsyncOperationAttempted.d.ts.map +1 -1
- package/lib/events/AsyncOperationAttempted.js +5 -5
- package/lib/events/AsyncOperationAttempted.js.map +1 -1
- package/lib/events/AsyncOperationCompleted.d.ts +3 -3
- package/lib/events/AsyncOperationCompleted.d.ts.map +1 -1
- package/lib/events/AsyncOperationCompleted.js +5 -5
- package/lib/events/AsyncOperationCompleted.js.map +1 -1
- package/lib/events/AsyncOperationFailed.d.ts +3 -3
- package/lib/events/AsyncOperationFailed.d.ts.map +1 -1
- package/lib/events/AsyncOperationFailed.js +7 -7
- package/lib/events/AsyncOperationFailed.js.map +1 -1
- package/lib/events/BusinessRuleDetected.d.ts +3 -3
- package/lib/events/BusinessRuleDetected.d.ts.map +1 -1
- package/lib/events/BusinessRuleDetected.js +5 -5
- package/lib/events/BusinessRuleDetected.js.map +1 -1
- package/lib/events/DomainEvent.d.ts +1 -1
- package/lib/events/DomainEvent.d.ts.map +1 -1
- package/lib/events/DomainEvent.js +2 -2
- package/lib/events/DomainEvent.js.map +1 -1
- package/lib/events/EmitsDomainEvents.d.ts +3 -3
- package/lib/events/EmitsDomainEvents.d.ts.map +1 -1
- package/lib/events/FeatureNarrativeDetected.d.ts +3 -3
- package/lib/events/FeatureNarrativeDetected.d.ts.map +1 -1
- package/lib/events/FeatureNarrativeDetected.js +5 -5
- package/lib/events/FeatureNarrativeDetected.js.map +1 -1
- package/lib/events/InteractionFinished.d.ts +1 -1
- package/lib/events/InteractionFinished.d.ts.map +1 -1
- package/lib/events/InteractionFinished.js +5 -5
- package/lib/events/InteractionFinished.js.map +1 -1
- package/lib/events/InteractionStarts.d.ts +1 -1
- package/lib/events/InteractionStarts.d.ts.map +1 -1
- package/lib/events/InteractionStarts.js +5 -5
- package/lib/events/InteractionStarts.js.map +1 -1
- package/lib/events/RetryableSceneDetected.d.ts +3 -3
- package/lib/events/RetryableSceneDetected.d.ts.map +1 -1
- package/lib/events/RetryableSceneDetected.js +5 -5
- package/lib/events/RetryableSceneDetected.js.map +1 -1
- package/lib/events/SceneBackgroundDetected.d.ts +3 -3
- package/lib/events/SceneBackgroundDetected.d.ts.map +1 -1
- package/lib/events/SceneBackgroundDetected.js +4 -4
- package/lib/events/SceneBackgroundDetected.js.map +1 -1
- package/lib/events/SceneDescriptionDetected.d.ts +3 -3
- package/lib/events/SceneDescriptionDetected.d.ts.map +1 -1
- package/lib/events/SceneDescriptionDetected.js +5 -5
- package/lib/events/SceneDescriptionDetected.js.map +1 -1
- package/lib/events/SceneFinished.d.ts +3 -3
- package/lib/events/SceneFinished.d.ts.map +1 -1
- package/lib/events/SceneFinished.js +5 -5
- package/lib/events/SceneFinished.js.map +1 -1
- package/lib/events/SceneFinishes.d.ts +3 -3
- package/lib/events/SceneFinishes.d.ts.map +1 -1
- package/lib/events/SceneFinishes.js +7 -7
- package/lib/events/SceneFinishes.js.map +1 -1
- package/lib/events/SceneParametersDetected.d.ts +3 -3
- package/lib/events/SceneParametersDetected.d.ts.map +1 -1
- package/lib/events/SceneParametersDetected.js +5 -5
- package/lib/events/SceneParametersDetected.js.map +1 -1
- package/lib/events/SceneSequenceDetected.d.ts +3 -3
- package/lib/events/SceneSequenceDetected.d.ts.map +1 -1
- package/lib/events/SceneSequenceDetected.js +5 -5
- package/lib/events/SceneSequenceDetected.js.map +1 -1
- package/lib/events/SceneStarts.d.ts +3 -3
- package/lib/events/SceneStarts.d.ts.map +1 -1
- package/lib/events/SceneStarts.js +5 -5
- package/lib/events/SceneStarts.js.map +1 -1
- package/lib/events/SceneTagged.d.ts +3 -3
- package/lib/events/SceneTagged.d.ts.map +1 -1
- package/lib/events/SceneTagged.js +5 -5
- package/lib/events/SceneTagged.js.map +1 -1
- package/lib/events/SceneTemplateDetected.d.ts +3 -3
- package/lib/events/SceneTemplateDetected.d.ts.map +1 -1
- package/lib/events/SceneTemplateDetected.js +5 -5
- package/lib/events/SceneTemplateDetected.js.map +1 -1
- package/lib/events/TaskFinished.d.ts +1 -1
- package/lib/events/TaskFinished.d.ts.map +1 -1
- package/lib/events/TaskFinished.js +5 -5
- package/lib/events/TaskFinished.js.map +1 -1
- package/lib/events/TaskStarts.d.ts +1 -1
- package/lib/events/TaskStarts.d.ts.map +1 -1
- package/lib/events/TaskStarts.js +5 -5
- package/lib/events/TaskStarts.js.map +1 -1
- package/lib/events/TestRunFinished.d.ts +3 -3
- package/lib/events/TestRunFinished.d.ts.map +1 -1
- package/lib/events/TestRunFinished.js +5 -5
- package/lib/events/TestRunFinished.js.map +1 -1
- package/lib/events/TestRunFinishes.d.ts +2 -2
- package/lib/events/TestRunFinishes.d.ts.map +1 -1
- package/lib/events/TestRunFinishes.js +4 -4
- package/lib/events/TestRunFinishes.js.map +1 -1
- package/lib/events/TestRunStarts.d.ts +2 -2
- package/lib/events/TestRunStarts.d.ts.map +1 -1
- package/lib/events/TestRunStarts.js +4 -4
- package/lib/events/TestRunStarts.js.map +1 -1
- package/lib/events/TestRunnerDetected.d.ts +3 -3
- package/lib/events/TestRunnerDetected.d.ts.map +1 -1
- package/lib/events/TestRunnerDetected.js +5 -5
- package/lib/events/TestRunnerDetected.js.map +1 -1
- package/lib/events/TestSuiteFinished.d.ts +3 -3
- package/lib/events/TestSuiteFinished.d.ts.map +1 -1
- package/lib/events/TestSuiteFinished.js +5 -5
- package/lib/events/TestSuiteFinished.js.map +1 -1
- package/lib/events/TestSuiteStarts.d.ts +3 -3
- package/lib/events/TestSuiteStarts.d.ts.map +1 -1
- package/lib/events/TestSuiteStarts.js +5 -5
- package/lib/events/TestSuiteStarts.js.map +1 -1
- package/lib/events/actor/ActorEntersStage.d.ts +3 -3
- package/lib/events/actor/ActorEntersStage.d.ts.map +1 -1
- package/lib/events/actor/ActorEntersStage.js +5 -5
- package/lib/events/actor/ActorEntersStage.js.map +1 -1
- package/lib/events/actor/ActorSpotlighted.d.ts +4 -4
- package/lib/events/actor/ActorSpotlighted.d.ts.map +1 -1
- package/lib/events/actor/ActorSpotlighted.js +5 -5
- package/lib/events/actor/ActorSpotlighted.js.map +1 -1
- package/lib/events/actor/ActorStageExitAttempted.d.ts +3 -3
- package/lib/events/actor/ActorStageExitAttempted.d.ts.map +1 -1
- package/lib/events/actor/ActorStageExitAttempted.js +6 -6
- package/lib/events/actor/ActorStageExitAttempted.js.map +1 -1
- package/lib/events/actor/ActorStageExitCompleted.d.ts +3 -3
- package/lib/events/actor/ActorStageExitCompleted.d.ts.map +1 -1
- package/lib/events/actor/ActorStageExitCompleted.js +5 -5
- package/lib/events/actor/ActorStageExitCompleted.js.map +1 -1
- package/lib/events/actor/ActorStageExitFailed.d.ts +1 -1
- package/lib/events/actor/ActorStageExitFailed.d.ts.map +1 -1
- package/lib/events/actor/ActorStageExitFailed.js +6 -6
- package/lib/events/actor/ActorStageExitFailed.js.map +1 -1
- package/lib/events/actor/ActorStageExitStarts.d.ts +3 -3
- package/lib/events/actor/ActorStageExitStarts.d.ts.map +1 -1
- package/lib/events/actor/ActorStageExitStarts.js +5 -5
- package/lib/events/actor/ActorStageExitStarts.js.map +1 -1
- package/lib/events/actor/index.d.ts +6 -6
- package/lib/events/actor/index.d.ts.map +1 -1
- package/lib/events/actor/index.js +6 -6
- package/lib/events/actor/index.js.map +1 -1
- package/lib/events/index.d.ts +35 -35
- package/lib/events/index.d.ts.map +1 -1
- package/lib/events/index.js +35 -35
- package/lib/events/index.js.map +1 -1
- package/lib/index.d.ts +7 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -10
- package/lib/index.js.map +1 -1
- package/lib/instance.d.ts +4 -4
- package/lib/instance.d.ts.map +1 -1
- package/lib/instance.js +14 -4
- package/lib/instance.js.map +1 -1
- package/lib/io/FileFinder.d.ts +1 -1
- package/lib/io/FileFinder.d.ts.map +1 -1
- package/lib/io/FileFinder.js +2 -2
- package/lib/io/FileFinder.js.map +1 -1
- package/lib/io/FileSystem.d.ts +1 -1
- package/lib/io/FileSystem.d.ts.map +1 -1
- package/lib/io/FileSystem.js +10 -7
- package/lib/io/FileSystem.js.map +1 -1
- package/lib/io/FileSystemLocation.d.ts +1 -1
- package/lib/io/FileSystemLocation.d.ts.map +1 -1
- package/lib/io/FileSystemLocation.js +2 -2
- package/lib/io/FileSystemLocation.js.map +1 -1
- package/lib/io/Path.d.ts.map +1 -1
- package/lib/io/Path.js +17 -48
- package/lib/io/Path.js.map +1 -1
- package/lib/io/RequirementsHierarchy.d.ts +3 -3
- package/lib/io/RequirementsHierarchy.d.ts.map +1 -1
- package/lib/io/RequirementsHierarchy.js +11 -11
- package/lib/io/RequirementsHierarchy.js.map +1 -1
- package/lib/io/format.d.ts +1 -1
- package/lib/io/format.d.ts.map +1 -1
- package/lib/io/format.js +2 -2
- package/lib/io/format.js.map +1 -1
- package/lib/io/index.d.ts +16 -15
- package/lib/io/index.d.ts.map +1 -1
- package/lib/io/index.js +16 -15
- package/lib/io/index.js.map +1 -1
- package/lib/io/inspectedObject.js +2 -2
- package/lib/io/inspectedObject.js.map +1 -1
- package/lib/io/loader/ClassDescriptionParser.d.ts +2 -2
- package/lib/io/loader/ClassDescriptionParser.d.ts.map +1 -1
- package/lib/io/loader/ClassDescriptionParser.js +7 -7
- package/lib/io/loader/ClassDescriptionParser.js.map +1 -1
- package/lib/io/loader/ClassLoader.d.ts +3 -3
- package/lib/io/loader/ClassLoader.d.ts.map +1 -1
- package/lib/io/loader/ClassLoader.js +10 -10
- package/lib/io/loader/ClassLoader.js.map +1 -1
- package/lib/io/loader/ModuleLoader.d.ts +2 -1
- package/lib/io/loader/ModuleLoader.d.ts.map +1 -1
- package/lib/io/loader/ModuleLoader.js +21 -6
- package/lib/io/loader/ModuleLoader.js.map +1 -1
- package/lib/io/loader/index.d.ts +4 -4
- package/lib/io/loader/index.d.ts.map +1 -1
- package/lib/io/loader/index.js +4 -4
- package/lib/io/loader/index.js.map +1 -1
- package/lib/io/reflection/index.d.ts +2 -2
- package/lib/io/reflection/index.d.ts.map +1 -1
- package/lib/io/reflection/index.js +2 -2
- package/lib/io/reflection/index.js.map +1 -1
- package/lib/io/stringified.d.ts +1 -1
- package/lib/io/stringified.d.ts.map +1 -1
- package/lib/io/stringified.js +9 -9
- package/lib/io/stringified.js.map +1 -1
- package/lib/model/ActivityDetails.d.ts +2 -2
- package/lib/model/ActivityDetails.d.ts.map +1 -1
- package/lib/model/ActivityDetails.js +3 -3
- package/lib/model/ActivityDetails.js.map +1 -1
- package/lib/model/Artifact.js +3 -3
- package/lib/model/Artifact.js.map +1 -1
- package/lib/model/BusinessRule.d.ts +2 -2
- package/lib/model/BusinessRule.d.ts.map +1 -1
- package/lib/model/BusinessRule.js +3 -3
- package/lib/model/BusinessRule.js.map +1 -1
- package/lib/model/CorrelationIdFactory.d.ts +1 -1
- package/lib/model/CorrelationIdFactory.d.ts.map +1 -1
- package/lib/model/ScenarioDetails.d.ts +3 -3
- package/lib/model/ScenarioDetails.d.ts.map +1 -1
- package/lib/model/ScenarioDetails.js +4 -4
- package/lib/model/ScenarioDetails.js.map +1 -1
- package/lib/model/ScenarioParameters.d.ts +2 -2
- package/lib/model/ScenarioParameters.d.ts.map +1 -1
- package/lib/model/ScenarioParameters.js +3 -3
- package/lib/model/ScenarioParameters.js.map +1 -1
- package/lib/model/TestSuiteDetails.d.ts +3 -3
- package/lib/model/TestSuiteDetails.d.ts.map +1 -1
- package/lib/model/TestSuiteDetails.js +5 -5
- package/lib/model/TestSuiteDetails.js.map +1 -1
- package/lib/model/artifacts/HTTPRequestResponse.d.ts +1 -1
- package/lib/model/artifacts/HTTPRequestResponse.d.ts.map +1 -1
- package/lib/model/artifacts/HTTPRequestResponse.js +2 -2
- package/lib/model/artifacts/HTTPRequestResponse.js.map +1 -1
- package/lib/model/artifacts/JSONData.d.ts +1 -1
- package/lib/model/artifacts/JSONData.d.ts.map +1 -1
- package/lib/model/artifacts/JSONData.js +2 -2
- package/lib/model/artifacts/JSONData.js.map +1 -1
- package/lib/model/artifacts/LogEntry.d.ts +1 -1
- package/lib/model/artifacts/LogEntry.d.ts.map +1 -1
- package/lib/model/artifacts/LogEntry.js +2 -2
- package/lib/model/artifacts/LogEntry.js.map +1 -1
- package/lib/model/artifacts/Photo.d.ts +1 -1
- package/lib/model/artifacts/Photo.d.ts.map +1 -1
- package/lib/model/artifacts/Photo.js +2 -2
- package/lib/model/artifacts/Photo.js.map +1 -1
- package/lib/model/artifacts/TestReport.d.ts +1 -1
- package/lib/model/artifacts/TestReport.d.ts.map +1 -1
- package/lib/model/artifacts/TestReport.js +2 -2
- package/lib/model/artifacts/TestReport.js.map +1 -1
- package/lib/model/artifacts/TextData.d.ts +1 -1
- package/lib/model/artifacts/TextData.d.ts.map +1 -1
- package/lib/model/artifacts/TextData.js +2 -2
- package/lib/model/artifacts/TextData.js.map +1 -1
- package/lib/model/artifacts/index.d.ts +6 -6
- package/lib/model/artifacts/index.d.ts.map +1 -1
- package/lib/model/artifacts/index.js +6 -6
- package/lib/model/artifacts/index.js.map +1 -1
- package/lib/model/index.d.ts +14 -14
- package/lib/model/index.d.ts.map +1 -1
- package/lib/model/index.js +14 -14
- package/lib/model/index.js.map +1 -1
- package/lib/model/outcomes.d.ts +16 -1
- package/lib/model/outcomes.d.ts.map +1 -1
- package/lib/model/outcomes.js +48 -9
- package/lib/model/outcomes.js.map +1 -1
- package/lib/model/tags/ArbitraryTag.d.ts +1 -1
- package/lib/model/tags/ArbitraryTag.d.ts.map +1 -1
- package/lib/model/tags/ArbitraryTag.js +2 -2
- package/lib/model/tags/ArbitraryTag.js.map +1 -1
- package/lib/model/tags/BrowserTag.d.ts +1 -1
- package/lib/model/tags/BrowserTag.d.ts.map +1 -1
- package/lib/model/tags/BrowserTag.js +2 -2
- package/lib/model/tags/BrowserTag.js.map +1 -1
- package/lib/model/tags/CapabilityTag.d.ts +1 -1
- package/lib/model/tags/CapabilityTag.d.ts.map +1 -1
- package/lib/model/tags/CapabilityTag.js +2 -2
- package/lib/model/tags/CapabilityTag.js.map +1 -1
- package/lib/model/tags/ExecutionRetriedTag.d.ts +1 -1
- package/lib/model/tags/ExecutionRetriedTag.d.ts.map +1 -1
- package/lib/model/tags/ExecutionRetriedTag.js +2 -2
- package/lib/model/tags/ExecutionRetriedTag.js.map +1 -1
- package/lib/model/tags/FeatureTag.d.ts +1 -1
- package/lib/model/tags/FeatureTag.d.ts.map +1 -1
- package/lib/model/tags/FeatureTag.js +2 -2
- package/lib/model/tags/FeatureTag.js.map +1 -1
- package/lib/model/tags/IssueTag.d.ts +1 -1
- package/lib/model/tags/IssueTag.d.ts.map +1 -1
- package/lib/model/tags/IssueTag.js +2 -2
- package/lib/model/tags/IssueTag.js.map +1 -1
- package/lib/model/tags/ManualTag.d.ts +1 -1
- package/lib/model/tags/ManualTag.d.ts.map +1 -1
- package/lib/model/tags/ManualTag.js +2 -2
- package/lib/model/tags/ManualTag.js.map +1 -1
- package/lib/model/tags/PlatformTag.d.ts +1 -1
- package/lib/model/tags/PlatformTag.d.ts.map +1 -1
- package/lib/model/tags/PlatformTag.js +2 -2
- package/lib/model/tags/PlatformTag.js.map +1 -1
- package/lib/model/tags/ProjectTag.d.ts +1 -1
- package/lib/model/tags/ProjectTag.d.ts.map +1 -1
- package/lib/model/tags/ProjectTag.js +2 -2
- package/lib/model/tags/ProjectTag.js.map +1 -1
- package/lib/model/tags/Tags.d.ts +1 -1
- package/lib/model/tags/Tags.d.ts.map +1 -1
- package/lib/model/tags/Tags.js +24 -24
- package/lib/model/tags/Tags.js.map +1 -1
- package/lib/model/tags/ThemeTag.d.ts +1 -1
- package/lib/model/tags/ThemeTag.d.ts.map +1 -1
- package/lib/model/tags/ThemeTag.js +2 -2
- package/lib/model/tags/ThemeTag.js.map +1 -1
- package/lib/model/tags/index.d.ts +12 -12
- package/lib/model/tags/index.d.ts.map +1 -1
- package/lib/model/tags/index.js +12 -12
- package/lib/model/tags/index.js.map +1 -1
- package/lib/package.json +1 -0
- package/lib/screenplay/Activity.d.ts +6 -6
- package/lib/screenplay/Activity.d.ts.map +1 -1
- package/lib/screenplay/Activity.js +6 -6
- package/lib/screenplay/Activity.js.map +1 -1
- package/lib/screenplay/Actor.d.ts +17 -12
- package/lib/screenplay/Actor.d.ts.map +1 -1
- package/lib/screenplay/Actor.js +22 -17
- package/lib/screenplay/Actor.js.map +1 -1
- package/lib/screenplay/Answerable.d.ts +1 -1
- package/lib/screenplay/Answerable.d.ts.map +1 -1
- package/lib/screenplay/Answered.d.ts +1 -1
- package/lib/screenplay/Answered.d.ts.map +1 -1
- package/lib/screenplay/Interaction.d.ts +5 -5
- package/lib/screenplay/Interaction.d.ts.map +1 -1
- package/lib/screenplay/Interaction.js +2 -2
- package/lib/screenplay/Interaction.js.map +1 -1
- package/lib/screenplay/Optional.d.ts +1 -1
- package/lib/screenplay/Optional.d.ts.map +1 -1
- package/lib/screenplay/Question.d.ts +41 -13
- package/lib/screenplay/Question.d.ts.map +1 -1
- package/lib/screenplay/Question.js +58 -29
- package/lib/screenplay/Question.js.map +1 -1
- package/lib/screenplay/RecursivelyAnswered.d.ts +1 -1
- package/lib/screenplay/RecursivelyAnswered.d.ts.map +1 -1
- package/lib/screenplay/SerialisedActor.d.ts +1 -1
- package/lib/screenplay/SerialisedActor.d.ts.map +1 -1
- package/lib/screenplay/Task.d.ts +5 -5
- package/lib/screenplay/Task.d.ts.map +1 -1
- package/lib/screenplay/Task.js +6 -6
- package/lib/screenplay/Task.js.map +1 -1
- package/lib/screenplay/WithAnswerableProperties.d.ts +2 -2
- package/lib/screenplay/WithAnswerableProperties.d.ts.map +1 -1
- package/lib/screenplay/abilities/Ability.d.ts +26 -3
- package/lib/screenplay/abilities/Ability.d.ts.map +1 -1
- package/lib/screenplay/abilities/Ability.js +52 -1
- package/lib/screenplay/abilities/Ability.js.map +1 -1
- package/lib/screenplay/abilities/AbilityType.d.ts +2 -2
- package/lib/screenplay/abilities/AbilityType.d.ts.map +1 -1
- package/lib/screenplay/abilities/AnswerQuestions.d.ts +4 -4
- package/lib/screenplay/abilities/AnswerQuestions.d.ts.map +1 -1
- package/lib/screenplay/abilities/AnswerQuestions.js +6 -6
- package/lib/screenplay/abilities/AnswerQuestions.js.map +1 -1
- package/lib/screenplay/abilities/CanHaveAbilities.d.ts +2 -2
- package/lib/screenplay/abilities/CanHaveAbilities.d.ts.map +1 -1
- package/lib/screenplay/abilities/PerformActivities.d.ts +7 -7
- package/lib/screenplay/abilities/PerformActivities.d.ts.map +1 -1
- package/lib/screenplay/abilities/PerformActivities.js +21 -21
- package/lib/screenplay/abilities/PerformActivities.js.map +1 -1
- package/lib/screenplay/abilities/UsesAbilities.d.ts +2 -2
- package/lib/screenplay/abilities/UsesAbilities.d.ts.map +1 -1
- package/lib/screenplay/abilities/index.d.ts +9 -9
- package/lib/screenplay/abilities/index.d.ts.map +1 -1
- package/lib/screenplay/abilities/index.js +9 -9
- package/lib/screenplay/abilities/index.js.map +1 -1
- package/lib/screenplay/activities/PerformsActivities.d.ts +1 -1
- package/lib/screenplay/activities/PerformsActivities.d.ts.map +1 -1
- package/lib/screenplay/activities/index.d.ts +1 -1
- package/lib/screenplay/activities/index.d.ts.map +1 -1
- package/lib/screenplay/activities/index.js +1 -1
- package/lib/screenplay/activities/index.js.map +1 -1
- package/lib/screenplay/artifacts/CollectsArtifacts.d.ts +4 -4
- package/lib/screenplay/artifacts/CollectsArtifacts.d.ts.map +1 -1
- package/lib/screenplay/artifacts/index.d.ts +1 -1
- package/lib/screenplay/artifacts/index.d.ts.map +1 -1
- package/lib/screenplay/artifacts/index.js +1 -1
- package/lib/screenplay/artifacts/index.js.map +1 -1
- package/lib/screenplay/debugging/Debug.d.ts +7 -7
- package/lib/screenplay/debugging/Debug.d.ts.map +1 -1
- package/lib/screenplay/debugging/Debug.js +11 -11
- package/lib/screenplay/debugging/Debug.js.map +1 -1
- package/lib/screenplay/debugging/Log.d.ts +5 -5
- package/lib/screenplay/debugging/Log.d.ts.map +1 -1
- package/lib/screenplay/debugging/Log.js +7 -7
- package/lib/screenplay/debugging/Log.js.map +1 -1
- package/lib/screenplay/debugging/index.d.ts +3 -3
- package/lib/screenplay/debugging/index.d.ts.map +1 -1
- package/lib/screenplay/debugging/index.js +3 -3
- package/lib/screenplay/debugging/index.js.map +1 -1
- package/lib/screenplay/index.d.ts +18 -18
- package/lib/screenplay/index.d.ts.map +1 -1
- package/lib/screenplay/index.js +18 -18
- package/lib/screenplay/index.js.map +1 -1
- package/lib/screenplay/notes/ChainableSetter.d.ts +2 -2
- package/lib/screenplay/notes/ChainableSetter.d.ts.map +1 -1
- package/lib/screenplay/notes/Notepad.d.ts +1 -1
- package/lib/screenplay/notes/Notepad.d.ts.map +1 -1
- package/lib/screenplay/notes/Notepad.js +5 -5
- package/lib/screenplay/notes/Notepad.js.map +1 -1
- package/lib/screenplay/notes/NotepadAdapter.d.ts +4 -4
- package/lib/screenplay/notes/NotepadAdapter.d.ts.map +1 -1
- package/lib/screenplay/notes/NotepadAdapter.js +25 -25
- package/lib/screenplay/notes/NotepadAdapter.js.map +1 -1
- package/lib/screenplay/notes/TakeNotes.d.ts +2 -2
- package/lib/screenplay/notes/TakeNotes.d.ts.map +1 -1
- package/lib/screenplay/notes/TakeNotes.js +4 -4
- package/lib/screenplay/notes/TakeNotes.js.map +1 -1
- package/lib/screenplay/notes/index.d.ts +5 -5
- package/lib/screenplay/notes/index.d.ts.map +1 -1
- package/lib/screenplay/notes/index.js +5 -5
- package/lib/screenplay/notes/index.js.map +1 -1
- package/lib/screenplay/notes/notes.d.ts +1 -1
- package/lib/screenplay/notes/notes.d.ts.map +1 -1
- package/lib/screenplay/notes/notes.js +2 -2
- package/lib/screenplay/notes/notes.js.map +1 -1
- package/lib/screenplay/questions/AnswersQuestions.d.ts +1 -1
- package/lib/screenplay/questions/AnswersQuestions.d.ts.map +1 -1
- package/lib/screenplay/questions/ChainableMetaQuestion.d.ts +3 -3
- package/lib/screenplay/questions/ChainableMetaQuestion.d.ts.map +1 -1
- package/lib/screenplay/questions/Check.d.ts +6 -6
- package/lib/screenplay/questions/Check.d.ts.map +1 -1
- package/lib/screenplay/questions/Check.js +6 -6
- package/lib/screenplay/questions/Check.js.map +1 -1
- package/lib/screenplay/questions/Describable.d.ts +3 -3
- package/lib/screenplay/questions/Describable.d.ts.map +1 -1
- package/lib/screenplay/questions/Describable.js +2 -2
- package/lib/screenplay/questions/Describable.js.map +1 -1
- package/lib/screenplay/questions/Expectation.d.ts +3 -3
- package/lib/screenplay/questions/Expectation.d.ts.map +1 -1
- package/lib/screenplay/questions/Expectation.js +16 -16
- package/lib/screenplay/questions/Expectation.js.map +1 -1
- package/lib/screenplay/questions/List.d.ts +8 -8
- package/lib/screenplay/questions/List.d.ts.map +1 -1
- package/lib/screenplay/questions/List.js +31 -31
- package/lib/screenplay/questions/List.js.map +1 -1
- package/lib/screenplay/questions/Masked.d.ts +2 -2
- package/lib/screenplay/questions/Masked.d.ts.map +1 -1
- package/lib/screenplay/questions/Masked.js +2 -2
- package/lib/screenplay/questions/Masked.js.map +1 -1
- package/lib/screenplay/questions/MetaQuestion.d.ts +2 -2
- package/lib/screenplay/questions/MetaQuestion.d.ts.map +1 -1
- package/lib/screenplay/questions/Numeric.d.ts +14 -14
- package/lib/screenplay/questions/Numeric.d.ts.map +1 -1
- package/lib/screenplay/questions/Numeric.js +24 -24
- package/lib/screenplay/questions/Numeric.js.map +1 -1
- package/lib/screenplay/questions/Unanswered.d.ts +1 -0
- package/lib/screenplay/questions/Unanswered.d.ts.map +1 -1
- package/lib/screenplay/questions/Unanswered.js +3 -0
- package/lib/screenplay/questions/Unanswered.js.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts +2 -2
- package/lib/screenplay/questions/expectations/ExpectationDetails.d.ts.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationDetails.js +9 -9
- package/lib/screenplay/questions/expectations/ExpectationDetails.js.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationMet.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationMet.d.ts.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationMet.js +2 -2
- package/lib/screenplay/questions/expectations/ExpectationMet.js.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationNotMet.d.ts.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationNotMet.js +2 -2
- package/lib/screenplay/questions/expectations/ExpectationNotMet.js.map +1 -1
- package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts +1 -1
- package/lib/screenplay/questions/expectations/ExpectationOutcome.d.ts.map +1 -1
- package/lib/screenplay/questions/expectations/index.d.ts +4 -4
- package/lib/screenplay/questions/expectations/index.d.ts.map +1 -1
- package/lib/screenplay/questions/expectations/index.js +4 -4
- package/lib/screenplay/questions/expectations/index.js.map +1 -1
- package/lib/screenplay/questions/index.d.ts +13 -13
- package/lib/screenplay/questions/index.d.ts.map +1 -1
- package/lib/screenplay/questions/index.js +13 -13
- package/lib/screenplay/questions/index.js.map +1 -1
- package/lib/screenplay/questions/tag-functions.d.ts +4 -4
- package/lib/screenplay/questions/tag-functions.d.ts.map +1 -1
- package/lib/screenplay/questions/tag-functions.js +10 -10
- package/lib/screenplay/questions/tag-functions.js.map +1 -1
- package/lib/screenplay/time/TellsTime.d.ts +1 -1
- package/lib/screenplay/time/TellsTime.d.ts.map +1 -1
- package/lib/screenplay/time/abilities/ScheduleWork.d.ts +3 -3
- package/lib/screenplay/time/abilities/ScheduleWork.d.ts.map +1 -1
- package/lib/screenplay/time/abilities/ScheduleWork.js +4 -4
- package/lib/screenplay/time/abilities/ScheduleWork.js.map +1 -1
- package/lib/screenplay/time/abilities/index.d.ts +1 -1
- package/lib/screenplay/time/abilities/index.d.ts.map +1 -1
- package/lib/screenplay/time/abilities/index.js +1 -1
- package/lib/screenplay/time/abilities/index.js.map +1 -1
- package/lib/screenplay/time/activities/Wait.d.ts +5 -5
- package/lib/screenplay/time/activities/Wait.d.ts.map +1 -1
- package/lib/screenplay/time/activities/Wait.js +22 -22
- package/lib/screenplay/time/activities/Wait.js.map +1 -1
- package/lib/screenplay/time/activities/index.d.ts +1 -1
- package/lib/screenplay/time/activities/index.d.ts.map +1 -1
- package/lib/screenplay/time/activities/index.js +1 -1
- package/lib/screenplay/time/activities/index.js.map +1 -1
- package/lib/screenplay/time/index.d.ts +4 -4
- package/lib/screenplay/time/index.d.ts.map +1 -1
- package/lib/screenplay/time/index.js +4 -4
- package/lib/screenplay/time/index.js.map +1 -1
- package/lib/screenplay/time/models/Clock.d.ts +2 -2
- package/lib/screenplay/time/models/Clock.d.ts.map +1 -1
- package/lib/screenplay/time/models/Clock.js +5 -5
- package/lib/screenplay/time/models/Clock.js.map +1 -1
- package/lib/screenplay/time/models/DelayedCallback.d.ts +1 -1
- package/lib/screenplay/time/models/DelayedCallback.d.ts.map +1 -1
- package/lib/screenplay/time/models/RepeatUntilLimits.d.ts +1 -1
- package/lib/screenplay/time/models/RepeatUntilLimits.d.ts.map +1 -1
- package/lib/screenplay/time/models/Scheduler.d.ts +4 -4
- package/lib/screenplay/time/models/Scheduler.d.ts.map +1 -1
- package/lib/screenplay/time/models/Scheduler.js +5 -5
- package/lib/screenplay/time/models/Scheduler.js.map +1 -1
- package/lib/screenplay/time/models/Timestamp.d.ts +1 -1
- package/lib/screenplay/time/models/Timestamp.d.ts.map +1 -1
- package/lib/screenplay/time/models/Timestamp.js +2 -2
- package/lib/screenplay/time/models/Timestamp.js.map +1 -1
- package/lib/screenplay/time/models/index.d.ts +6 -6
- package/lib/screenplay/time/models/index.d.ts.map +1 -1
- package/lib/screenplay/time/models/index.js +6 -6
- package/lib/screenplay/time/models/index.js.map +1 -1
- package/lib/stage/Cast.d.ts +1 -1
- package/lib/stage/Cast.d.ts.map +1 -1
- package/lib/stage/Extras.d.ts +2 -2
- package/lib/stage/Extras.d.ts.map +1 -1
- package/lib/stage/ListensToDomainEvents.d.ts +1 -1
- package/lib/stage/ListensToDomainEvents.d.ts.map +1 -1
- package/lib/stage/Stage.d.ts +8 -8
- package/lib/stage/Stage.d.ts.map +1 -1
- package/lib/stage/Stage.js +27 -27
- package/lib/stage/Stage.js.map +1 -1
- package/lib/stage/StageCrewMember.d.ts +4 -4
- package/lib/stage/StageCrewMember.d.ts.map +1 -1
- package/lib/stage/StageCrewMemberBuilder.d.ts +2 -2
- package/lib/stage/StageCrewMemberBuilder.d.ts.map +1 -1
- package/lib/stage/StageCrewMemberBuilderDependencies.d.ts +3 -3
- package/lib/stage/StageCrewMemberBuilderDependencies.d.ts.map +1 -1
- package/lib/stage/StageManager.d.ts +3 -3
- package/lib/stage/StageManager.d.ts.map +1 -1
- package/lib/stage/StageManager.js +4 -4
- package/lib/stage/StageManager.js.map +1 -1
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts +4 -4
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.d.ts.map +1 -1
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js +20 -20
- package/lib/stage/crew/artifact-archiver/ArtifactArchiver.js.map +1 -1
- package/lib/stage/crew/artifact-archiver/index.d.ts +1 -1
- package/lib/stage/crew/artifact-archiver/index.d.ts.map +1 -1
- package/lib/stage/crew/artifact-archiver/index.js +1 -1
- package/lib/stage/crew/artifact-archiver/index.js.map +1 -1
- package/lib/stage/crew/index.d.ts +2 -2
- package/lib/stage/crew/index.d.ts.map +1 -1
- package/lib/stage/crew/index.js +2 -2
- package/lib/stage/crew/index.js.map +1 -1
- package/lib/stage/crew/stream-reporter/StreamReporter.d.ts +3 -3
- package/lib/stage/crew/stream-reporter/StreamReporter.d.ts.map +1 -1
- package/lib/stage/crew/stream-reporter/StreamReporter.js +3 -3
- package/lib/stage/crew/stream-reporter/StreamReporter.js.map +1 -1
- package/lib/stage/crew/stream-reporter/index.d.ts +1 -1
- package/lib/stage/crew/stream-reporter/index.d.ts.map +1 -1
- package/lib/stage/crew/stream-reporter/index.js +1 -1
- package/lib/stage/crew/stream-reporter/index.js.map +1 -1
- package/lib/stage/index.d.ts +10 -9
- package/lib/stage/index.d.ts.map +1 -1
- package/lib/stage/index.js +10 -9
- package/lib/stage/index.js.map +1 -1
- package/lib/stage/queues/DomainEventQueue.d.ts +2 -2
- package/lib/stage/queues/DomainEventQueue.d.ts.map +1 -1
- package/lib/stage/queues/DomainEventQueues.d.ts +3 -3
- package/lib/stage/queues/DomainEventQueues.d.ts.map +1 -1
- package/lib/stage/queues/DomainEventQueues.js +9 -9
- package/lib/stage/queues/DomainEventQueues.js.map +1 -1
- package/lib/stage/queues/index.d.ts +2 -2
- package/lib/stage/queues/index.d.ts.map +1 -1
- package/lib/stage/queues/index.js +2 -2
- package/lib/stage/queues/index.js.map +1 -1
- package/package.json +280 -9
- package/src/Serenity.ts +14 -14
- package/src/adapter/TestRunnerAdapter.ts +1 -1
- package/src/adapter/index.ts +2 -2
- package/src/config/SerenityConfig.ts +5 -5
- package/src/config/index.ts +2 -2
- package/src/errors/ErrorFactory.ts +8 -8
- package/src/errors/ErrorOptions.ts +2 -2
- package/src/errors/ErrorStackParser.ts +3 -2
- package/src/errors/RaiseErrors.ts +4 -4
- package/src/errors/diff/AnsiDiffFormatter.ts +4 -2
- package/src/errors/diff/NoOpDiffFormatter.ts +1 -1
- package/src/errors/diff/index.ts +3 -3
- package/src/errors/index.ts +9 -9
- package/src/errors/model/AssertionError.ts +2 -2
- package/src/errors/model/ConfigurationError.ts +2 -2
- package/src/errors/model/ImplementationPendingError.ts +2 -2
- package/src/errors/model/ListItemNotFoundError.ts +2 -2
- package/src/errors/model/LogicError.ts +2 -2
- package/src/errors/model/OperationInterruptedError.ts +2 -2
- package/src/errors/model/RuntimeError.ts +47 -1
- package/src/errors/model/TestCompromisedError.ts +2 -2
- package/src/errors/model/TimeoutExpiredError.ts +2 -2
- package/src/errors/model/UnknownError.ts +2 -2
- package/src/errors/model/index.ts +10 -10
- package/src/events/ActivityFinished.ts +3 -3
- package/src/events/ActivityRelatedArtifactArchived.ts +5 -5
- package/src/events/ActivityRelatedArtifactGenerated.ts +4 -4
- package/src/events/ActivityStarts.ts +3 -3
- package/src/events/ArtifactArchived.ts +5 -5
- package/src/events/ArtifactGenerated.ts +4 -4
- package/src/events/AsyncOperationAborted.ts +3 -3
- package/src/events/AsyncOperationAttempted.ts +3 -3
- package/src/events/AsyncOperationCompleted.ts +3 -3
- package/src/events/AsyncOperationFailed.ts +4 -4
- package/src/events/BusinessRuleDetected.ts +3 -3
- package/src/events/DomainEvent.ts +1 -1
- package/src/events/EmitsDomainEvents.ts +3 -3
- package/src/events/FeatureNarrativeDetected.ts +3 -3
- package/src/events/InteractionFinished.ts +4 -4
- package/src/events/InteractionStarts.ts +3 -3
- package/src/events/RetryableSceneDetected.ts +3 -3
- package/src/events/SceneBackgroundDetected.ts +3 -3
- package/src/events/SceneDescriptionDetected.ts +3 -3
- package/src/events/SceneFinished.ts +4 -4
- package/src/events/SceneFinishes.ts +4 -4
- package/src/events/SceneParametersDetected.ts +3 -3
- package/src/events/SceneSequenceDetected.ts +3 -3
- package/src/events/SceneStarts.ts +3 -3
- package/src/events/SceneTagged.ts +3 -3
- package/src/events/SceneTemplateDetected.ts +3 -3
- package/src/events/TaskFinished.ts +4 -4
- package/src/events/TaskStarts.ts +3 -3
- package/src/events/TestRunFinished.ts +4 -4
- package/src/events/TestRunFinishes.ts +2 -2
- package/src/events/TestRunStarts.ts +2 -2
- package/src/events/TestRunnerDetected.ts +3 -3
- package/src/events/TestSuiteFinished.ts +4 -4
- package/src/events/TestSuiteStarts.ts +3 -3
- package/src/events/actor/ActorEntersStage.ts +3 -3
- package/src/events/actor/ActorSpotlighted.ts +4 -4
- package/src/events/actor/ActorStageExitAttempted.ts +3 -3
- package/src/events/actor/ActorStageExitCompleted.ts +3 -3
- package/src/events/actor/ActorStageExitFailed.ts +4 -4
- package/src/events/actor/ActorStageExitStarts.ts +3 -3
- package/src/events/actor/index.ts +6 -6
- package/src/events/index.ts +35 -35
- package/src/index.ts +7 -7
- package/src/instance.ts +20 -7
- package/src/io/FileFinder.ts +1 -1
- package/src/io/FileSystem.ts +2 -2
- package/src/io/FileSystemLocation.ts +1 -1
- package/src/io/Path.ts +4 -1
- package/src/io/RequirementsHierarchy.ts +4 -4
- package/src/io/format.ts +2 -2
- package/src/io/index.ts +16 -15
- package/src/io/inspectedObject.ts +1 -1
- package/src/io/loader/ClassDescriptionParser.ts +4 -4
- package/src/io/loader/ClassLoader.ts +5 -5
- package/src/io/loader/ModuleLoader.ts +23 -6
- package/src/io/loader/index.ts +4 -4
- package/src/io/reflection/index.ts +2 -2
- package/src/io/stringified.ts +3 -3
- package/src/model/ActivityDetails.ts +2 -2
- package/src/model/Artifact.ts +2 -2
- package/src/model/BusinessRule.ts +2 -2
- package/src/model/CorrelationIdFactory.ts +1 -1
- package/src/model/ScenarioDetails.ts +3 -3
- package/src/model/ScenarioParameters.ts +2 -2
- package/src/model/TestSuiteDetails.ts +3 -3
- package/src/model/artifacts/HTTPRequestResponse.ts +1 -1
- package/src/model/artifacts/JSONData.ts +1 -1
- package/src/model/artifacts/LogEntry.ts +1 -1
- package/src/model/artifacts/Photo.ts +1 -1
- package/src/model/artifacts/TestReport.ts +1 -1
- package/src/model/artifacts/TextData.ts +1 -1
- package/src/model/artifacts/index.ts +6 -6
- package/src/model/index.ts +14 -14
- package/src/model/outcomes.ts +48 -2
- package/src/model/tags/ArbitraryTag.ts +1 -1
- package/src/model/tags/BrowserTag.ts +1 -1
- package/src/model/tags/CapabilityTag.ts +1 -1
- package/src/model/tags/ExecutionRetriedTag.ts +1 -1
- package/src/model/tags/FeatureTag.ts +1 -1
- package/src/model/tags/IssueTag.ts +1 -1
- package/src/model/tags/ManualTag.ts +1 -1
- package/src/model/tags/PlatformTag.ts +1 -1
- package/src/model/tags/ProjectTag.ts +1 -1
- package/src/model/tags/Tags.ts +11 -11
- package/src/model/tags/ThemeTag.ts +1 -1
- package/src/model/tags/index.ts +12 -12
- package/src/screenplay/Activity.ts +7 -7
- package/src/screenplay/Actor.ts +25 -20
- package/src/screenplay/Answerable.ts +1 -1
- package/src/screenplay/Answered.ts +1 -1
- package/src/screenplay/Interaction.ts +5 -5
- package/src/screenplay/Optional.ts +1 -1
- package/src/screenplay/Question.ts +48 -19
- package/src/screenplay/RecursivelyAnswered.ts +1 -1
- package/src/screenplay/SerialisedActor.ts +1 -1
- package/src/screenplay/Task.ts +6 -6
- package/src/screenplay/WithAnswerableProperties.ts +2 -2
- package/src/screenplay/abilities/Ability.ts +64 -5
- package/src/screenplay/abilities/AbilityType.ts +2 -2
- package/src/screenplay/abilities/AnswerQuestions.ts +6 -6
- package/src/screenplay/abilities/CanHaveAbilities.ts +2 -2
- package/src/screenplay/abilities/PerformActivities.ts +12 -12
- package/src/screenplay/abilities/UsesAbilities.ts +2 -2
- package/src/screenplay/abilities/index.ts +9 -9
- package/src/screenplay/activities/PerformsActivities.ts +1 -1
- package/src/screenplay/activities/index.ts +1 -1
- package/src/screenplay/artifacts/CollectsArtifacts.ts +4 -4
- package/src/screenplay/artifacts/index.ts +1 -1
- package/src/screenplay/debugging/Debug.ts +11 -11
- package/src/screenplay/debugging/Log.ts +8 -8
- package/src/screenplay/debugging/index.ts +3 -3
- package/src/screenplay/index.ts +18 -18
- package/src/screenplay/notes/ChainableSetter.ts +2 -2
- package/src/screenplay/notes/Notepad.ts +3 -3
- package/src/screenplay/notes/NotepadAdapter.ts +10 -10
- package/src/screenplay/notes/TakeNotes.ts +2 -2
- package/src/screenplay/notes/index.ts +5 -5
- package/src/screenplay/notes/notes.ts +2 -2
- package/src/screenplay/questions/AnswersQuestions.ts +1 -1
- package/src/screenplay/questions/ChainableMetaQuestion.ts +3 -3
- package/src/screenplay/questions/Check.ts +8 -8
- package/src/screenplay/questions/Describable.ts +4 -4
- package/src/screenplay/questions/Expectation.ts +7 -7
- package/src/screenplay/questions/List.ts +11 -11
- package/src/screenplay/questions/Masked.ts +2 -2
- package/src/screenplay/questions/MetaQuestion.ts +2 -2
- package/src/screenplay/questions/Numeric.ts +18 -18
- package/src/screenplay/questions/Unanswered.ts +5 -0
- package/src/screenplay/questions/expectations/ExpectationDetails.ts +3 -3
- package/src/screenplay/questions/expectations/ExpectationMet.ts +1 -1
- package/src/screenplay/questions/expectations/ExpectationNotMet.ts +1 -1
- package/src/screenplay/questions/expectations/ExpectationOutcome.ts +1 -1
- package/src/screenplay/questions/expectations/index.ts +4 -4
- package/src/screenplay/questions/index.ts +13 -13
- package/src/screenplay/questions/tag-functions.ts +9 -9
- package/src/screenplay/time/TellsTime.ts +1 -1
- package/src/screenplay/time/abilities/ScheduleWork.ts +4 -4
- package/src/screenplay/time/abilities/index.ts +1 -1
- package/src/screenplay/time/activities/Wait.ts +10 -10
- package/src/screenplay/time/activities/index.ts +1 -1
- package/src/screenplay/time/index.ts +4 -4
- package/src/screenplay/time/models/Clock.ts +2 -2
- package/src/screenplay/time/models/DelayedCallback.ts +1 -1
- package/src/screenplay/time/models/RepeatUntilLimits.ts +1 -1
- package/src/screenplay/time/models/Scheduler.ts +6 -6
- package/src/screenplay/time/models/Timestamp.ts +1 -1
- package/src/screenplay/time/models/index.ts +6 -6
- package/src/stage/Cast.ts +1 -1
- package/src/stage/Extras.ts +2 -2
- package/src/stage/ListensToDomainEvents.ts +1 -1
- package/src/stage/Stage.ts +8 -8
- package/src/stage/StageCrewMember.ts +4 -4
- package/src/stage/StageCrewMemberBuilder.ts +2 -2
- package/src/stage/StageCrewMemberBuilderDependencies.ts +3 -3
- package/src/stage/StageManager.ts +5 -5
- package/src/stage/crew/artifact-archiver/ArtifactArchiver.ts +8 -8
- package/src/stage/crew/artifact-archiver/index.ts +1 -1
- package/src/stage/crew/index.ts +2 -2
- package/src/stage/crew/stream-reporter/StreamReporter.ts +4 -4
- package/src/stage/crew/stream-reporter/index.ts +1 -1
- package/src/stage/index.ts +10 -9
- package/src/stage/queues/DomainEventQueue.ts +2 -2
- package/src/stage/queues/DomainEventQueues.ts +6 -6
- package/src/stage/queues/index.ts +2 -2
- package/tsconfig-cjs.build.json +17 -0
- package/tsconfig-esm.build.json +18 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ensure, isDefined, isString, match } from 'tiny-types';
|
|
2
|
+
import { ArbitraryTag } from './ArbitraryTag.js';
|
|
3
|
+
import { BrowserTag } from './BrowserTag.js';
|
|
4
|
+
import { CapabilityTag } from './CapabilityTag.js';
|
|
5
|
+
import { ExecutionRetriedTag } from './ExecutionRetriedTag.js';
|
|
6
|
+
import { FeatureTag } from './FeatureTag.js';
|
|
7
|
+
import { IssueTag } from './IssueTag.js';
|
|
8
|
+
import { ManualTag } from './ManualTag.js';
|
|
9
|
+
import { PlatformTag } from './PlatformTag.js';
|
|
10
|
+
import { ProjectTag } from './ProjectTag.js';
|
|
11
|
+
import { ThemeTag } from './ThemeTag.js';
|
|
12
|
+
function hasCustomDeserialiser(tagType) {
|
|
13
|
+
return Object.prototype.hasOwnProperty.call(tagType, 'fromJSON');
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @package
|
|
17
|
+
*/
|
|
18
|
+
export class Tags {
|
|
19
|
+
static supportedTypes = new Map([
|
|
20
|
+
ArbitraryTag,
|
|
21
|
+
BrowserTag,
|
|
22
|
+
CapabilityTag,
|
|
23
|
+
ExecutionRetriedTag,
|
|
24
|
+
FeatureTag,
|
|
25
|
+
IssueTag,
|
|
26
|
+
ManualTag,
|
|
27
|
+
PlatformTag,
|
|
28
|
+
ProjectTag,
|
|
29
|
+
ThemeTag,
|
|
30
|
+
].map(tagType => [tagType.Type, tagType]));
|
|
31
|
+
static Pattern = /^@([\w-]+)[\s:]?(.*)/i;
|
|
32
|
+
static matchTags(tagText) {
|
|
33
|
+
if (tagText === '') {
|
|
34
|
+
return [];
|
|
35
|
+
}
|
|
36
|
+
const [, tagType, value] = Tags.Pattern.exec(tagText);
|
|
37
|
+
return match(tagType.toLowerCase())
|
|
38
|
+
.when('manual', _ => [new ManualTag()])
|
|
39
|
+
.when(/^issues?$/, _ => value.split(',').map(value => new IssueTag(value.trim())))
|
|
40
|
+
.else(value => [new ArbitraryTag(value.trim())]);
|
|
41
|
+
}
|
|
42
|
+
static fromJSON(o) {
|
|
43
|
+
const type = ensure('serialised tag type', o.type, isDefined(), isString());
|
|
44
|
+
if (!this.supportedTypes.has(type)) {
|
|
45
|
+
return new ArbitraryTag(o.name);
|
|
46
|
+
}
|
|
47
|
+
const found = this.supportedTypes.get(type);
|
|
48
|
+
if (hasCustomDeserialiser(found)) {
|
|
49
|
+
return found.fromJSON(o);
|
|
50
|
+
}
|
|
51
|
+
return new found(o.name);
|
|
52
|
+
}
|
|
53
|
+
static from(text) {
|
|
54
|
+
const tags = text.split(/\s+/)
|
|
55
|
+
.filter(word => word.startsWith('@'))
|
|
56
|
+
.flatMap(tag => Tags.matchTags(tag));
|
|
57
|
+
return tags ?? Tags.matchTags(text);
|
|
58
|
+
}
|
|
59
|
+
static stripFrom(text) {
|
|
60
|
+
return text.split(/\s+/)
|
|
61
|
+
.map(word => Tags.Pattern.test(word) ? undefined : word)
|
|
62
|
+
.filter(Boolean)
|
|
63
|
+
.join(' ')
|
|
64
|
+
.trim();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=Tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/model/tags/Tags.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAm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AC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACzC,OAAO,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,IAAY;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;aACnB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;aACvD,MAAM,CAAC,OAAO,CAAC;aACf,IAAI,CAAC,GAAG,CAAC;aACT,IAAI,EAAE,CAAC;IAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeTag.d.ts","sourceRoot":"","sources":["../../../src/model/tags/ThemeTag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B;;GAEG;AACH,qBAAa,QAAS,SAAQ,GAAG;IAC7B,MAAM,CAAC,QAAQ,CAAC,IAAI,WAAW;gBAEnB,KAAK,EAAE,MAAM;CAG5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeTag.js","sourceRoot":"","sources":["../../../src/model/tags/ThemeTag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,GAAG;IAC7B,MAAM,CAAU,IAAI,GAAG,OAAO,CAAC;IAE/B,YAAY,KAAa;QACrB,KAAK,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './ArbitraryTag.js';
|
|
2
|
+
export * from './BrowserTag.js';
|
|
3
|
+
export * from './CapabilityTag.js';
|
|
4
|
+
export * from './ExecutionRetriedTag.js';
|
|
5
|
+
export * from './FeatureTag.js';
|
|
6
|
+
export * from './IssueTag.js';
|
|
7
|
+
export * from './ManualTag.js';
|
|
8
|
+
export * from './PlatformTag.js';
|
|
9
|
+
export * from './ProjectTag.js';
|
|
10
|
+
export * from './Tag.js';
|
|
11
|
+
export * from './Tags.js';
|
|
12
|
+
export * from './ThemeTag.js';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './ArbitraryTag.js';
|
|
2
|
+
export * from './BrowserTag.js';
|
|
3
|
+
export * from './CapabilityTag.js';
|
|
4
|
+
export * from './ExecutionRetriedTag.js';
|
|
5
|
+
export * from './FeatureTag.js';
|
|
6
|
+
export * from './IssueTag.js';
|
|
7
|
+
export * from './ManualTag.js';
|
|
8
|
+
export * from './PlatformTag.js';
|
|
9
|
+
export * from './ProjectTag.js';
|
|
10
|
+
export * from './Tag.js';
|
|
11
|
+
export * from './Tags.js';
|
|
12
|
+
export * from './ThemeTag.js';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/tags/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FileSystemLocation } from '../io/index.js';
|
|
2
|
+
import type { UsesAbilities } from './abilities/index.js';
|
|
3
|
+
import type { PerformsActivities } from './activities/index.js';
|
|
4
|
+
import type { Answerable } from './Answerable.js';
|
|
5
|
+
import type { AnswersQuestions } from './questions/AnswersQuestions.js';
|
|
6
|
+
import { Describable } from './questions/Describable.js';
|
|
7
|
+
/**
|
|
8
|
+
* **Activities** represents [tasks](https://serenity-js.org/api/core/class/Task/) and [interactions](https://serenity-js.org/api/core/class/Interaction/) to be performed by an [actor](https://serenity-js.org/api/core/class/Actor/).
|
|
9
|
+
*
|
|
10
|
+
* Learn more about:
|
|
11
|
+
* - [Performing activities at multiple levels](https://serenity-js.org/handbook/design/screenplay-pattern#performing-activities-at-multiple-levels)
|
|
12
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
13
|
+
* - [`PerformsActivities`](https://serenity-js.org/api/core/interface/PerformsActivities/)
|
|
14
|
+
* - [Command design pattern on Wikipedia](https://en.wikipedia.org/wiki/Command_pattern)
|
|
15
|
+
*
|
|
16
|
+
* @group Screenplay Pattern
|
|
17
|
+
*/
|
|
18
|
+
export declare abstract class Activity extends Describable {
|
|
19
|
+
#private;
|
|
20
|
+
private static errorStackParser;
|
|
21
|
+
constructor(description: Answerable<string>, location?: FileSystemLocation);
|
|
22
|
+
/**
|
|
23
|
+
* Returns the location where this [`Activity`](https://serenity-js.org/api/core/class/Activity/) was instantiated.
|
|
24
|
+
*/
|
|
25
|
+
instantiationLocation(): FileSystemLocation;
|
|
26
|
+
/**
|
|
27
|
+
* Instructs the provided [`Actor`](https://serenity-js.org/api/core/class/Actor/) to perform this [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
28
|
+
*
|
|
29
|
+
* @param actor
|
|
30
|
+
*
|
|
31
|
+
* #### Learn more
|
|
32
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
33
|
+
* - [`PerformsActivities`](https://serenity-js.org/api/core/interface/PerformsActivities/)
|
|
34
|
+
* - [`UsesAbilities`](https://serenity-js.org/api/core/interface/UsesAbilities/)
|
|
35
|
+
* - [`AnswersQuestions`](https://serenity-js.org/api/core/interface/AnswersQuestions/)
|
|
36
|
+
*/
|
|
37
|
+
abstract performAs(actor: PerformsActivities | UsesAbilities | AnswersQuestions): Promise<any>;
|
|
38
|
+
protected static callerLocation(frameOffset: number): FileSystemLocation;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=Activity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Activity.d.ts","sourceRoot":"","sources":["../../src/screenplay/Activity.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAQ,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,8BAAsB,QAAS,SAAQ,WAAW;;IAE9C,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAA0B;gBAIrD,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,EAC/B,QAAQ,GAAE,kBAA+C;IAM7D;;OAEG;IACH,qBAAqB,IAAI,kBAAkB;IAI3C;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,CAAC,KAAK,EAAE,kBAAkB,GAAG,aAAa,GAAG,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC;IAE9F,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB;CA0B3E"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import { ErrorStackParser } from '../errors/index.js';
|
|
3
|
+
import { FileSystemLocation, Path } from '../io/index.js';
|
|
4
|
+
import { Describable } from './questions/Describable.js';
|
|
5
|
+
/**
|
|
6
|
+
* **Activities** represents [tasks](https://serenity-js.org/api/core/class/Task/) and [interactions](https://serenity-js.org/api/core/class/Interaction/) to be performed by an [actor](https://serenity-js.org/api/core/class/Actor/).
|
|
7
|
+
*
|
|
8
|
+
* Learn more about:
|
|
9
|
+
* - [Performing activities at multiple levels](https://serenity-js.org/handbook/design/screenplay-pattern#performing-activities-at-multiple-levels)
|
|
10
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
11
|
+
* - [`PerformsActivities`](https://serenity-js.org/api/core/interface/PerformsActivities/)
|
|
12
|
+
* - [Command design pattern on Wikipedia](https://en.wikipedia.org/wiki/Command_pattern)
|
|
13
|
+
*
|
|
14
|
+
* @group Screenplay Pattern
|
|
15
|
+
*/
|
|
16
|
+
export class Activity extends Describable {
|
|
17
|
+
static errorStackParser = new ErrorStackParser();
|
|
18
|
+
#location;
|
|
19
|
+
constructor(description, location = Activity.callerLocation(5)) {
|
|
20
|
+
super(description);
|
|
21
|
+
this.#location = location;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns the location where this [`Activity`](https://serenity-js.org/api/core/class/Activity/) was instantiated.
|
|
25
|
+
*/
|
|
26
|
+
instantiationLocation() {
|
|
27
|
+
return this.#location;
|
|
28
|
+
}
|
|
29
|
+
static callerLocation(frameOffset) {
|
|
30
|
+
const originalStackTraceLimit = Error.stackTraceLimit;
|
|
31
|
+
Error.stackTraceLimit = 30;
|
|
32
|
+
const error = new Error('Caller location marker');
|
|
33
|
+
Error.stackTraceLimit = originalStackTraceLimit;
|
|
34
|
+
const nonSerenityNodeModulePattern = new RegExp(`node_modules` + `\\` + path.sep + `(?!@serenity-js` + `\\` + path.sep + `)`);
|
|
35
|
+
const frames = this.errorStackParser.parse(error);
|
|
36
|
+
const userLandFrames = frames.filter(frame => !(frame?.fileName.startsWith('node:') || // node 16 and 18
|
|
37
|
+
frame?.fileName.startsWith('internal') || // node 14
|
|
38
|
+
nonSerenityNodeModulePattern.test(frame?.fileName) // ignore node_modules, except for @serenity-js/*
|
|
39
|
+
));
|
|
40
|
+
const index = Math.min(Math.max(1, frameOffset), userLandFrames.length - 1);
|
|
41
|
+
// use the desired user-land frame, or the last one from the stack trace for internal invocations
|
|
42
|
+
const invocationFrame = userLandFrames[index] || frames.at(-1);
|
|
43
|
+
return new FileSystemLocation(Path.from(invocationFrame.fileName?.replace(/^file:/, '')), invocationFrame.lineNumber, invocationFrame.columnNumber);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=Activity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Activity.js","sourceRoot":"","sources":["../../src/screenplay/Activity.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAK1D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,MAAM,OAAgB,QAAS,SAAQ,WAAW;IAEtC,MAAM,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAChD,SA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,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAE/D,OAAO,IAAI,kBAAkB,CACzB,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAC1D,eAAe,CAAC,UAAU,EAC1B,eAAe,CAAC,YAAY,CAC/B,CAAC;IACN,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type { Artifact } from '../model/index.js';
|
|
2
|
+
import { Name } from '../model/index.js';
|
|
3
|
+
import type { Stage } from '../stage/index.js';
|
|
4
|
+
import type { AbilityType, CanHaveAbilities, UsesAbilities } from './abilities/index.js';
|
|
5
|
+
import { Ability } from './abilities/index.js';
|
|
6
|
+
import type { PerformsActivities } from './activities/index.js';
|
|
7
|
+
import type { Activity } from './Activity.js';
|
|
8
|
+
import type { Answerable } from './Answerable.js';
|
|
9
|
+
import type { CollectsArtifacts } from './artifacts/index.js';
|
|
10
|
+
import type { AnswersQuestions } from './questions/index.js';
|
|
11
|
+
import type { SerialisedActor } from './SerialisedActor.js';
|
|
12
|
+
import type { TellsTime, Timestamp } from './time/index.js';
|
|
13
|
+
/**
|
|
14
|
+
* **Actors** represent **people** and **external systems** interacting with the system under test.
|
|
15
|
+
* Their role is to perform [activities](https://serenity-js.org/api/core/class/Activity/) that demonstrate how to accomplish a given goal.
|
|
16
|
+
*
|
|
17
|
+
* Actors are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
|
|
18
|
+
* along with [abilities](https://serenity-js.org/api/core/class/Ability/), [interactions](https://serenity-js.org/api/core/class/Interaction/), [tasks](https://serenity-js.org/api/core/class/Task/), and [questions](https://serenity-js.org/api/core/class/Question/).
|
|
19
|
+
* Actors are also the first thing you see in a typical Serenity/JS test scenario.
|
|
20
|
+
*
|
|
21
|
+
* 
|
|
22
|
+
*
|
|
23
|
+
* Learn more about:
|
|
24
|
+
* - [`Cast`](https://serenity-js.org/api/core/class/Cast/)
|
|
25
|
+
* - [`Stage`](https://serenity-js.org/api/core/class/Stage/)
|
|
26
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
27
|
+
* - [`Activity`](https://serenity-js.org/api/core/class/Activity/)
|
|
28
|
+
* - [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
29
|
+
* - [`Task`](https://serenity-js.org/api/core/class/Task/)
|
|
30
|
+
* - [`Question`](https://serenity-js.org/api/core/class/Question/)
|
|
31
|
+
*
|
|
32
|
+
* ## Representing people and systems as actors
|
|
33
|
+
*
|
|
34
|
+
* To use a Serenity/JS [`Actor`](https://serenity-js.org/api/core/class/Actor/), all you need is to say their name:
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
38
|
+
*
|
|
39
|
+
* actorCalled('Alice')
|
|
40
|
+
* // returns: Actor
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* Serenity/JS actors perform within the scope of a test scenario, so the first time you invoke [`actorCalled`](https://serenity-js.org/api/core/function/actorCalled/),
|
|
44
|
+
* Serenity/JS instantiates a new actor from the default [cast](https://serenity-js.org/api/core/class/Cast/) of actors (or any custom cast you might have [configured](https://serenity-js.org/api/core/function/configure/)).
|
|
45
|
+
* Any subsequent invocations of this function within the scope of the same test scenario retrieve the already instantiated actor, identified by their name.
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
49
|
+
*
|
|
50
|
+
* actorCalled('Alice') // instantiates Alice
|
|
51
|
+
* actorCalled('Bob') // instantiates Bob
|
|
52
|
+
* actorCalled('Alice') // retrieves Alice, since she's already been instantiated
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* Serenity/JS scenarios can involve as many or as few actors as you need to model the given business workflow.
|
|
56
|
+
* For example, you might want to use **multiple actors** in test scenarios that model how **different people** perform different parts of a larger business process, such as reviewing and approving a loan application.
|
|
57
|
+
* It is also quite common to introduce **supporting actors** to perform **administrative tasks**, like setting up test data and environment, or **audit tasks**, like checking the logs or messages emitted to a message queue
|
|
58
|
+
* by the system under test.
|
|
59
|
+
*
|
|
60
|
+
* :::info The Stan Lee naming convention
|
|
61
|
+
* Actor names can be much more than just simple identifiers like `Alice` or `Bob`. While you can give your actors any names you like, a good convention to follow is to give them
|
|
62
|
+
* names indicating the [personae](https://articles.uie.com/goodwin_interview/) they represent or the role they play in the system.
|
|
63
|
+
*
|
|
64
|
+
* Just like the characters in [Stan Lee](https://en.wikipedia.org/wiki/Stan_Lee) graphic novels,
|
|
65
|
+
* actors in Serenity/JS test scenarios are often given alliterate names as a mnemonic device.
|
|
66
|
+
* Names like "Adam the Admin", "Edna the Editor", "Trevor the Traveller", are far more memorable than a generic "UI user" or "API user".
|
|
67
|
+
* They're also much easier for people to associate with the context, constraints, and affordances of the given actor.
|
|
68
|
+
* :::
|
|
69
|
+
*
|
|
70
|
+
* @group Screenplay Pattern
|
|
71
|
+
*/
|
|
72
|
+
export declare class Actor implements PerformsActivities, UsesAbilities, CanHaveAbilities<Actor>, AnswersQuestions, CollectsArtifacts, TellsTime {
|
|
73
|
+
readonly name: string;
|
|
74
|
+
private readonly stage;
|
|
75
|
+
/**
|
|
76
|
+
* Map of abilities keyed by ability type name.
|
|
77
|
+
* Using string keys instead of constructor references to work across ESM/CJS module boundaries
|
|
78
|
+
* where the same class loaded from different module systems creates distinct constructor functions.
|
|
79
|
+
*/
|
|
80
|
+
private readonly abilities;
|
|
81
|
+
constructor(name: string, stage: Stage, abilities?: Ability[]);
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves actor's [`Ability`](https://serenity-js.org/api/core/class/Ability/) of `abilityType`, or one that extends `abilityType`.
|
|
84
|
+
*
|
|
85
|
+
* Please note that this method performs an [`instanceof`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof) check against abilities
|
|
86
|
+
* given to this actor via [`Actor.whoCan`](https://serenity-js.org/api/core/class/Actor/#whoCan).
|
|
87
|
+
*
|
|
88
|
+
* Please also note that [`Actor.whoCan`](https://serenity-js.org/api/core/class/Actor/#whoCan) performs the same check when abilities are assigned to the actor
|
|
89
|
+
* to ensure the actor has at most one instance of a given ability type.
|
|
90
|
+
*
|
|
91
|
+
* @param abilityType
|
|
92
|
+
*/
|
|
93
|
+
abilityTo<T extends Ability>(abilityType: AbilityType<T>): T;
|
|
94
|
+
/**
|
|
95
|
+
* Instructs the actor to attempt to perform a number of [activities](https://serenity-js.org/api/core/class/Activity/),
|
|
96
|
+
* so either [tasks](https://serenity-js.org/api/core/class/Task/) or [interactions](https://serenity-js.org/api/core/class/Interaction/)),
|
|
97
|
+
* one by one.
|
|
98
|
+
*
|
|
99
|
+
* @param {...activities: Activity[]} activities
|
|
100
|
+
*/
|
|
101
|
+
attemptsTo(...activities: Activity[]): Promise<void>;
|
|
102
|
+
/**
|
|
103
|
+
* Gives this Actor a list of [abilities](https://serenity-js.org/api/core/class/Ability/) they can use
|
|
104
|
+
* to interact with the system under test or the test environment.
|
|
105
|
+
*
|
|
106
|
+
* @param abilities
|
|
107
|
+
* A vararg list of abilities to give the actor
|
|
108
|
+
*
|
|
109
|
+
* @returns
|
|
110
|
+
* The actor with newly gained abilities
|
|
111
|
+
*
|
|
112
|
+
* @throws [`ConfigurationError`](https://serenity-js.org/api/core/class/ConfigurationError/)
|
|
113
|
+
* Throws a ConfigurationError if the actor already has an ability of this type.
|
|
114
|
+
*/
|
|
115
|
+
whoCan(...abilities: Ability[]): Actor;
|
|
116
|
+
/**
|
|
117
|
+
* @param answerable -
|
|
118
|
+
* An [`Answerable`](https://serenity-js.org/api/core/#Answerable) to answer (resolve the value of).
|
|
119
|
+
*
|
|
120
|
+
* @returns
|
|
121
|
+
* The answer to the Answerable
|
|
122
|
+
*/
|
|
123
|
+
answer<T>(answerable: Answerable<T>): Promise<T>;
|
|
124
|
+
/**
|
|
125
|
+
* @inheritDoc
|
|
126
|
+
*/
|
|
127
|
+
collect(artifact: Artifact, name?: string | Name): void;
|
|
128
|
+
/**
|
|
129
|
+
* Returns current time.
|
|
130
|
+
*/
|
|
131
|
+
currentTime(): Timestamp;
|
|
132
|
+
/**
|
|
133
|
+
* Instructs the actor to invoke [`Discardable.discard`](https://serenity-js.org/api/core/interface/Discardable/#discard) method on any
|
|
134
|
+
* [discardable](https://serenity-js.org/api/core/interface/Discardable/) [ability](https://serenity-js.org/api/core/class/Ability/) it's been configured with.
|
|
135
|
+
*/
|
|
136
|
+
dismiss(): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* Returns a human-readable, string representation of this actor and their abilities.
|
|
139
|
+
*
|
|
140
|
+
* **PRO TIP:** To get the name of the actor, use [`Actor.name`](https://serenity-js.org/api/core/class/Actor/#name)
|
|
141
|
+
*/
|
|
142
|
+
toString(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Returns a JSON representation of the actor and its current state.
|
|
145
|
+
*
|
|
146
|
+
* The purpose of this method is to enable reporting the state of the actor in a human-readable format,
|
|
147
|
+
* rather than to serialise and deserialise the actor itself.
|
|
148
|
+
*/
|
|
149
|
+
toJSON(): SerialisedActor;
|
|
150
|
+
private initialiseAbilities;
|
|
151
|
+
private findAbilitiesOfType;
|
|
152
|
+
private findAbilityTo;
|
|
153
|
+
private acquireAbility;
|
|
154
|
+
/**
|
|
155
|
+
* Instantiates a `Name` based on the string value of the parameter,
|
|
156
|
+
* or returns the argument if it's already an instance of `Name`.
|
|
157
|
+
*
|
|
158
|
+
* @param maybeName
|
|
159
|
+
*/
|
|
160
|
+
private nameFrom;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=Actor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../src/screenplay/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM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,GAAG,UAAU,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpD;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK;IAMtC;;;;;;OAMG;IACH,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAIhD;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAUvD;;OAEG;IACH,WAAW,IAAI,SAAS;IAIxB;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IASxB;;;;OAIG;IACH,QAAQ,IAAI,MAAM;IAMlB;;;;;OAKG;IACH,MAAM,IAAI,eAAe;IAOzB,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,cAAc;IAQtB;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;CAKnB"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { ConfigurationError, TestCompromisedError } from '../errors/index.js';
|
|
2
|
+
import { ActivityRelatedArtifactGenerated } from '../events/index.js';
|
|
3
|
+
import { ValueInspector } from '../io/index.js';
|
|
4
|
+
import { Name, } from '../model/index.js';
|
|
5
|
+
import { Ability, AnswerQuestions, PerformActivities } from './abilities/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* **Actors** represent **people** and **external systems** interacting with the system under test.
|
|
8
|
+
* Their role is to perform [activities](https://serenity-js.org/api/core/class/Activity/) that demonstrate how to accomplish a given goal.
|
|
9
|
+
*
|
|
10
|
+
* Actors are the core building block of the [Screenplay Pattern](https://serenity-js.org/handbook/design/screenplay-pattern),
|
|
11
|
+
* along with [abilities](https://serenity-js.org/api/core/class/Ability/), [interactions](https://serenity-js.org/api/core/class/Interaction/), [tasks](https://serenity-js.org/api/core/class/Task/), and [questions](https://serenity-js.org/api/core/class/Question/).
|
|
12
|
+
* Actors are also the first thing you see in a typical Serenity/JS test scenario.
|
|
13
|
+
*
|
|
14
|
+
* 
|
|
15
|
+
*
|
|
16
|
+
* Learn more about:
|
|
17
|
+
* - [`Cast`](https://serenity-js.org/api/core/class/Cast/)
|
|
18
|
+
* - [`Stage`](https://serenity-js.org/api/core/class/Stage/)
|
|
19
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
20
|
+
* - [`Activity`](https://serenity-js.org/api/core/class/Activity/)
|
|
21
|
+
* - [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
22
|
+
* - [`Task`](https://serenity-js.org/api/core/class/Task/)
|
|
23
|
+
* - [`Question`](https://serenity-js.org/api/core/class/Question/)
|
|
24
|
+
*
|
|
25
|
+
* ## Representing people and systems as actors
|
|
26
|
+
*
|
|
27
|
+
* To use a Serenity/JS [`Actor`](https://serenity-js.org/api/core/class/Actor/), all you need is to say their name:
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
31
|
+
*
|
|
32
|
+
* actorCalled('Alice')
|
|
33
|
+
* // returns: Actor
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* Serenity/JS actors perform within the scope of a test scenario, so the first time you invoke [`actorCalled`](https://serenity-js.org/api/core/function/actorCalled/),
|
|
37
|
+
* Serenity/JS instantiates a new actor from the default [cast](https://serenity-js.org/api/core/class/Cast/) of actors (or any custom cast you might have [configured](https://serenity-js.org/api/core/function/configure/)).
|
|
38
|
+
* Any subsequent invocations of this function within the scope of the same test scenario retrieve the already instantiated actor, identified by their name.
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
42
|
+
*
|
|
43
|
+
* actorCalled('Alice') // instantiates Alice
|
|
44
|
+
* actorCalled('Bob') // instantiates Bob
|
|
45
|
+
* actorCalled('Alice') // retrieves Alice, since she's already been instantiated
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* Serenity/JS scenarios can involve as many or as few actors as you need to model the given business workflow.
|
|
49
|
+
* For example, you might want to use **multiple actors** in test scenarios that model how **different people** perform different parts of a larger business process, such as reviewing and approving a loan application.
|
|
50
|
+
* It is also quite common to introduce **supporting actors** to perform **administrative tasks**, like setting up test data and environment, or **audit tasks**, like checking the logs or messages emitted to a message queue
|
|
51
|
+
* by the system under test.
|
|
52
|
+
*
|
|
53
|
+
* :::info The Stan Lee naming convention
|
|
54
|
+
* Actor names can be much more than just simple identifiers like `Alice` or `Bob`. While you can give your actors any names you like, a good convention to follow is to give them
|
|
55
|
+
* names indicating the [personae](https://articles.uie.com/goodwin_interview/) they represent or the role they play in the system.
|
|
56
|
+
*
|
|
57
|
+
* Just like the characters in [Stan Lee](https://en.wikipedia.org/wiki/Stan_Lee) graphic novels,
|
|
58
|
+
* actors in Serenity/JS test scenarios are often given alliterate names as a mnemonic device.
|
|
59
|
+
* Names like "Adam the Admin", "Edna the Editor", "Trevor the Traveller", are far more memorable than a generic "UI user" or "API user".
|
|
60
|
+
* They're also much easier for people to associate with the context, constraints, and affordances of the given actor.
|
|
61
|
+
* :::
|
|
62
|
+
*
|
|
63
|
+
* @group Screenplay Pattern
|
|
64
|
+
*/
|
|
65
|
+
export class Actor {
|
|
66
|
+
name;
|
|
67
|
+
stage;
|
|
68
|
+
/**
|
|
69
|
+
* Map of abilities keyed by ability type name.
|
|
70
|
+
* Using string keys instead of constructor references to work across ESM/CJS module boundaries
|
|
71
|
+
* where the same class loaded from different module systems creates distinct constructor functions.
|
|
72
|
+
*/
|
|
73
|
+
abilities = new Map();
|
|
74
|
+
constructor(name, stage, abilities = []) {
|
|
75
|
+
this.name = name;
|
|
76
|
+
this.stage = stage;
|
|
77
|
+
[
|
|
78
|
+
new PerformActivities(this, stage),
|
|
79
|
+
new AnswerQuestions(this),
|
|
80
|
+
...abilities
|
|
81
|
+
].forEach(ability => this.acquireAbility(ability));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Retrieves actor's [`Ability`](https://serenity-js.org/api/core/class/Ability/) of `abilityType`, or one that extends `abilityType`.
|
|
85
|
+
*
|
|
86
|
+
* Please note that this method performs an [`instanceof`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof) check against abilities
|
|
87
|
+
* given to this actor via [`Actor.whoCan`](https://serenity-js.org/api/core/class/Actor/#whoCan).
|
|
88
|
+
*
|
|
89
|
+
* Please also note that [`Actor.whoCan`](https://serenity-js.org/api/core/class/Actor/#whoCan) performs the same check when abilities are assigned to the actor
|
|
90
|
+
* to ensure the actor has at most one instance of a given ability type.
|
|
91
|
+
*
|
|
92
|
+
* @param abilityType
|
|
93
|
+
*/
|
|
94
|
+
abilityTo(abilityType) {
|
|
95
|
+
const found = this.findAbilityTo(abilityType);
|
|
96
|
+
if (!found) {
|
|
97
|
+
throw new ConfigurationError(`${this.name} can ${Array.from(this.abilities.values()).map(ability => ability.constructor.name).join(', ')}. ` +
|
|
98
|
+
`They can't, however, ${abilityType.name} yet. ` +
|
|
99
|
+
`Did you give them the ability to do so?`);
|
|
100
|
+
}
|
|
101
|
+
return found;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Instructs the actor to attempt to perform a number of [activities](https://serenity-js.org/api/core/class/Activity/),
|
|
105
|
+
* so either [tasks](https://serenity-js.org/api/core/class/Task/) or [interactions](https://serenity-js.org/api/core/class/Interaction/)),
|
|
106
|
+
* one by one.
|
|
107
|
+
*
|
|
108
|
+
* @param {...activities: Activity[]} activities
|
|
109
|
+
*/
|
|
110
|
+
attemptsTo(...activities) {
|
|
111
|
+
return activities
|
|
112
|
+
.reduce((previous, current) => {
|
|
113
|
+
return previous
|
|
114
|
+
.then(() => PerformActivities.as(this).perform(current));
|
|
115
|
+
}, this.initialiseAbilities());
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Gives this Actor a list of [abilities](https://serenity-js.org/api/core/class/Ability/) they can use
|
|
119
|
+
* to interact with the system under test or the test environment.
|
|
120
|
+
*
|
|
121
|
+
* @param abilities
|
|
122
|
+
* A vararg list of abilities to give the actor
|
|
123
|
+
*
|
|
124
|
+
* @returns
|
|
125
|
+
* The actor with newly gained abilities
|
|
126
|
+
*
|
|
127
|
+
* @throws [`ConfigurationError`](https://serenity-js.org/api/core/class/ConfigurationError/)
|
|
128
|
+
* Throws a ConfigurationError if the actor already has an ability of this type.
|
|
129
|
+
*/
|
|
130
|
+
whoCan(...abilities) {
|
|
131
|
+
abilities.forEach(ability => this.acquireAbility(ability));
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @param answerable -
|
|
136
|
+
* An [`Answerable`](https://serenity-js.org/api/core/#Answerable) to answer (resolve the value of).
|
|
137
|
+
*
|
|
138
|
+
* @returns
|
|
139
|
+
* The answer to the Answerable
|
|
140
|
+
*/
|
|
141
|
+
answer(answerable) {
|
|
142
|
+
return AnswerQuestions.as(this).answer(answerable);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @inheritDoc
|
|
146
|
+
*/
|
|
147
|
+
collect(artifact, name) {
|
|
148
|
+
this.stage.announce(new ActivityRelatedArtifactGenerated(this.stage.currentSceneId(), this.stage.currentActivityId(), this.nameFrom(name || new Name(artifact.constructor.name)), artifact, this.stage.currentTime()));
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns current time.
|
|
152
|
+
*/
|
|
153
|
+
currentTime() {
|
|
154
|
+
return this.stage.currentTime();
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Instructs the actor to invoke [`Discardable.discard`](https://serenity-js.org/api/core/interface/Discardable/#discard) method on any
|
|
158
|
+
* [discardable](https://serenity-js.org/api/core/interface/Discardable/) [ability](https://serenity-js.org/api/core/class/Ability/) it's been configured with.
|
|
159
|
+
*/
|
|
160
|
+
dismiss() {
|
|
161
|
+
return this.findAbilitiesOfType('discard')
|
|
162
|
+
.reduce((previous, ability) => previous.then(() => ability.discard()), Promise.resolve(void 0));
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Returns a human-readable, string representation of this actor and their abilities.
|
|
166
|
+
*
|
|
167
|
+
* **PRO TIP:** To get the name of the actor, use [`Actor.name`](https://serenity-js.org/api/core/class/Actor/#name)
|
|
168
|
+
*/
|
|
169
|
+
toString() {
|
|
170
|
+
const abilities = Array.from(this.abilities.values()).map(ability => ability.constructor.name);
|
|
171
|
+
return `Actor(name=${this.name}, abilities=[${abilities.join(', ')}])`;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Returns a JSON representation of the actor and its current state.
|
|
175
|
+
*
|
|
176
|
+
* The purpose of this method is to enable reporting the state of the actor in a human-readable format,
|
|
177
|
+
* rather than to serialise and deserialise the actor itself.
|
|
178
|
+
*/
|
|
179
|
+
toJSON() {
|
|
180
|
+
return {
|
|
181
|
+
name: this.name,
|
|
182
|
+
abilities: Array.from(this.abilities.values()).map(ability => ability.toJSON())
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
initialiseAbilities() {
|
|
186
|
+
return this.findAbilitiesOfType('initialise', 'isInitialised')
|
|
187
|
+
.filter(ability => !ability.isInitialised())
|
|
188
|
+
.reduce((previous, ability) => previous
|
|
189
|
+
.then(() => ability.initialise())
|
|
190
|
+
.catch(error => {
|
|
191
|
+
throw new TestCompromisedError(`${this.name} couldn't initialise the ability to ${ability.constructor.name}`, error);
|
|
192
|
+
}), Promise.resolve(void 0));
|
|
193
|
+
}
|
|
194
|
+
findAbilitiesOfType(...methodNames) {
|
|
195
|
+
const abilitiesFrom = (map) => Array.from(map.values());
|
|
196
|
+
const abilitiesWithDesiredMethods = (ability) => methodNames.every(methodName => typeof (ability[methodName]) === 'function');
|
|
197
|
+
return abilitiesFrom(this.abilities)
|
|
198
|
+
.filter(abilitiesWithDesiredMethods);
|
|
199
|
+
}
|
|
200
|
+
findAbilityTo(doSomething) {
|
|
201
|
+
return this.abilities.get(doSomething.abilityType().name);
|
|
202
|
+
}
|
|
203
|
+
acquireAbility(ability) {
|
|
204
|
+
if (!(ability instanceof Ability)) {
|
|
205
|
+
throw new ConfigurationError(`Custom abilities must extend Ability from '@serenity-js/core'. Received ${ValueInspector.typeOf(ability)}`);
|
|
206
|
+
}
|
|
207
|
+
this.abilities.set(ability.abilityType().name, ability);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Instantiates a `Name` based on the string value of the parameter,
|
|
211
|
+
* or returns the argument if it's already an instance of `Name`.
|
|
212
|
+
*
|
|
213
|
+
* @param maybeName
|
|
214
|
+
*/
|
|
215
|
+
nameFrom(maybeName) {
|
|
216
|
+
return typeof maybeName === 'string'
|
|
217
|
+
? new Name(maybeName)
|
|
218
|
+
: maybeName;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
//# sourceMappingURL=Actor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Actor.js","sourceRoot":"","sources":["../../src/screenplay/Actor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,IAAI,GAAG,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AASnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAM,OAAO,KAAK;IAeM;IACC;IATrB;;;;OAIG;IACc,SAAS,GAAyB,IAAI,GAAG,EAAmB,CAAC;IAE9E,YACoB,I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