@serenity-js/core 3.41.1 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -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 +349 -0
- package/esm/screenplay/Question.d.ts.map +1 -0
- package/esm/screenplay/Question.js +671 -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 +11 -11
- package/lib/screenplay/Question.d.ts.map +1 -1
- package/lib/screenplay/Question.js +28 -27
- 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 +279 -8
- 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 +18 -17
- 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
package/lib/screenplay/Task.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Task = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const index_js_1 = require("../errors/index.js");
|
|
5
|
+
const Activity_js_1 = require("./Activity.js");
|
|
6
6
|
/**
|
|
7
7
|
* **Tasks** model **[sequences of activities](https://serenity-js.org/api/core/class/Activity/)**
|
|
8
8
|
* and help you capture meaningful steps of an [actor](https://serenity-js.org/api/core/class/Actor/) workflow
|
|
@@ -103,7 +103,7 @@ const Activity_1 = require("./Activity");
|
|
|
103
103
|
* import { Task, the } from '@serenity-js/core'
|
|
104
104
|
* import { Click, Enter, Key, Press } from '@serenity-js/web'
|
|
105
105
|
*
|
|
106
|
-
* import { FlightFinder } from './ui/flight-finder'
|
|
106
|
+
* import { FlightFinder } from './ui/flight-finder.js'
|
|
107
107
|
*
|
|
108
108
|
* const specifyOriginCity = (originCity: string) =>
|
|
109
109
|
* Task.where(the`#actor specifies origin city of ${ originCity }`,
|
|
@@ -129,7 +129,7 @@ const Activity_1 = require("./Activity");
|
|
|
129
129
|
* import { Task, the } from '@serenity-js/core'
|
|
130
130
|
* import { Click, Enter, Key, PageElement, Press } from '@serenity-js/web'
|
|
131
131
|
*
|
|
132
|
-
* import { FlightFinder } from './ui/flight-finder'
|
|
132
|
+
* import { FlightFinder } from './ui/flight-finder.js'
|
|
133
133
|
*
|
|
134
134
|
* const specifyOriginCity = (originCity: string) =>
|
|
135
135
|
* Task.where(the`#actor specifies origin city of ${ originCity }`,
|
|
@@ -172,7 +172,7 @@ const Activity_1 = require("./Activity");
|
|
|
172
172
|
*
|
|
173
173
|
* @group Screenplay Pattern
|
|
174
174
|
*/
|
|
175
|
-
class Task extends
|
|
175
|
+
class Task extends Activity_js_1.Activity {
|
|
176
176
|
/**
|
|
177
177
|
* A factory method that makes defining custom tasks more convenient.
|
|
178
178
|
*
|
|
@@ -210,7 +210,7 @@ class NotImplementedTask extends Task {
|
|
|
210
210
|
super(description, Task.callerLocation(4));
|
|
211
211
|
}
|
|
212
212
|
performAs(actor) {
|
|
213
|
-
return Promise.reject(new
|
|
213
|
+
return Promise.reject(new index_js_1.ImplementationPendingError(`A task where "${this.toString()}" has not been implemented yet`));
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
//# sourceMappingURL=Task.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Task.js","sourceRoot":"","sources":["../../src/screenplay/Task.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Task.js","sourceRoot":"","sources":["../../src/screenplay/Task.ts"],"names":[],"mappings":";;;AAAA,iDAAgE;AAEhE,+CAAyC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwKG;AACH,MAAsB,IAAK,SAAQ,sBAAQ;IAEvC;;;;;;;;OAQG;IACH,MAAM,CAAC,KAAK,CAAC,WAA+B,EAAE,GAAG,UAAsB;QACnE,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC;YACxB,CAAC,CAAC,IAAI,wBAAwB,CAAC,WAAW,EAAE,UAAU,CAAC;YACvD,CAAC,CAAC,IAAI,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;CAaJ;AA5BD,oBA4BC;AAED;;GAEG;AACH,MAAM,wBAAyB,SAAQ,IAAI;IACc;IAArD,YAAY,WAA+B,EAAU,UAAsB;QACvE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;QADM,eAAU,GAAV,UAAU,CAAY;IAE3E,CAAC;IAED,SAAS,CAAC,KAAyB;QAC/B,OAAO,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC;IAChD,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,kBAAmB,SAAQ,IAAI;IACjC,YAAY,WAA+B;QACvC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED,SAAS,CAAC,KAAyB;QAC/B,OAAO,OAAO,CAAC,MAAM,CACjB,IAAI,qCAA0B,CAAC,iBAAkB,IAAI,CAAC,QAAQ,EAAG,gCAAgC,CAAC,CACrG,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Answerable } from './Answerable';
|
|
2
|
-
import type { Question } from './Question';
|
|
1
|
+
import type { Answerable } from './Answerable.js';
|
|
2
|
+
import type { Question } from './Question.js';
|
|
3
3
|
/**
|
|
4
4
|
* Describes a plain JavaScript object with [`Answerable`](https://serenity-js.org/api/core/#Answerable) properties.
|
|
5
5
|
* Typically, used in conjunction with [`RecursivelyAnswered`](https://serenity-js.org/api/core/#RecursivelyAnswered) and [`Question.fromObject`](https://serenity-js.org/api/core/class/Question/#fromObject).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithAnswerableProperties.d.ts","sourceRoot":"","sources":["../../src/screenplay/WithAnswerableProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WithAnswerableProperties.d.ts","sourceRoot":"","sources":["../../src/screenplay/WithAnswerableProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAClC,CAAC,SAAS,IAAI,GAAG,SAAS,GAAG,CAAC,GAC1B,CAAC,SAAS,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,GACvF,CAAC,SAAS,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACjE,UAAU,CAAC,CAAC,CAAC,CAC5B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AbilityType } from './AbilityType';
|
|
2
|
-
import type { SerialisedAbility } from './SerialisedAbility';
|
|
3
|
-
import type { UsesAbilities } from './UsesAbilities';
|
|
1
|
+
import type { AbilityType } from './AbilityType.js';
|
|
2
|
+
import type { SerialisedAbility } from './SerialisedAbility.js';
|
|
3
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
4
4
|
/**
|
|
5
5
|
* **Abilities** enable [actors](https://serenity-js.org/api/core/class/Actor/)
|
|
6
6
|
* to perform [interactions](https://serenity-js.org/api/core/class/Interaction/) with the system under test
|
|
@@ -360,6 +360,22 @@ import type { UsesAbilities } from './UsesAbilities';
|
|
|
360
360
|
* @group Screenplay Pattern
|
|
361
361
|
*/
|
|
362
362
|
export declare abstract class Ability {
|
|
363
|
+
/**
|
|
364
|
+
* Symbol used to brand Ability instances for cross-module instanceof checks.
|
|
365
|
+
* This addresses the dual-package hazard where the same class loaded from
|
|
366
|
+
* both ESM and CJS creates distinct constructor functions.
|
|
367
|
+
*/
|
|
368
|
+
private static readonly TYPE_BRAND;
|
|
369
|
+
/**
|
|
370
|
+
* Custom instanceof check that works across module boundaries.
|
|
371
|
+
* This addresses the dual-package hazard where the same class loaded from
|
|
372
|
+
* both ESM and CJS creates distinct constructor functions.
|
|
373
|
+
*
|
|
374
|
+
* The check walks up the prototype chain of the instance and compares
|
|
375
|
+
* constructor names, which remain consistent across module boundaries.
|
|
376
|
+
*/
|
|
377
|
+
static [Symbol.hasInstance](instance: unknown): boolean;
|
|
378
|
+
protected constructor();
|
|
363
379
|
/**
|
|
364
380
|
* Used to access an [actor's](https://serenity-js.org/api/core/class/Actor/) [ability](https://serenity-js.org/api/core/class/Ability/) of the given type
|
|
365
381
|
* from within the [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) and [`Question`](https://serenity-js.org/api/core/class/Question/) classes.
|
|
@@ -436,5 +452,12 @@ export declare abstract class Ability {
|
|
|
436
452
|
abilityType(): AbilityType<Ability>;
|
|
437
453
|
private static abilityTypeOf;
|
|
438
454
|
private static ancestorTypes;
|
|
455
|
+
/**
|
|
456
|
+
* Checks if the given constructor is the Ability base class.
|
|
457
|
+
* Uses name comparison to work across ESM/CJS module boundaries
|
|
458
|
+
* where the same class loaded from different module systems
|
|
459
|
+
* creates distinct constructor functions.
|
|
460
|
+
*/
|
|
461
|
+
private static isAbilityClass;
|
|
439
462
|
}
|
|
440
463
|
//# sourceMappingURL=Ability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ability.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/Ability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Ability.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/Ability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqWG;AACH,8BAAsB,OAAO;IAEzB;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAA2C;IAE7E;;;;;;;OAOG;IACH,MAAM,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO;IA4BvD,SAAS;IAIT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,OAAO,EACvB,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,KAAK,EAAE,aAAa,GACrB,CAAC;IAIJ;;;;OAIG;IACH,MAAM,IAAI,iBAAiB;IAe3B;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC;IAI1C;;;;;;;;;;;;;OAaG;IACH,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC;IAInC,OAAO,CAAC,MAAM,CAAC,aAAa;IAQ5B,OAAO,CAAC,MAAM,CAAC,aAAa;IAQ5B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;CAKhC"}
|
|
@@ -360,6 +360,46 @@ exports.Ability = void 0;
|
|
|
360
360
|
* @group Screenplay Pattern
|
|
361
361
|
*/
|
|
362
362
|
class Ability {
|
|
363
|
+
/**
|
|
364
|
+
* Symbol used to brand Ability instances for cross-module instanceof checks.
|
|
365
|
+
* This addresses the dual-package hazard where the same class loaded from
|
|
366
|
+
* both ESM and CJS creates distinct constructor functions.
|
|
367
|
+
*/
|
|
368
|
+
static TYPE_BRAND = Symbol.for('@serenity-js/core/Ability');
|
|
369
|
+
/**
|
|
370
|
+
* Custom instanceof check that works across module boundaries.
|
|
371
|
+
* This addresses the dual-package hazard where the same class loaded from
|
|
372
|
+
* both ESM and CJS creates distinct constructor functions.
|
|
373
|
+
*
|
|
374
|
+
* The check walks up the prototype chain of the instance and compares
|
|
375
|
+
* constructor names, which remain consistent across module boundaries.
|
|
376
|
+
*/
|
|
377
|
+
static [Symbol.hasInstance](instance) {
|
|
378
|
+
if (instance === null || typeof instance !== 'object') {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
381
|
+
// First, verify this is an Ability instance using the brand
|
|
382
|
+
if (instance[Ability.TYPE_BRAND] !== true) {
|
|
383
|
+
return false;
|
|
384
|
+
}
|
|
385
|
+
// When checking against the base Ability class, any branded instance qualifies
|
|
386
|
+
if (this.name === 'Ability') {
|
|
387
|
+
return true;
|
|
388
|
+
}
|
|
389
|
+
// For subclass checks, walk the prototype chain and compare by name
|
|
390
|
+
// This works across ESM/CJS boundaries where constructor references differ
|
|
391
|
+
let proto = Object.getPrototypeOf(instance);
|
|
392
|
+
while (proto !== null) {
|
|
393
|
+
if (proto.constructor?.name === this.name) {
|
|
394
|
+
return true;
|
|
395
|
+
}
|
|
396
|
+
proto = Object.getPrototypeOf(proto);
|
|
397
|
+
}
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
constructor() {
|
|
401
|
+
this[Ability.TYPE_BRAND] = true;
|
|
402
|
+
}
|
|
363
403
|
/**
|
|
364
404
|
* Used to access an [actor's](https://serenity-js.org/api/core/class/Actor/) [ability](https://serenity-js.org/api/core/class/Ability/) of the given type
|
|
365
405
|
* from within the [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) and [`Question`](https://serenity-js.org/api/core/class/Question/) classes.
|
|
@@ -461,10 +501,21 @@ class Ability {
|
|
|
461
501
|
}
|
|
462
502
|
static ancestorTypes(abilityType, ancestors = []) {
|
|
463
503
|
const parentType = Object.getPrototypeOf(abilityType);
|
|
464
|
-
return !parentType || parentType
|
|
504
|
+
return !parentType || Ability.isAbilityClass(parentType)
|
|
465
505
|
? ancestors
|
|
466
506
|
: this.ancestorTypes(parentType, [parentType, ...ancestors]);
|
|
467
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Checks if the given constructor is the Ability base class.
|
|
510
|
+
* Uses name comparison to work across ESM/CJS module boundaries
|
|
511
|
+
* where the same class loaded from different module systems
|
|
512
|
+
* creates distinct constructor functions.
|
|
513
|
+
*/
|
|
514
|
+
static isAbilityClass(constructor) {
|
|
515
|
+
return typeof constructor === 'function'
|
|
516
|
+
&& constructor.name === 'Ability'
|
|
517
|
+
&& typeof constructor.abilityType === 'function';
|
|
518
|
+
}
|
|
468
519
|
}
|
|
469
520
|
exports.Ability = Ability;
|
|
470
521
|
//# sourceMappingURL=Ability.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ability.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/Ability.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqWG;AACH,MAAsB,OAAO;IAEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,CAAC,EAAE,CAEL,KAAoB;QAEpB,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,CAAM,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,MAAM;QACF,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC;QAE5C,IAAI,YAAY,KAAK,WAAW,EAAE,CAAC;YAC/B,OAAO;gBACH,KAAK,EAAE,YAAY;gBACnB,IAAI,EAAE,WAAW;aACpB,CAAC;QACN,CAAC;QACD,OAAO;YACH,IAAI,EAAE,WAAW;SACpB,CAAA;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,WAAW;QACd,OAAO,OAAO,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"Ability.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/Ability.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqWG;AACH,MAAsB,OAAO;IAEzB;;;;OAIG;IACK,MAAM,CAAU,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;IAE7E;;;;;;;OAOG;IACH,MAAM,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAiB;QACzC,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;YACpD,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,4DAA4D;QAC5D,IAAK,QAAgB,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,CAAC;YACjD,OAAO,KAAK,CAAC;QACjB,CAAC;QAED,+EAA+E;QAC/E,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,oEAAoE;QACpE,2EAA2E;QAC3E,IAAI,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC5C,OAAO,KAAK,KAAK,IAAI,EAAE,CAAC;YACpB,IAAI,KAAK,CAAC,WAAW,EAAE,IAAI,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;gBACxC,OAAO,IAAI,CAAC;YAChB,CAAC;YACD,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACzC,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;QACK,IAAY,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IAC7C,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,CAAC,EAAE,CAEL,KAAoB;QAEpB,OAAO,KAAK,CAAC,SAAS,CAAC,IAAI,CAAM,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,MAAM;QACF,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAC3C,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC;QAE5C,IAAI,YAAY,KAAK,WAAW,EAAE,CAAC;YAC/B,OAAO;gBACH,KAAK,EAAE,YAAY;gBACnB,IAAI,EAAE,WAAW;aACpB,CAAC;QACN,CAAC;QACD,OAAO;YACH,IAAI,EAAE,WAAW;SACpB,CAAA;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,WAAW;QACd,OAAO,OAAO,CAAC,aAAa,CAAC,IAAuC,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,WAAW;QACP,OAAO,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,WAAmC,CAAC,CAAC;IAC3E,CAAC;IAEO,MAAM,CAAC,aAAa,CAAC,WAAiC;QAC1D,MAAM,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QACxD,OAAO;YACH,GAAG,YAAY;YACf,WAAW;SACd,CAAC,CAAC,CAAC,CAAC;IACT,CAAC;IAEO,MAAM,CAAC,aAAa,CAAC,WAAiC,EAAE,YAAyC,EAAE;QACvG,MAAM,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QAEtD,OAAO,CAAE,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC;YACrD,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAE,UAAU,EAAE,GAAG,SAAS,CAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,cAAc,CAAC,WAAoB;QAC9C,OAAO,OAAO,WAAW,KAAK,UAAU;eACjC,WAAW,CAAC,IAAI,KAAK,SAAS;eAC9B,OAAQ,WAA8B,CAAC,WAAW,KAAK,UAAU,CAAC;IAC7E,CAAC;;AA/KL,0BAgLC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Ability } from './Ability';
|
|
2
|
-
import type { UsesAbilities } from './UsesAbilities';
|
|
1
|
+
import type { Ability } from './Ability.js';
|
|
2
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
3
3
|
/**
|
|
4
4
|
* An interface describing the static access method that every [`Ability`](https://serenity-js.org/api/core/class/Ability/) class
|
|
5
5
|
* needs to provide in order to be accessible from within the [interactions](https://serenity-js.org/api/core/class/Interaction/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbilityType.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/AbilityType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AbilityType.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/AbilityType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,OAAO,IACrC,CAAC,QAAQ,MAAM,GAAI,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,GAAG;IACpC,EAAE,CAAC,CAAC,SAAS,OAAO,EAChB,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,KAAK,EAAE,aAAa,GACrB,CAAC,CAAC;IACL,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC,CAAA;CACtC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Answerable } from '../Answerable';
|
|
2
|
-
import type { AnswersQuestions } from '../questions';
|
|
3
|
-
import { Ability } from './Ability';
|
|
4
|
-
import type { UsesAbilities } from './UsesAbilities';
|
|
1
|
+
import type { Answerable } from '../Answerable.js';
|
|
2
|
+
import type { AnswersQuestions } from '../questions/index.js';
|
|
3
|
+
import { Ability } from './Ability.js';
|
|
4
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
5
5
|
/**
|
|
6
6
|
* This [`Ability`](https://serenity-js.org/api/core/class/Ability/) enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to resolve the value of a given [`Answerable`](https://serenity-js.org/api/core/#Answerable).
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnswerQuestions.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/AnswerQuestions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AnswerQuestions.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/AnswerQuestions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,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,eAAgB,SAAQ,OAAO;IAC5B,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,GAAG,aAAa;gBAAvC,KAAK,EAAE,gBAAgB,GAAG,aAAa;IAItE,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAahD,OAAO,CAAC,MAAM,CAAC,SAAS;CAG3B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AnswerQuestions = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const index_js_1 = require("../../io/index.js");
|
|
5
|
+
const Question_js_1 = require("../Question.js");
|
|
6
|
+
const Ability_js_1 = require("./Ability.js");
|
|
7
7
|
/**
|
|
8
8
|
* This [`Ability`](https://serenity-js.org/api/core/class/Ability/) enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to resolve the value of a given [`Answerable`](https://serenity-js.org/api/core/#Answerable).
|
|
9
9
|
*
|
|
@@ -13,17 +13,17 @@ const Ability_1 = require("./Ability");
|
|
|
13
13
|
*
|
|
14
14
|
* @group Abilities
|
|
15
15
|
*/
|
|
16
|
-
class AnswerQuestions extends
|
|
16
|
+
class AnswerQuestions extends Ability_js_1.Ability {
|
|
17
17
|
actor;
|
|
18
18
|
constructor(actor) {
|
|
19
19
|
super();
|
|
20
20
|
this.actor = actor;
|
|
21
21
|
}
|
|
22
22
|
answer(answerable) {
|
|
23
|
-
if (AnswerQuestions.isDefined(answerable) &&
|
|
23
|
+
if (AnswerQuestions.isDefined(answerable) && index_js_1.ValueInspector.isPromise(answerable)) {
|
|
24
24
|
return answerable;
|
|
25
25
|
}
|
|
26
|
-
if (AnswerQuestions.isDefined(answerable) &&
|
|
26
|
+
if (AnswerQuestions.isDefined(answerable) && Question_js_1.Question.isAQuestion(answerable)) {
|
|
27
27
|
return this.answer(answerable.answeredBy(this.actor));
|
|
28
28
|
}
|
|
29
29
|
return Promise.resolve(answerable);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnswerQuestions.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/AnswerQuestions.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AnswerQuestions.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/AnswerQuestions.ts"],"names":[],"mappings":";;;AAAA,gDAAmD;AAEnD,gDAA0C;AAE1C,6CAAuC;AAGvC;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,oBAAO;IACT;IAA/B,YAA+B,KAAuC;QAClE,KAAK,EAAE,CAAC;QADmB,UAAK,GAAL,KAAK,CAAkC;IAEtE,CAAC;IAED,MAAM,CAAI,UAAyB;QAE/B,IAAI,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,yBAAc,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC;YAChF,OAAO,UAAU,CAAC;QACtB,CAAC;QAED,IAAI,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,sBAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;YAC5E,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1D,CAAC;QAED,OAAO,OAAO,CAAC,OAAO,CAAC,UAAe,CAAC,CAAC;IAC5C,CAAC;IAEO,MAAM,CAAC,SAAS,CAAI,CAAgB;QACxC,OAAO,CAAC,CAAC,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC;IAC5C,CAAC;CACJ;AArBD,0CAqBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Ability } from './Ability';
|
|
2
|
-
import type { UsesAbilities } from './UsesAbilities';
|
|
1
|
+
import type { Ability } from './Ability.js';
|
|
2
|
+
import type { UsesAbilities } from './UsesAbilities.js';
|
|
3
3
|
/**
|
|
4
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
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CanHaveAbilities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/CanHaveAbilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { EmitsDomainEvents } from '../../events';
|
|
2
|
-
import { type Outcome } from '../../model';
|
|
3
|
-
import type { PerformsActivities } from '../activities/PerformsActivities';
|
|
4
|
-
import type { Activity } from '../Activity';
|
|
5
|
-
import type { AnswersQuestions } from '../questions';
|
|
6
|
-
import { Ability } from './Ability';
|
|
7
|
-
import type { UsesAbilities } from './UsesAbilities';
|
|
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
8
|
/**
|
|
9
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
10
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformActivities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/PerformActivities.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
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"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PerformActivities = void 0;
|
|
4
4
|
const tiny_types_1 = require("tiny-types");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
5
|
+
const index_js_1 = require("../../errors/index.js");
|
|
6
|
+
const index_js_2 = require("../../events/index.js");
|
|
7
|
+
const index_js_3 = require("../../io/index.js");
|
|
8
|
+
const index_js_4 = require("../../model/index.js");
|
|
9
|
+
const index_js_5 = require("../../model/index.js");
|
|
10
|
+
const Interaction_js_1 = require("../Interaction.js");
|
|
11
|
+
const Ability_js_1 = require("./Ability.js");
|
|
12
12
|
/**
|
|
13
13
|
* 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/).
|
|
14
14
|
*
|
|
@@ -18,7 +18,7 @@ const Ability_1 = require("./Ability");
|
|
|
18
18
|
*
|
|
19
19
|
* @group Abilities
|
|
20
20
|
*/
|
|
21
|
-
class PerformActivities extends
|
|
21
|
+
class PerformActivities extends Ability_js_1.Ability {
|
|
22
22
|
actor;
|
|
23
23
|
stage;
|
|
24
24
|
constructor(actor, stage) {
|
|
@@ -30,14 +30,14 @@ class PerformActivities extends Ability_1.Ability {
|
|
|
30
30
|
const sceneId = this.stage.currentSceneId();
|
|
31
31
|
const details = this.detailsOf(this.nameOf(activity), activity.instantiationLocation());
|
|
32
32
|
const activityId = this.stage.assignNewActivityId(details);
|
|
33
|
-
const [activityStarts, activityFinished] = activity instanceof
|
|
34
|
-
? [
|
|
35
|
-
: [
|
|
33
|
+
const [activityStarts, activityFinished] = activity instanceof Interaction_js_1.Interaction
|
|
34
|
+
? [index_js_2.InteractionStarts, index_js_2.InteractionFinished]
|
|
35
|
+
: [index_js_2.TaskStarts, index_js_2.TaskFinished];
|
|
36
36
|
try {
|
|
37
37
|
this.stage.announce(new activityStarts(sceneId, activityId, details, this.stage.currentTime()));
|
|
38
38
|
await activity.performAs(this.actor);
|
|
39
39
|
const name = await activity.describedBy(this.actor);
|
|
40
|
-
this.stage.announce(new activityFinished(sceneId, activityId, this.detailsOf(name, activity.instantiationLocation()), new
|
|
40
|
+
this.stage.announce(new activityFinished(sceneId, activityId, this.detailsOf(name, activity.instantiationLocation()), new index_js_5.ExecutionSuccessful(), this.stage.currentTime()));
|
|
41
41
|
}
|
|
42
42
|
catch (error) {
|
|
43
43
|
this.stage.announce(new activityFinished(sceneId, activityId, details, this.outcomeFor(error), this.stage.currentTime()));
|
|
@@ -49,27 +49,27 @@ class PerformActivities extends Ability_1.Ability {
|
|
|
49
49
|
}
|
|
50
50
|
outcomeFor(error) {
|
|
51
51
|
return (0, tiny_types_1.match)(error)
|
|
52
|
-
.when(
|
|
53
|
-
.when(
|
|
54
|
-
.when(
|
|
52
|
+
.when(index_js_1.ImplementationPendingError, _ => new index_js_5.ImplementationPending(error))
|
|
53
|
+
.when(index_js_1.TestCompromisedError, _ => new index_js_5.ExecutionCompromised(error))
|
|
54
|
+
.when(index_js_1.AssertionError, _ => new index_js_5.ExecutionFailedWithAssertionError(error))
|
|
55
55
|
.when(Error, _ => {
|
|
56
56
|
// Mocha
|
|
57
57
|
if (/AssertionError/.test(error.constructor.name)) {
|
|
58
|
-
return new
|
|
58
|
+
return new index_js_5.ExecutionFailedWithAssertionError(error);
|
|
59
59
|
}
|
|
60
60
|
// Playwright Test
|
|
61
61
|
if (/TestSkipError/.test(error.constructor.name)) {
|
|
62
|
-
return new
|
|
62
|
+
return new index_js_4.ExecutionSkipped(error);
|
|
63
63
|
}
|
|
64
|
-
return new
|
|
64
|
+
return new index_js_5.ExecutionFailedWithError(error);
|
|
65
65
|
})
|
|
66
|
-
.else(_ => new
|
|
66
|
+
.else(_ => new index_js_5.ExecutionFailedWithError(error));
|
|
67
67
|
}
|
|
68
68
|
detailsOf(name, instantiationLocation) {
|
|
69
|
-
return new
|
|
69
|
+
return new index_js_5.ActivityDetails(new index_js_5.Name(name), instantiationLocation);
|
|
70
70
|
}
|
|
71
71
|
nameOf(activity) {
|
|
72
|
-
const template =
|
|
72
|
+
const template = index_js_3.ValueInspector.hasItsOwnToString(activity)
|
|
73
73
|
? activity.toString()
|
|
74
74
|
: `#actor performs ${activity.constructor.name}`;
|
|
75
75
|
return template.replaceAll('#actor', this.actor.name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformActivities.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/PerformActivities.ts"],"names":[],"mappings":";;;AAAA,2CAAmC;AAEnC,
|
|
1
|
+
{"version":3,"file":"PerformActivities.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/PerformActivities.ts"],"names":[],"mappings":";;;AAAA,2CAAmC;AAEnC,oDAAyG;AAEzG,oDAAyG;AACzG,gDAA4E;AAC5E,mDAAsE;AACtE,mDAQ8B;AAG9B,sDAAgD;AAEhD,6CAAuC;AAGvC;;;;;;;;GAQG;AACH,MAAa,iBAAkB,SAAQ,oBAAO;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,4BAAW;YACxE,CAAC,CAAC,CAAE,4BAAiB,EAAE,8BAAmB,CAAE;YAC5C,CAAC,CAAC,CAAE,qBAAU,EAAE,uBAAY,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,8BAAmB,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,IAAA,kBAAK,EAAiB,KAAK,CAAC;aAC9B,IAAI,CAAC,qCAA0B,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,gCAAqB,CAAC,KAAK,CAAC,CAAC;aACvE,IAAI,CAAC,+BAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,+BAAoB,CAAC,KAAK,CAAC,CAAC;aAChE,IAAI,CAAC,yBAAc,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,4CAAiC,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,4CAAiC,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,2BAAgB,CAAC,KAAK,CAAC,CAAC;YACvC,CAAC;YAED,OAAO,IAAI,mCAAwB,CAAC,KAAK,CAAC,CAAC;QAC/C,CAAC,CAAC;aACD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,mCAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAEO,SAAS,CAAC,IAAY,EAAE,qBAAyC;QACrE,OAAO,IAAI,0BAAe,CACtB,IAAI,eAAI,CAAC,IAAI,CAAC,EACd,qBAAqB,CACxB,CAAA;IACL,CAAC;IAES,MAAM,CAAC,QAAkB;QAC/B,MAAM,QAAQ,GAAG,yBAAc,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;AArFD,8CAqFC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Ability } from './Ability';
|
|
2
|
-
import type { AbilityType } from './AbilityType';
|
|
1
|
+
import type { Ability } from './Ability.js';
|
|
2
|
+
import type { AbilityType } from './AbilityType.js';
|
|
3
3
|
/**
|
|
4
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
5
|
* or answer a [`Question`](https://serenity-js.org/api/core/class/Question/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsesAbilities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/UsesAbilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './Ability';
|
|
2
|
-
export * from './AbilityType';
|
|
3
|
-
export * from './AnswerQuestions';
|
|
4
|
-
export * from './CanHaveAbilities';
|
|
5
|
-
export * from './Discardable';
|
|
6
|
-
export * from './Initialisable';
|
|
7
|
-
export * from './PerformActivities';
|
|
8
|
-
export * from './SerialisedAbility';
|
|
9
|
-
export * from './UsesAbilities';
|
|
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
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/abilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
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"}
|
|
@@ -14,13 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Ability"), exports);
|
|
18
|
-
__exportStar(require("./AbilityType"), exports);
|
|
19
|
-
__exportStar(require("./AnswerQuestions"), exports);
|
|
20
|
-
__exportStar(require("./CanHaveAbilities"), exports);
|
|
21
|
-
__exportStar(require("./Discardable"), exports);
|
|
22
|
-
__exportStar(require("./Initialisable"), exports);
|
|
23
|
-
__exportStar(require("./PerformActivities"), exports);
|
|
24
|
-
__exportStar(require("./SerialisedAbility"), exports);
|
|
25
|
-
__exportStar(require("./UsesAbilities"), exports);
|
|
17
|
+
__exportStar(require("./Ability.js"), exports);
|
|
18
|
+
__exportStar(require("./AbilityType.js"), exports);
|
|
19
|
+
__exportStar(require("./AnswerQuestions.js"), exports);
|
|
20
|
+
__exportStar(require("./CanHaveAbilities.js"), exports);
|
|
21
|
+
__exportStar(require("./Discardable.js"), exports);
|
|
22
|
+
__exportStar(require("./Initialisable.js"), exports);
|
|
23
|
+
__exportStar(require("./PerformActivities.js"), exports);
|
|
24
|
+
__exportStar(require("./SerialisedAbility.js"), exports);
|
|
25
|
+
__exportStar(require("./UsesAbilities.js"), exports);
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/abilities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,mDAAiC;AACjC,qDAAmC;AACnC,yDAAuC;AACvC,yDAAuC;AACvC,qDAAmC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Activity } from '../Activity';
|
|
1
|
+
import type { Activity } from '../Activity.js';
|
|
2
2
|
/**
|
|
3
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
4
|
* such as [tasks](https://serenity-js.org/api/core/class/Task/) or [interactions](https://serenity-js.org/api/core/class/Interaction/).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformsActivities.d.ts","sourceRoot":"","sources":["../../../src/screenplay/activities/PerformsActivities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './PerformsActivities';
|
|
1
|
+
export * from './PerformsActivities.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./PerformsActivities"), exports);
|
|
17
|
+
__exportStar(require("./PerformsActivities.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/activities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Artifact, Name } from '../../model';
|
|
1
|
+
import type { Artifact, Name } from '../../model/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) who can collect artifacts, such as photos or `JSON` data.,
|
|
4
4
|
* while the scenario is being executed
|
|
@@ -17,8 +17,8 @@ export interface CollectsArtifacts {
|
|
|
17
17
|
* ```ts
|
|
18
18
|
* import fs from 'node:fs';
|
|
19
19
|
* import { Answerable, Interaction, the } from '@serenity-js/core'
|
|
20
|
-
* import { Path } from '@serenity-js/core/
|
|
21
|
-
* import { Name, TextData } from '@serenity-js/core/
|
|
20
|
+
* import { Path } from '@serenity-js/core/io'
|
|
21
|
+
* import { Name, TextData } from '@serenity-js/core/model'
|
|
22
22
|
*
|
|
23
23
|
* export class Attach {
|
|
24
24
|
*
|
|
@@ -48,7 +48,7 @@ export interface CollectsArtifacts {
|
|
|
48
48
|
*
|
|
49
49
|
* ```ts
|
|
50
50
|
* import { actorCalled } from '@serenity-js/core'
|
|
51
|
-
* import { Path } from '@serenity-js/core/
|
|
51
|
+
* import { Path } from '@serenity-js/core/io'
|
|
52
52
|
*
|
|
53
53
|
* actorCalled('Alice').attemptsTo(
|
|
54
54
|
* Attach.textData('some text', 'some name'),
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './CollectsArtifacts';
|
|
1
|
+
export * from './CollectsArtifacts.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./CollectsArtifacts"), exports);
|
|
17
|
+
__exportStar(require("./CollectsArtifacts.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screenplay/artifacts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|