@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,19 @@
|
|
|
1
|
+
import type { Ability } from './Ability.js';
|
|
2
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
3
|
+
/**
|
|
4
|
+
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) who can have an [`Ability`](https://serenity-js.org/api/core/class/Ability/) to perform some [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
5
|
+
*
|
|
6
|
+
* ## Learn more
|
|
7
|
+
*
|
|
8
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
9
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
10
|
+
*
|
|
11
|
+
* @group Actors
|
|
12
|
+
*/
|
|
13
|
+
export interface CanHaveAbilities<Returned_Type = UsesAbilities> {
|
|
14
|
+
/**
|
|
15
|
+
* Assigns an [`Ability`](https://serenity-js.org/api/core/class/Ability/) or several abilities to the [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
16
|
+
*/
|
|
17
|
+
whoCan(...abilities: Ability[]): Returned_Type;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=CanHaveAbilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CanHaveAbilities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/CanHaveAbilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;;;;;;;GASG;AACH,MAAM,WAAW,gBAAgB,CAAC,aAAa,GAAG,aAAa;IAE3D;;OAEG;IACH,MAAM,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CanHaveAbilities.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/CanHaveAbilities.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An interface to be implemented by any [`Ability`](https://serenity-js.org/api/core/class/Ability/) that needs to free up
|
|
3
|
+
* the resources it uses, e.g. disconnect from a database.
|
|
4
|
+
*
|
|
5
|
+
* This [`Discardable.discard`](https://serenity-js.org/api/core/interface/Discardable/#discard) method is invoked directly by the [actor](https://serenity-js.org/api/core/class/Actor/), and indirectly by the [stage](https://serenity-js.org/api/core/class/Stage/):
|
|
6
|
+
* - when [SceneFinishes](https://serenity-js.org/api/core-events/class/SceneFinishes/), for actors instantiated after [SceneStarts](https://serenity-js.org/api/core-events/class/SceneStarts/) - e.g. within a test scenario or in a "before each" hook
|
|
7
|
+
* - when [`TestRunFinishes`](https://serenity-js.org/api/core-events/class/TestRunFinishes/), for actors instantiated before [SceneStarts](https://serenity-js.org/api/core-events/class/SceneStarts/) - e.g. in a "before all" hook
|
|
8
|
+
*
|
|
9
|
+
* Note that events such as [SceneFinishes](https://serenity-js.org/api/core-events/class/SceneFinishes/) and [`TestRunFinishes`](https://serenity-js.org/api/core-events/class/TestRunFinishes/) are emitted by Serenity/JS test runner adapters,
|
|
10
|
+
* such as `@serenity-js/cucumber`, `@serenity-js/mocha`, `@serenity-js/jasmine`, and so on.
|
|
11
|
+
* Consult their respective readmes to learn how to register them with your test runner of choice.
|
|
12
|
+
*
|
|
13
|
+
* ## Learn more
|
|
14
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
15
|
+
* - [`AbilityType`](https://serenity-js.org/api/core/#AbilityType)
|
|
16
|
+
* - [`Initialisable`](https://serenity-js.org/api/core/interface/Initialisable/)
|
|
17
|
+
*
|
|
18
|
+
* @group Abilities
|
|
19
|
+
*/
|
|
20
|
+
export interface Discardable {
|
|
21
|
+
/**
|
|
22
|
+
* Discards the resources associated with this ability.
|
|
23
|
+
*/
|
|
24
|
+
discard(): Promise<void> | void;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=Discardable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Discardable.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/Discardable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,WAAW;IAExB;;OAEG;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Discardable.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/Discardable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An interface to be implemented by any [`Ability`](https://serenity-js.org/api/core/class/Ability/) that needs to initialise
|
|
3
|
+
* the resources it uses, e.g. establish a database connection.
|
|
4
|
+
*
|
|
5
|
+
* The [`Initialisable.initialise`](https://serenity-js.org/api/core/interface/Initialisable/#initialise) method is invoked whenever [`Actor.attemptsTo`](https://serenity-js.org/api/core/class/Actor/#attemptsTo) method is called,
|
|
6
|
+
* but **only when** [`Initialisable.isInitialised`](https://serenity-js.org/api/core/interface/Initialisable/#isInitialised) returns false. This is to avoid initialising abilities more than once.
|
|
7
|
+
*
|
|
8
|
+
* ## Learn more
|
|
9
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
10
|
+
* - [`AbilityType`](https://serenity-js.org/api/core/#AbilityType)
|
|
11
|
+
* - [`Discardable`](https://serenity-js.org/api/core/interface/Discardable/)
|
|
12
|
+
*
|
|
13
|
+
* @group Abilities
|
|
14
|
+
*/
|
|
15
|
+
export interface Initialisable {
|
|
16
|
+
/**
|
|
17
|
+
* Initialises the ability. Invoked whenever [`Actor.attemptsTo`](https://serenity-js.org/api/core/class/Actor/#attemptsTo) method is called,
|
|
18
|
+
* but **only when** [`Initialisable.isInitialised`](https://serenity-js.org/api/core/interface/Initialisable/#isInitialised) returns false.
|
|
19
|
+
*
|
|
20
|
+
* Make sure to implement [`Initialisable.isInitialised`](https://serenity-js.org/api/core/interface/Initialisable/#isInitialised) so that it returns `true`
|
|
21
|
+
* when the ability has been successfully initialised.
|
|
22
|
+
*/
|
|
23
|
+
initialise(): Promise<void> | void;
|
|
24
|
+
/**
|
|
25
|
+
* Should return `true` when all the resources that the given ability needs
|
|
26
|
+
* have been initialised. Should return `false` if the [`Actor`](https://serenity-js.org/api/core/class/Actor/) should
|
|
27
|
+
* initialise them again when [`Actor.attemptsTo`](https://serenity-js.org/api/core/class/Actor/#attemptsTo) is called.
|
|
28
|
+
*
|
|
29
|
+
* @returns {boolean}
|
|
30
|
+
*/
|
|
31
|
+
isInitialised(): boolean;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Initialisable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Initialisable.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/Initialisable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,aAAa;IAE1B;;;;;;OAMG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAEnC;;;;;;OAMG;IACH,aAAa,IAAI,OAAO,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Initialisable.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/Initialisable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { EmitsDomainEvents } from '../../events/index.js';
|
|
2
|
+
import { type Outcome } from '../../model/index.js';
|
|
3
|
+
import type { PerformsActivities } from '../activities/PerformsActivities.js';
|
|
4
|
+
import type { Activity } from '../Activity.js';
|
|
5
|
+
import type { AnswersQuestions } from '../questions/index.js';
|
|
6
|
+
import { Ability } from './Ability.js';
|
|
7
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
8
|
+
/**
|
|
9
|
+
* An [`Ability`](https://serenity-js.org/api/core/class/Ability/) that enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to perform a given [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
10
|
+
*
|
|
11
|
+
* [`PerformActivities`](https://serenity-js.org/api/core/class/PerformActivities/) is used internally by [`Actor.attemptsTo`](https://serenity-js.org/api/core/class/Actor/#attemptsTo), and it is unlikely you'll ever need to use it directly in your code.
|
|
12
|
+
* That is, unless you're building a custom Serenity/JS extension and want to override the default behaviour of the framework,
|
|
13
|
+
* in which case you should check out the [Contributor's Guide](https://serenity-js.org/community/contributing).
|
|
14
|
+
*
|
|
15
|
+
* @group Abilities
|
|
16
|
+
*/
|
|
17
|
+
export declare class PerformActivities extends Ability {
|
|
18
|
+
protected readonly actor: AnswersQuestions & UsesAbilities & PerformsActivities & {
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
protected readonly stage: EmitsDomainEvents;
|
|
22
|
+
constructor(actor: AnswersQuestions & UsesAbilities & PerformsActivities & {
|
|
23
|
+
name: string;
|
|
24
|
+
}, stage: EmitsDomainEvents);
|
|
25
|
+
perform(activity: Activity): Promise<void>;
|
|
26
|
+
protected outcomeFor(error: Error | any): Outcome;
|
|
27
|
+
private detailsOf;
|
|
28
|
+
protected nameOf(activity: Activity): string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=PerformActivities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerformActivities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/PerformActivities.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAUtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;;;;;;GAQG;AACH,qBAAa,iBAAkB,SAAQ,OAAO;IAEtC,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,GAAG,aAAa,GAAG,kBAAkB,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;IAClG,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,iBAAiB;gBADxB,KAAK,EAAE,gBAAgB,GAAG,aAAa,GAAG,kBAAkB,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAC/E,KAAK,EAAE,iBAAiB;IAKzC,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAyChD,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,GAAG,OAAO;IAsBjD,OAAO,CAAC,SAAS;IAOjB,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM;CAO/C"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { match } from 'tiny-types';
|
|
2
|
+
import { AssertionError, ImplementationPendingError, TestCompromisedError } from '../../errors/index.js';
|
|
3
|
+
import { InteractionFinished, InteractionStarts, TaskFinished, TaskStarts } from '../../events/index.js';
|
|
4
|
+
import { ValueInspector } from '../../io/index.js';
|
|
5
|
+
import { ExecutionSkipped } from '../../model/index.js';
|
|
6
|
+
import { ActivityDetails, ExecutionCompromised, ExecutionFailedWithAssertionError, ExecutionFailedWithError, ExecutionSuccessful, ImplementationPending, Name } from '../../model/index.js';
|
|
7
|
+
import { Interaction } from '../Interaction.js';
|
|
8
|
+
import { Ability } from './Ability.js';
|
|
9
|
+
/**
|
|
10
|
+
* An [`Ability`](https://serenity-js.org/api/core/class/Ability/) that enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to perform a given [`Activity`](https://serenity-js.org/api/core/class/Activity/).
|
|
11
|
+
*
|
|
12
|
+
* [`PerformActivities`](https://serenity-js.org/api/core/class/PerformActivities/) is used internally by [`Actor.attemptsTo`](https://serenity-js.org/api/core/class/Actor/#attemptsTo), and it is unlikely you'll ever need to use it directly in your code.
|
|
13
|
+
* That is, unless you're building a custom Serenity/JS extension and want to override the default behaviour of the framework,
|
|
14
|
+
* in which case you should check out the [Contributor's Guide](https://serenity-js.org/community/contributing).
|
|
15
|
+
*
|
|
16
|
+
* @group Abilities
|
|
17
|
+
*/
|
|
18
|
+
export class PerformActivities extends Ability {
|
|
19
|
+
actor;
|
|
20
|
+
stage;
|
|
21
|
+
constructor(actor, stage) {
|
|
22
|
+
super();
|
|
23
|
+
this.actor = actor;
|
|
24
|
+
this.stage = stage;
|
|
25
|
+
}
|
|
26
|
+
async perform(activity) {
|
|
27
|
+
const sceneId = this.stage.currentSceneId();
|
|
28
|
+
const details = this.detailsOf(this.nameOf(activity), activity.instantiationLocation());
|
|
29
|
+
const activityId = this.stage.assignNewActivityId(details);
|
|
30
|
+
const [activityStarts, activityFinished] = activity instanceof Interaction
|
|
31
|
+
? [InteractionStarts, InteractionFinished]
|
|
32
|
+
: [TaskStarts, TaskFinished];
|
|
33
|
+
try {
|
|
34
|
+
this.stage.announce(new activityStarts(sceneId, activityId, details, this.stage.currentTime()));
|
|
35
|
+
await activity.performAs(this.actor);
|
|
36
|
+
const name = await activity.describedBy(this.actor);
|
|
37
|
+
this.stage.announce(new activityFinished(sceneId, activityId, this.detailsOf(name, activity.instantiationLocation()), new ExecutionSuccessful(), this.stage.currentTime()));
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
this.stage.announce(new activityFinished(sceneId, activityId, details, this.outcomeFor(error), this.stage.currentTime()));
|
|
41
|
+
throw error;
|
|
42
|
+
}
|
|
43
|
+
finally {
|
|
44
|
+
await this.stage.waitForNextCue();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
outcomeFor(error) {
|
|
48
|
+
return match(error)
|
|
49
|
+
.when(ImplementationPendingError, _ => new ImplementationPending(error))
|
|
50
|
+
.when(TestCompromisedError, _ => new ExecutionCompromised(error))
|
|
51
|
+
.when(AssertionError, _ => new ExecutionFailedWithAssertionError(error))
|
|
52
|
+
.when(Error, _ => {
|
|
53
|
+
// Mocha
|
|
54
|
+
if (/AssertionError/.test(error.constructor.name)) {
|
|
55
|
+
return new ExecutionFailedWithAssertionError(error);
|
|
56
|
+
}
|
|
57
|
+
// Playwright Test
|
|
58
|
+
if (/TestSkipError/.test(error.constructor.name)) {
|
|
59
|
+
return new ExecutionSkipped(error);
|
|
60
|
+
}
|
|
61
|
+
return new ExecutionFailedWithError(error);
|
|
62
|
+
})
|
|
63
|
+
.else(_ => new ExecutionFailedWithError(error));
|
|
64
|
+
}
|
|
65
|
+
detailsOf(name, instantiationLocation) {
|
|
66
|
+
return new ActivityDetails(new Name(name), instantiationLocation);
|
|
67
|
+
}
|
|
68
|
+
nameOf(activity) {
|
|
69
|
+
const template = ValueInspector.hasItsOwnToString(activity)
|
|
70
|
+
? activity.toString()
|
|
71
|
+
: `#actor performs ${activity.constructor.name}`;
|
|
72
|
+
return template.replaceAll('#actor', this.actor.name);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=PerformActivities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerformActivities.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/PerformActivities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEzG,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACzG,OAAO,EAA2B,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,sBAAsB,CAAC;AACtE,OAAO,EACH,eAAe,EACf,oBAAoB,EACpB,iCAAiC,EACjC,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,IAAI,EACP,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC;;;;;;;;GAQG;AACH,MAAM,OAAO,iBAAkB,SAAQ,OAAO;IAEnB;IACA;IAFvB,YACuB,KAA+E,EAC/E,KAAwB;QAE3C,KAAK,EAAE,CAAC;QAHW,UAAK,GAAL,KAAK,CAA0E;QAC/E,UAAK,GAAL,KAAK,CAAmB;IAG/C,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,QAAkB;QAC5B,MAAM,OAAO,GAAM,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;QAC/C,MAAM,OAAO,GAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,qBAAqB,EAAE,CAAC,CAAC;QAC3F,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAE3D,MAAM,CAAE,cAAc,EAAE,gBAAgB,CAAE,GAAG,QAAQ,YAAY,WAAW;YACxE,CAAC,CAAC,CAAE,iBAAiB,EAAE,mBAAmB,CAAE;YAC5C,CAAC,CAAC,CAAE,UAAU,EAAE,YAAY,CAAE,CAAC;QAEnC,IAAI,CAAC;YACD,IAAI,CAAC,KAAK,CAAC,QAAQ,CACf,IAAI,cAAc,CACd,OAAO,EACP,UAAU,EACV,OAAO,EACP,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAC3B,CACJ,CAAC;YAEF,MAAM,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAErC,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAEpD,IAAI,CAAC,KAAK,CAAC,QAAQ,CACf,IAAI,gBAAgB,CAChB,OAAO,EACP,UAAU,EACV,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,qBAAqB,EAAE,CAAC,EACtD,IAAI,mBAAmB,EAAE,EACzB,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAC3B,CACJ,CAAC;QACN,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACX,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;YAC1H,MAAM,KAAK,CAAC;QAChB,CAAC;gBACO,CAAC;YACL,MAAM,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;QACtC,CAAC;IACL,CAAC;IACS,UAAU,CAAC,KAAkB;QACnC,OAAO,KAAK,CAAiB,KAAK,CAAC;aAC9B,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;aACvE,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,oBAAoB,CAAC,KAAK,CAAC,CAAC;aAChE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,iCAAiC,CAAC,KAAK,CAAC,CAAC;aACvE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE;YAEb,QAAQ;YACR,IAAI,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAChD,OAAO,IAAI,iCAAiC,CAAC,KAAK,CAAC,CAAA;YACvD,CAAC;YAED,kBAAkB;YAClB,IAAI,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/C,OAAO,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC;YACvC,CAAC;YAED,OAAO,IAAI,wBAAwB,CAAC,KAAK,CAAC,CAAC;QAC/C,CAAC,CAAC;aACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAEO,SAAS,CAAC,IAAY,EAAE,qBAAyC;QACrE,OAAO,IAAI,eAAe,CACtB,IAAI,IAAI,CAAC,IAAI,CAAC,EACd,qBAAqB,CACxB,CAAA;IACL,CAAC;IAES,MAAM,CAAC,QAAkB;QAC/B,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,QAAQ,CAAC;YACvD,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE;YACrB,CAAC,CAAC,mBAAoB,QAAQ,CAAC,WAAW,CAAC,IAAK,EAAE,CAAC;QAEvD,OAAO,QAAQ,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SerialisedAbility.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/SerialisedAbility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SerialisedAbility.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/SerialisedAbility.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Ability } from './Ability.js';
|
|
2
|
+
import type { AbilityType } from './AbilityType.js';
|
|
3
|
+
/**
|
|
4
|
+
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) who can use their [abilities](https://serenity-js.org/api/core/class/Ability/) to perform an [`Activity`](https://serenity-js.org/api/core/class/Activity/)
|
|
5
|
+
* or answer a [`Question`](https://serenity-js.org/api/core/class/Question/).
|
|
6
|
+
*
|
|
7
|
+
* ## Learn more
|
|
8
|
+
*
|
|
9
|
+
* - [`Ability`](https://serenity-js.org/api/core/class/Ability/)
|
|
10
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
11
|
+
*
|
|
12
|
+
* @group Actors
|
|
13
|
+
*/
|
|
14
|
+
export interface UsesAbilities {
|
|
15
|
+
/**
|
|
16
|
+
* Provides access to the [actor's](https://serenity-js.org/api/core/class/Actor/) [`Ability`](https://serenity-js.org/api/core/class/Ability/) to do something
|
|
17
|
+
*
|
|
18
|
+
* @param doSomething
|
|
19
|
+
* The type of ability to look up, e.g. [`BrowseTheWeb`](https://serenity-js.org/api/web/class/BrowseTheWeb/) or [`CallAnApi`](https://serenity-js.org/api/rest/class/CallAnApi/)
|
|
20
|
+
*/
|
|
21
|
+
abilityTo<T extends Ability>(doSomething: AbilityType<T>): T;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=UsesAbilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsesAbilities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/UsesAbilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aAAa;IAE1B;;;;;OAKG;IACH,SAAS,CAAC,CAAC,SAAS,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CAChE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UsesAbilities.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/UsesAbilities.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './Ability.js';
|
|
2
|
+
export * from './AbilityType.js';
|
|
3
|
+
export * from './AnswerQuestions.js';
|
|
4
|
+
export * from './CanHaveAbilities.js';
|
|
5
|
+
export * from './Discardable.js';
|
|
6
|
+
export * from './Initialisable.js';
|
|
7
|
+
export * from './PerformActivities.js';
|
|
8
|
+
export * from './SerialisedAbility.js';
|
|
9
|
+
export * from './UsesAbilities.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './Ability.js';
|
|
2
|
+
export * from './AbilityType.js';
|
|
3
|
+
export * from './AnswerQuestions.js';
|
|
4
|
+
export * from './CanHaveAbilities.js';
|
|
5
|
+
export * from './Discardable.js';
|
|
6
|
+
export * from './Initialisable.js';
|
|
7
|
+
export * from './PerformActivities.js';
|
|
8
|
+
export * from './SerialisedAbility.js';
|
|
9
|
+
export * from './UsesAbilities.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Activity } from '../Activity.js';
|
|
2
|
+
/**
|
|
3
|
+
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) who can perform a sequence of [activities](https://serenity-js.org/api/core/class/Activity/),
|
|
4
|
+
* such as [tasks](https://serenity-js.org/api/core/class/Task/) or [interactions](https://serenity-js.org/api/core/class/Interaction/).
|
|
5
|
+
*
|
|
6
|
+
* ## Learn more
|
|
7
|
+
* - [`Activity`](https://serenity-js.org/api/core/class/Activity/)
|
|
8
|
+
* - [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
9
|
+
* - [`Task`](https://serenity-js.org/api/core/class/Task/)
|
|
10
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
11
|
+
*
|
|
12
|
+
* @group Actors
|
|
13
|
+
*/
|
|
14
|
+
export interface PerformsActivities {
|
|
15
|
+
/**
|
|
16
|
+
* Makes the [`Actor`](https://serenity-js.org/api/core/class/Actor/) attempt to perform a sequence of [activities](https://serenity-js.org/api/core/class/Activity/).
|
|
17
|
+
*/
|
|
18
|
+
attemptsTo: (...activities: Activity[]) => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=PerformsActivities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerformsActivities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/activities/PerformsActivities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IAE/B;;OAEG;IACH,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,QAAQ,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerformsActivities.js","sourceRoot":"","sources":["../../../src/screenplay/activities/PerformsActivities.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { Artifact, Name } from '../../model/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) who can collect artifacts, such as photos or `JSON` data.,
|
|
4
|
+
* while the scenario is being executed
|
|
5
|
+
*
|
|
6
|
+
* ## Learn more
|
|
7
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
8
|
+
*
|
|
9
|
+
* @group Actors
|
|
10
|
+
*/
|
|
11
|
+
export interface CollectsArtifacts {
|
|
12
|
+
/**
|
|
13
|
+
* Makes the [`Actor`](https://serenity-js.org/api/core/class/Actor/) collect an artifact so that it can be included in the test report.
|
|
14
|
+
*
|
|
15
|
+
* #### Implementing a custom interaction to attach artifacts
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* import fs from 'node:fs';
|
|
19
|
+
* import { Answerable, Interaction, the } from '@serenity-js/core'
|
|
20
|
+
* import { Path } from '@serenity-js/core/io'
|
|
21
|
+
* import { Name, TextData } from '@serenity-js/core/model'
|
|
22
|
+
*
|
|
23
|
+
* export class Attach {
|
|
24
|
+
*
|
|
25
|
+
* static contentsOf = (pathToFile: Path): Interaction =>
|
|
26
|
+
* Interaction.where(`#actor attaches contents of ${ pathToFile.basename() }`, async actor => {
|
|
27
|
+
* const data = fs.readFileSync(pathToFile.value).toString('utf-8');
|
|
28
|
+
*
|
|
29
|
+
* actor.collect(
|
|
30
|
+
* TextData.fromJSON({ contentType: 'text/plain', data }),
|
|
31
|
+
* new Name(pathToFile.basename()),
|
|
32
|
+
* )
|
|
33
|
+
* })
|
|
34
|
+
*
|
|
35
|
+
* static textData = (contents: Answerable<string>, name?: string): Interaction =>
|
|
36
|
+
* Interaction.where(the`#actor attaches text data`, async actor => {
|
|
37
|
+
* const data = await actor.answer(contents);
|
|
38
|
+
*
|
|
39
|
+
* actor.collect(
|
|
40
|
+
* TextData.fromJSON({ contentType: 'text/plain', data }),
|
|
41
|
+
* name && new Name(name),
|
|
42
|
+
* )
|
|
43
|
+
* })
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* #### Attaching plain text
|
|
48
|
+
*
|
|
49
|
+
* ```ts
|
|
50
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
51
|
+
* import { Path } from '@serenity-js/core/io'
|
|
52
|
+
*
|
|
53
|
+
* actorCalled('Alice').attemptsTo(
|
|
54
|
+
* Attach.textData('some text', 'some name'),
|
|
55
|
+
* )
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* #### Attaching contents of a text file
|
|
59
|
+
*
|
|
60
|
+
* ```ts
|
|
61
|
+
* import { actorCalled } from '@serenity-js/core'
|
|
62
|
+
* import { Log } from '@serenity-js/core'
|
|
63
|
+
*
|
|
64
|
+
* actorCalled('Alice').attemptsTo(
|
|
65
|
+
* Attach.contentsOf(Path.from(__dirname, 'output/server.log')),
|
|
66
|
+
* )
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param artifact
|
|
70
|
+
* The artifact to be collected, such as `JSON` data.
|
|
71
|
+
*
|
|
72
|
+
* @param name
|
|
73
|
+
* The name of the artifact to make it easy to recognise in the test report
|
|
74
|
+
*/
|
|
75
|
+
collect(artifact: Artifact, name?: Name): void;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=CollectsArtifacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectsArtifacts.d.ts","sourceRoot":"","sources":["../../../src/screenplay/artifacts/CollectsArtifacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8DG;IACH,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectsArtifacts.js","sourceRoot":"","sources":["../../../src/screenplay/artifacts/CollectsArtifacts.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { UsesAbilities } from '../abilities/index.js';
|
|
2
|
+
import type { Answerable } from '../Answerable.js';
|
|
3
|
+
import type { Answered } from '../Answered.js';
|
|
4
|
+
import type { CollectsArtifacts } from '../artifacts/index.js';
|
|
5
|
+
import { Interaction } from '../Interaction.js';
|
|
6
|
+
import type { AnswersQuestions } from '../questions/index.js';
|
|
7
|
+
import type { DebuggingResult } from './DebuggingResult.js';
|
|
8
|
+
/**
|
|
9
|
+
* Instructs the [actor](https://serenity-js.org/api/core/class/Actor/) to evaluate and [log](https://serenity-js.org/api/core/class/Log/) the provided [answerable](https://serenity-js.org/api/core/#Answerable) values.
|
|
10
|
+
*
|
|
11
|
+
* Since this interaction **accepts a callback function** that receives the evaluated results,
|
|
12
|
+
* the best way to use it is while **running the test scenario via a Node.js debugger**.
|
|
13
|
+
* See the links below to learn how to do it in popular IDEs.
|
|
14
|
+
*
|
|
15
|
+
* ## Debugging Answerable values
|
|
16
|
+
*
|
|
17
|
+
* [`Debug.values`](https://serenity-js.org/api/core/class/Debug/#values) accepts a callback function that receives an array of [`DebuggingResult`](https://serenity-js.org/api/core/interface/DebuggingResult/) objects,
|
|
18
|
+
* as well as the result of evaluating each provided [answerable](https://serenity-js.org/api/core/#Answerable) with [`Actor.answer`](https://serenity-js.org/api/core/class/Actor/#answer).
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import { actorCalled, Debug } from '@serenity-js/core'
|
|
22
|
+
* import { Navigate, Page } from '@serenity-js/web'
|
|
23
|
+
*
|
|
24
|
+
* // Running the below through the Node.js debugger makes the actor resolve the provided values
|
|
25
|
+
* // and return them to the debugger function, where you can investigate their contents,
|
|
26
|
+
* // or inspect any Errors the evaluation has resulted with.
|
|
27
|
+
* await actorCalled('Debbie').attemptsTo(
|
|
28
|
+
* Navigate.to('http://example.org'),
|
|
29
|
+
* Debug.values((results, title, url) => {
|
|
30
|
+
* // set a breakpoint here to view `results`, `title` and `url` in your IDE debugger
|
|
31
|
+
* }, Page.current().title(), Page.current().url()), // accepts multiple values
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Accessing Playwright Page
|
|
36
|
+
*
|
|
37
|
+
* [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright)
|
|
38
|
+
* provides features that allow for [experimenting with web UI locators](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright#tune-locators)
|
|
39
|
+
* while the test is paused at breakpoint.
|
|
40
|
+
*
|
|
41
|
+
* Since this functionality is specific to [Playwright](https://serenity-js.org/api/playwright),
|
|
42
|
+
* you can use it by passing [`PlaywrightPage.current().nativePage()`](https://serenity-js.org/api/playwright/class/PlaywrightPage/#current)
|
|
43
|
+
* to Serenity/JS [`Debug.values`](https://serenity-js.org/api/core/class/Debug/#values). Also make sure to name the evaluated value `page`, as this is the variable name that the Playwright VSCode extension expects.
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import { actorCalled, Debug } from '@serenity-js/core'
|
|
47
|
+
* import { PlaywrightPage } from '@serenity-js/playwright'
|
|
48
|
+
*
|
|
49
|
+
* // Running the below through the Node.js debugger makes the actor resolve the provided values
|
|
50
|
+
* // and return them to the debugger function, where you can investigate their contents,
|
|
51
|
+
* // or inspect any Errors the evaluation has resulted with.
|
|
52
|
+
* await actorCalled('Debbie').attemptsTo(
|
|
53
|
+
* Navigate.to('http://example.org'),
|
|
54
|
+
* Debug.values((results, page) => {
|
|
55
|
+
* // set a breakpoint here to use Playwright locator debugging features
|
|
56
|
+
* page.locator('.example-css-class')
|
|
57
|
+
* // note that you can change this selector while having the test paused at breakpoint
|
|
58
|
+
* }, PlaywrightPage.current().nativePage()),
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Learn more
|
|
63
|
+
* - [Node.js debugging - Getting started](https://nodejs.org/en/docs/guides/debugging-getting-started/)
|
|
64
|
+
* - [Node.js debugging in VS Code](https://code.visualstudio.com/docs/nodejs/nodejs-debugging)
|
|
65
|
+
* - [Running and debugging Node.js in WebStorm](https://www.jetbrains.com/help/webstorm/running-and-debugging-node-js.html)
|
|
66
|
+
* - [Playwright Test for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright)
|
|
67
|
+
*
|
|
68
|
+
* @group Activities
|
|
69
|
+
*/
|
|
70
|
+
export declare class Debug<Values extends Array<Answerable<unknown>>> extends Interaction {
|
|
71
|
+
private readonly debuggerFunction;
|
|
72
|
+
private readonly values;
|
|
73
|
+
/**
|
|
74
|
+
* Instructs the [actor](https://serenity-js.org/api/core/class/Actor/) to evaluate the provided `values`,
|
|
75
|
+
* log the results, and then pass them to your `debuggerFunction`.
|
|
76
|
+
*
|
|
77
|
+
* To use this interaction, run your test scenario in the Node.js debugger
|
|
78
|
+
* and set a breakpoint inside the `debuggerFunction`.
|
|
79
|
+
*
|
|
80
|
+
* @param debuggerFunction
|
|
81
|
+
* @param values
|
|
82
|
+
*/
|
|
83
|
+
static values<Values extends Array<Answerable<unknown>>>(debuggerFunction: (results: {
|
|
84
|
+
[Index in keyof Values]: DebuggingResult<Values[Index]>;
|
|
85
|
+
}, ...answers: {
|
|
86
|
+
[Index in keyof Values]: Answered<Values[Index]>;
|
|
87
|
+
}) => Promise<void> | void, ...values: Values): Interaction;
|
|
88
|
+
/**
|
|
89
|
+
* @param description
|
|
90
|
+
* Description of this interaction
|
|
91
|
+
*
|
|
92
|
+
* @param debuggerFunction
|
|
93
|
+
* Callback function to receive the results of debugging
|
|
94
|
+
*
|
|
95
|
+
* @param values
|
|
96
|
+
* Value to be evaluated by the actor, and provided to debuggerFunction
|
|
97
|
+
*/
|
|
98
|
+
protected constructor(description: string, debuggerFunction: (debuggingResults: {
|
|
99
|
+
[Index in keyof Values]: DebuggingResult<Values[Index]>;
|
|
100
|
+
}, ...args: {
|
|
101
|
+
[Index in keyof Values]: Answered<Values[Index]>;
|
|
102
|
+
}) => Promise<void> | void, values: Values);
|
|
103
|
+
/**
|
|
104
|
+
* @inheritDoc
|
|
105
|
+
*/
|
|
106
|
+
performAs(actor: UsesAbilities & AnswersQuestions & CollectsArtifacts): Promise<void>;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=Debug.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../src/screenplay/debugging/Debug.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,qBAAa,KAAK,CAAC,MAAM,SAAS,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAE,SAAQ,WAAW;IAmCzE,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAIjC,OAAO,CAAC,QAAQ,CAAC,MAAM;IArC3B;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,CAAC,MAAM,SAAS,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,gBAAgB,EAAE,CACvE,OAAO,EAAE;SAAI,KAAK,IAAI,MAAM,MAAM,GAAI,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAAE,EACtE,GAAG,OAAO,EAAE;SAAI,KAAK,IAAI,MAAM,MAAM,GAAI,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAAE,KACjE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,MAAM,EAAE,MAAM,GAAG,WAAW;IAQ1D;;;;;;;;;OASG;IACH,SAAS,aACL,WAAW,EAAE,MAAM,EACF,gBAAgB,EAAE,CAC/B,gBAAgB,EAAE;SAAI,KAAK,IAAI,MAAM,MAAM,GAAI,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAAE,EAC/E,GAAG,IAAI,EAAE;SAAI,KAAK,IAAI,MAAM,MAAM,GAAI,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAAE,KAC9D,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,EACR,MAAM,EAAE,MAAM;IAKnC;;OAEG;IACG,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAuC9F"}
|