@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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Timestamp } from './models/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) or a supporting class capable of telling
|
|
4
|
+
* the current wall clock time.
|
|
5
|
+
*
|
|
6
|
+
* ## Learn more
|
|
7
|
+
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
8
|
+
* - [`Serenity`](https://serenity-js.org/api/core/class/Serenity/)
|
|
9
|
+
* - [`Stage`](https://serenity-js.org/api/core/class/Stage/)
|
|
10
|
+
*
|
|
11
|
+
* @group Time
|
|
12
|
+
*/
|
|
13
|
+
export interface TellsTime {
|
|
14
|
+
/**
|
|
15
|
+
* Returns current wall clock time.
|
|
16
|
+
*/
|
|
17
|
+
currentTime(): Timestamp;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=TellsTime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TellsTime.d.ts","sourceRoot":"","sources":["../../../src/screenplay/time/TellsTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,WAAW,IAAI,SAAS,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TellsTime.js","sourceRoot":"","sources":["../../../src/screenplay/time/TellsTime.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Discardable, SerialisedAbility } from '../../abilities/index.js';
|
|
2
|
+
import { Ability } from '../../abilities/index.js';
|
|
3
|
+
import type { Clock, DelayedCallback, Duration, RepeatUntilLimits } from '../models/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* An [`Ability`](https://serenity-js.org/api/core/class/Ability/) that enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to schedule a callback function
|
|
6
|
+
* to be executed with a delay, or until some condition is met.
|
|
7
|
+
*
|
|
8
|
+
* Used internally by the [interaction](https://serenity-js.org/api/core/class/Interaction/) to [`Wait`](https://serenity-js.org/api/core/class/Wait/).
|
|
9
|
+
*
|
|
10
|
+
* @experimental
|
|
11
|
+
*
|
|
12
|
+
* @group Time
|
|
13
|
+
*/
|
|
14
|
+
export declare class ScheduleWork extends Ability implements Discardable {
|
|
15
|
+
private readonly scheduler;
|
|
16
|
+
constructor(clock: Clock, interactionTimeout: Duration);
|
|
17
|
+
/**
|
|
18
|
+
* @param callback
|
|
19
|
+
* @param limits
|
|
20
|
+
*/
|
|
21
|
+
repeatUntil<Result>(callback: DelayedCallback<Result>, limits?: RepeatUntilLimits<Result>): Promise<Result>;
|
|
22
|
+
waitFor(delay: Duration): Promise<void>;
|
|
23
|
+
discard(): void;
|
|
24
|
+
toJSON(): SerialisedAbility;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=ScheduleWork.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduleWork.d.ts","sourceRoot":"","sources":["../../../../src/screenplay/time/abilities/ScheduleWork.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG9F;;;;;;;;;GASG;AACH,qBAAa,YAAa,SAAQ,OAAQ,YAAW,WAAW;IAE5D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;gBAE1B,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ;IAKtD;;;OAGG;IACH,WAAW,CAAC,MAAM,EACd,QAAQ,EAAE,eAAe,CAAC,MAAM,CAAC,EACjC,MAAM,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,GACnC,OAAO,CAAC,MAAM,CAAC;IAIlB,OAAO,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvC,OAAO,IAAI,IAAI;IAIN,MAAM,IAAI,iBAAiB;CAQvC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Ability } from '../../abilities/index.js';
|
|
2
|
+
import { Scheduler } from '../models/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* An [`Ability`](https://serenity-js.org/api/core/class/Ability/) that enables an [`Actor`](https://serenity-js.org/api/core/class/Actor/) to schedule a callback function
|
|
5
|
+
* to be executed with a delay, or until some condition is met.
|
|
6
|
+
*
|
|
7
|
+
* Used internally by the [interaction](https://serenity-js.org/api/core/class/Interaction/) to [`Wait`](https://serenity-js.org/api/core/class/Wait/).
|
|
8
|
+
*
|
|
9
|
+
* @experimental
|
|
10
|
+
*
|
|
11
|
+
* @group Time
|
|
12
|
+
*/
|
|
13
|
+
export class ScheduleWork extends Ability {
|
|
14
|
+
scheduler;
|
|
15
|
+
constructor(clock, interactionTimeout) {
|
|
16
|
+
super();
|
|
17
|
+
this.scheduler = new Scheduler(clock, interactionTimeout);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @param callback
|
|
21
|
+
* @param limits
|
|
22
|
+
*/
|
|
23
|
+
repeatUntil(callback, limits) {
|
|
24
|
+
return this.scheduler.repeatUntil(callback, limits);
|
|
25
|
+
}
|
|
26
|
+
waitFor(delay) {
|
|
27
|
+
return this.scheduler.waitFor(delay);
|
|
28
|
+
}
|
|
29
|
+
discard() {
|
|
30
|
+
this.scheduler.stop();
|
|
31
|
+
}
|
|
32
|
+
toJSON() {
|
|
33
|
+
return {
|
|
34
|
+
...super.toJSON(),
|
|
35
|
+
options: {
|
|
36
|
+
scheduler: this.scheduler.toJSON(),
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=ScheduleWork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduleWork.js","sourceRoot":"","sources":["../../../../src/screenplay/time/abilities/ScheduleWork.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;;;;;;;;GASG;AACH,MAAM,OAAO,YAAa,SAAQ,OAAO;IAEpB,SAAS,CAAY;IAEtC,YAAY,KAAY,EAAE,kBAA4B;QAClD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACH,WAAW,CACP,QAAiC,EACjC,MAAkC;QAElC,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED,OAAO,CAAC,KAAe;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,OAAO;QACH,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAEQ,MAAM;QACX,OAAO;YACH,GAAG,KAAK,CAAC,MAAM,EAAE;YACjB,OAAO,EAAE;gBACL,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE;aACrC;SACJ,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/screenplay/time/abilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/screenplay/time/abilities/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import type { UsesAbilities } from '../../abilities/index.js';
|
|
2
|
+
import type { Answerable } from '../../Answerable.js';
|
|
3
|
+
import { Interaction } from '../../Interaction.js';
|
|
4
|
+
import type { AnswersQuestions, Expectation } from '../../questions/index.js';
|
|
5
|
+
import { Duration } from '../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* `Wait` is a synchronisation statement that instructs the [actor](https://serenity-js.org/api/core/class/Actor/)
|
|
8
|
+
* to wait before proceeding with their next [activity](https://serenity-js.org/api/core/class/Activity/),
|
|
9
|
+
* either for a set [duration](https://serenity-js.org/api/core/class/Duration/), or until a given [expectation](https://serenity-js.org/api/core/class/Expectation/) is met.
|
|
10
|
+
*
|
|
11
|
+
* You can configure the timeout of the interaction to [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until):
|
|
12
|
+
* - globally, using [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
13
|
+
* - locally, on a per-interaction basis using [`Wait.upTo`](https://serenity-js.org/api/core/class/Wait/#upTo)
|
|
14
|
+
*
|
|
15
|
+
* :::tip Portable waiting
|
|
16
|
+
* Serenity/JS implements `Wait` from scratch, so that the behaviour is consistent no matter the integration tool you use (Playwright, WebdriverIO, Selenium, etc.)
|
|
17
|
+
* or the type of testing you do (Web, REST API, component testing, etc.)
|
|
18
|
+
* :::
|
|
19
|
+
*
|
|
20
|
+
* ## Wait with Web-based tests
|
|
21
|
+
*
|
|
22
|
+
* ### Example widget
|
|
23
|
+
*
|
|
24
|
+
* ```html
|
|
25
|
+
* <!--
|
|
26
|
+
* After about 1 second, the text will change from 'Loading...' to 'Ready!'
|
|
27
|
+
* -->
|
|
28
|
+
* <h1 id="status">Loading...</h1>
|
|
29
|
+
* <script>
|
|
30
|
+
* (function () {
|
|
31
|
+
* setTimeout(function () {
|
|
32
|
+
* document.getElementById('status').textContent = 'Ready!'
|
|
33
|
+
* }, 1000);
|
|
34
|
+
* })();
|
|
35
|
+
* </script>
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ### Lean Page Object describing the widget
|
|
39
|
+
*
|
|
40
|
+
* ```ts
|
|
41
|
+
* import { By, PageElement, Text } from '@serenity-js/web'
|
|
42
|
+
*
|
|
43
|
+
* class App {
|
|
44
|
+
* static status = () =>
|
|
45
|
+
* Text.of(PageElement.located(By.id('status'))
|
|
46
|
+
* .describedAs('status widget'))
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ### Waiting for a set duration
|
|
51
|
+
*
|
|
52
|
+
* ```ts
|
|
53
|
+
* import { actorCalled, Duration, Wait } from '@serenity-js/core'
|
|
54
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
|
|
55
|
+
* import { Ensure, equals } from '@serenity-js/assertions'
|
|
56
|
+
* import { Browser, chromium } from 'playwright'
|
|
57
|
+
*
|
|
58
|
+
* const browser = await chromium.launch({ headless: true })
|
|
59
|
+
*
|
|
60
|
+
* await actorCalled('Inês')
|
|
61
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
62
|
+
* .attemptsTo(
|
|
63
|
+
* Wait.for(Duration.ofMilliseconds(1_500)),
|
|
64
|
+
* Ensure.that(App.status(), equals('Ready!')),
|
|
65
|
+
* );
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* **Please note** that while the above implementation works,
|
|
69
|
+
* this approach is inefficient because at best
|
|
70
|
+
* the actor might wait too long and at worst the test
|
|
71
|
+
* might become "flaky" if any external interference
|
|
72
|
+
* (like network glitches, animations taking a bit too long etc.)
|
|
73
|
+
* makes the actor wait not long enough.
|
|
74
|
+
*
|
|
75
|
+
* ### Waiting until a condition is met
|
|
76
|
+
*
|
|
77
|
+
* ```ts
|
|
78
|
+
* import { actorCalled, Wait } from '@serenity-js/core'
|
|
79
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
|
|
80
|
+
* import { equals } from '@serenity-js/assertions'
|
|
81
|
+
* import { Browser, chromium } from 'playwright'
|
|
82
|
+
*
|
|
83
|
+
* const browser = await chromium.launch({ headless: true })
|
|
84
|
+
*
|
|
85
|
+
* await actorCalled('Wendy')
|
|
86
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
87
|
+
* .attemptsTo(
|
|
88
|
+
* Wait.until(App.status(), equals('Ready!')),
|
|
89
|
+
* // app is ready, proceed with the scenario
|
|
90
|
+
* );
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* `Wait.until` makes the [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
94
|
+
* keep asking the [`Question`](https://serenity-js.org/api/core/class/Question/),
|
|
95
|
+
* in this case `Text.of(App.status)`, until the answer meets
|
|
96
|
+
* the expectation, or a timeout expires (default: 5s).
|
|
97
|
+
*
|
|
98
|
+
* **Please note** that both Ensure and Wait can be used with
|
|
99
|
+
* the same expectations, like `equals` or `includes`.
|
|
100
|
+
*
|
|
101
|
+
* ### Changing the default timeout
|
|
102
|
+
*
|
|
103
|
+
* ```ts
|
|
104
|
+
* import { actorCalled, Duration, Wait } from '@serenity-js/core';
|
|
105
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright';
|
|
106
|
+
* import { equals } from '@serenity-js/assertions';
|
|
107
|
+
* import { Browser, chromium } from 'playwright';
|
|
108
|
+
*
|
|
109
|
+
* const browser: Browser = await chromium.launch({ headless: true });
|
|
110
|
+
*
|
|
111
|
+
* await actorCalled('Polly')
|
|
112
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
113
|
+
* .attemptsTo(
|
|
114
|
+
* Wait.upTo(Duration.ofSeconds(3))
|
|
115
|
+
* .until(App.status(), equals('Ready!')),
|
|
116
|
+
* // app is ready, proceed with the scenario
|
|
117
|
+
* );
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* ## Learn more
|
|
121
|
+
* - [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
122
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
123
|
+
* - [`Expectation`](https://serenity-js.org/api/core/class/Expectation/)
|
|
124
|
+
*
|
|
125
|
+
* @group Time
|
|
126
|
+
*/
|
|
127
|
+
export declare class Wait {
|
|
128
|
+
/**
|
|
129
|
+
* Minimum timeout that can be used with [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until),
|
|
130
|
+
* defaults to 250 milliseconds,
|
|
131
|
+
*/
|
|
132
|
+
static readonly minimumTimeout: Duration;
|
|
133
|
+
/**
|
|
134
|
+
* The amount of time [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until) should wait between condition checks,
|
|
135
|
+
* defaults to 500ms.
|
|
136
|
+
*
|
|
137
|
+
* Use [`WaitUntil.pollingEvery`](https://serenity-js.org/api/core/class/WaitUntil/#pollingEvery) to override it for a given interaction.
|
|
138
|
+
*
|
|
139
|
+
* @type {Duration}
|
|
140
|
+
*/
|
|
141
|
+
static readonly defaultPollingInterval: Duration;
|
|
142
|
+
/**
|
|
143
|
+
* Minimum polling interval of 50ms between condition checks, used with [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until).
|
|
144
|
+
*/
|
|
145
|
+
static readonly minimumPollingInterval: Duration;
|
|
146
|
+
/**
|
|
147
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
148
|
+
* configured to wait for a set duration.
|
|
149
|
+
*
|
|
150
|
+
* @param duration
|
|
151
|
+
* A set duration the [`Actor`](https://serenity-js.org/api/core/class/Actor/) should wait for before proceeding.
|
|
152
|
+
*/
|
|
153
|
+
static for(duration: Answerable<Duration>): Interaction;
|
|
154
|
+
/**
|
|
155
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
156
|
+
* configured to wait until the answer to the question `actual` meets the `expectation`,
|
|
157
|
+
* or the `timeout` expires.
|
|
158
|
+
*
|
|
159
|
+
* @param timeout
|
|
160
|
+
* Custom timeout to override [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
161
|
+
*/
|
|
162
|
+
static upTo(timeout: Duration): {
|
|
163
|
+
until: <Actual>(actual: Answerable<Actual>, expectation: Expectation<Actual>) => WaitUntil<Actual>;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) configured to
|
|
167
|
+
* poll every [`Wait.defaultPollingInterval`](https://serenity-js.org/api/core/class/Wait/#defaultPollingInterval) for the result of the provided
|
|
168
|
+
* question (`actual`) until it meets the `expectation`,
|
|
169
|
+
* or the timeout expires.
|
|
170
|
+
*
|
|
171
|
+
* @param actual
|
|
172
|
+
* An [`Answerable`](https://serenity-js.org/api/core/#Answerable) that the [`Actor`](https://serenity-js.org/api/core/class/Actor/) will keep answering
|
|
173
|
+
* until the answer meets the [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) provided, or the timeout expires.
|
|
174
|
+
*
|
|
175
|
+
* @param expectation
|
|
176
|
+
* An [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) to be met before proceeding
|
|
177
|
+
*/
|
|
178
|
+
static until<Actual>(actual: Answerable<Actual>, expectation: Expectation<Actual>): WaitUntil<Actual>;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Synchronisation statement that instructs the [`Actor`](https://serenity-js.org/api/core/class/Actor/) to wait before proceeding until a given [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) is met.
|
|
182
|
+
*
|
|
183
|
+
* :::tip
|
|
184
|
+
* To instantiate the [interaction](https://serenity-js.org/api/core/class/Interaction/) to [`WaitUntil`](https://serenity-js.org/api/core/class/WaitUntil/),
|
|
185
|
+
* use the factory method [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until).
|
|
186
|
+
* :::
|
|
187
|
+
*
|
|
188
|
+
* ## Learn more
|
|
189
|
+
* * [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until)
|
|
190
|
+
*
|
|
191
|
+
* @group Time
|
|
192
|
+
*/
|
|
193
|
+
export declare class WaitUntil<Actual> extends Interaction {
|
|
194
|
+
private readonly actual;
|
|
195
|
+
private readonly expectation;
|
|
196
|
+
private readonly pollingInterval;
|
|
197
|
+
private readonly timeout?;
|
|
198
|
+
constructor(actual: Answerable<Actual>, expectation: Expectation<Actual>, pollingInterval: Duration, timeout?: Duration);
|
|
199
|
+
/**
|
|
200
|
+
* Configure how frequently the [`Actor`](https://serenity-js.org/api/core/class/Actor/) should check if the answer meets the expectation.
|
|
201
|
+
*
|
|
202
|
+
* Note that the polling interval defines the delay between subsequent attempts
|
|
203
|
+
* to evaluate the expected value, and doesn't include the amount of time
|
|
204
|
+
* it take the actor to evaluate the value itself.
|
|
205
|
+
*
|
|
206
|
+
* @param interval
|
|
207
|
+
*/
|
|
208
|
+
pollingEvery(interval: Duration): Interaction;
|
|
209
|
+
/**
|
|
210
|
+
* @inheritDoc
|
|
211
|
+
*/
|
|
212
|
+
performAs(actor: UsesAbilities & AnswersQuestions): Promise<void>;
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=Wait.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wait.d.ts","sourceRoot":"","sources":["../../../../src/screenplay/time/activities/Wait.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAqB,MAAM,0BAA0B,CAAC;AAIjG,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwHG;AACH,qBAAa,IAAI;IAEb;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,cAAc,WAAgC;IAE9D;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,CAAC,sBAAsB,WAAgC;IAEtE;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,sBAAsB,WAA+B;IAErE;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAG,WAAW;IAIvD;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG;QAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK,SAAS,CAAC,MAAM,CAAC,CAAA;KAAE;IAOtI;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,MAAM,CAAC;CAGxG;AAiBD;;;;;;;;;;;;GAYG;AACH,qBAAa,SAAS,CAAC,MAAM,CAAE,SAAQ,WAAW;IAE1C,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAHR,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAC1B,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,EAChC,eAAe,EAAE,QAAQ,EACzB,OAAO,CAAC,EAAE,QAAQ;IAYvC;;;;;;;;OAQG;IACH,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW;IAI7C;;OAEG;IACG,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;CAmC1E"}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { ensure, isGreaterThanOrEqualTo, isInRange } from 'tiny-types';
|
|
2
|
+
import { AssertionError, ListItemNotFoundError, RaiseErrors, TimeoutExpiredError } from '../../../errors/index.js';
|
|
3
|
+
import { d } from '../../../io/index.js';
|
|
4
|
+
import { Interaction } from '../../Interaction.js';
|
|
5
|
+
import { the } from '../../questions/index.js';
|
|
6
|
+
import { ExpectationMet } from '../../questions/index.js';
|
|
7
|
+
import { ScheduleWork } from '../abilities/index.js';
|
|
8
|
+
import { Duration } from '../models/index.js';
|
|
9
|
+
/**
|
|
10
|
+
* `Wait` is a synchronisation statement that instructs the [actor](https://serenity-js.org/api/core/class/Actor/)
|
|
11
|
+
* to wait before proceeding with their next [activity](https://serenity-js.org/api/core/class/Activity/),
|
|
12
|
+
* either for a set [duration](https://serenity-js.org/api/core/class/Duration/), or until a given [expectation](https://serenity-js.org/api/core/class/Expectation/) is met.
|
|
13
|
+
*
|
|
14
|
+
* You can configure the timeout of the interaction to [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until):
|
|
15
|
+
* - globally, using [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
16
|
+
* - locally, on a per-interaction basis using [`Wait.upTo`](https://serenity-js.org/api/core/class/Wait/#upTo)
|
|
17
|
+
*
|
|
18
|
+
* :::tip Portable waiting
|
|
19
|
+
* Serenity/JS implements `Wait` from scratch, so that the behaviour is consistent no matter the integration tool you use (Playwright, WebdriverIO, Selenium, etc.)
|
|
20
|
+
* or the type of testing you do (Web, REST API, component testing, etc.)
|
|
21
|
+
* :::
|
|
22
|
+
*
|
|
23
|
+
* ## Wait with Web-based tests
|
|
24
|
+
*
|
|
25
|
+
* ### Example widget
|
|
26
|
+
*
|
|
27
|
+
* ```html
|
|
28
|
+
* <!--
|
|
29
|
+
* After about 1 second, the text will change from 'Loading...' to 'Ready!'
|
|
30
|
+
* -->
|
|
31
|
+
* <h1 id="status">Loading...</h1>
|
|
32
|
+
* <script>
|
|
33
|
+
* (function () {
|
|
34
|
+
* setTimeout(function () {
|
|
35
|
+
* document.getElementById('status').textContent = 'Ready!'
|
|
36
|
+
* }, 1000);
|
|
37
|
+
* })();
|
|
38
|
+
* </script>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ### Lean Page Object describing the widget
|
|
42
|
+
*
|
|
43
|
+
* ```ts
|
|
44
|
+
* import { By, PageElement, Text } from '@serenity-js/web'
|
|
45
|
+
*
|
|
46
|
+
* class App {
|
|
47
|
+
* static status = () =>
|
|
48
|
+
* Text.of(PageElement.located(By.id('status'))
|
|
49
|
+
* .describedAs('status widget'))
|
|
50
|
+
* }
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ### Waiting for a set duration
|
|
54
|
+
*
|
|
55
|
+
* ```ts
|
|
56
|
+
* import { actorCalled, Duration, Wait } from '@serenity-js/core'
|
|
57
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
|
|
58
|
+
* import { Ensure, equals } from '@serenity-js/assertions'
|
|
59
|
+
* import { Browser, chromium } from 'playwright'
|
|
60
|
+
*
|
|
61
|
+
* const browser = await chromium.launch({ headless: true })
|
|
62
|
+
*
|
|
63
|
+
* await actorCalled('Inês')
|
|
64
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
65
|
+
* .attemptsTo(
|
|
66
|
+
* Wait.for(Duration.ofMilliseconds(1_500)),
|
|
67
|
+
* Ensure.that(App.status(), equals('Ready!')),
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* **Please note** that while the above implementation works,
|
|
72
|
+
* this approach is inefficient because at best
|
|
73
|
+
* the actor might wait too long and at worst the test
|
|
74
|
+
* might become "flaky" if any external interference
|
|
75
|
+
* (like network glitches, animations taking a bit too long etc.)
|
|
76
|
+
* makes the actor wait not long enough.
|
|
77
|
+
*
|
|
78
|
+
* ### Waiting until a condition is met
|
|
79
|
+
*
|
|
80
|
+
* ```ts
|
|
81
|
+
* import { actorCalled, Wait } from '@serenity-js/core'
|
|
82
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright'
|
|
83
|
+
* import { equals } from '@serenity-js/assertions'
|
|
84
|
+
* import { Browser, chromium } from 'playwright'
|
|
85
|
+
*
|
|
86
|
+
* const browser = await chromium.launch({ headless: true })
|
|
87
|
+
*
|
|
88
|
+
* await actorCalled('Wendy')
|
|
89
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
90
|
+
* .attemptsTo(
|
|
91
|
+
* Wait.until(App.status(), equals('Ready!')),
|
|
92
|
+
* // app is ready, proceed with the scenario
|
|
93
|
+
* );
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* `Wait.until` makes the [`Actor`](https://serenity-js.org/api/core/class/Actor/)
|
|
97
|
+
* keep asking the [`Question`](https://serenity-js.org/api/core/class/Question/),
|
|
98
|
+
* in this case `Text.of(App.status)`, until the answer meets
|
|
99
|
+
* the expectation, or a timeout expires (default: 5s).
|
|
100
|
+
*
|
|
101
|
+
* **Please note** that both Ensure and Wait can be used with
|
|
102
|
+
* the same expectations, like `equals` or `includes`.
|
|
103
|
+
*
|
|
104
|
+
* ### Changing the default timeout
|
|
105
|
+
*
|
|
106
|
+
* ```ts
|
|
107
|
+
* import { actorCalled, Duration, Wait } from '@serenity-js/core';
|
|
108
|
+
* import { BrowseTheWebWithPlaywright } from '@serenity-js/playwright';
|
|
109
|
+
* import { equals } from '@serenity-js/assertions';
|
|
110
|
+
* import { Browser, chromium } from 'playwright';
|
|
111
|
+
*
|
|
112
|
+
* const browser: Browser = await chromium.launch({ headless: true });
|
|
113
|
+
*
|
|
114
|
+
* await actorCalled('Polly')
|
|
115
|
+
* .whoCan(BrowseTheWebWithPlaywright.using(browser))
|
|
116
|
+
* .attemptsTo(
|
|
117
|
+
* Wait.upTo(Duration.ofSeconds(3))
|
|
118
|
+
* .until(App.status(), equals('Ready!')),
|
|
119
|
+
* // app is ready, proceed with the scenario
|
|
120
|
+
* );
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* ## Learn more
|
|
124
|
+
* - [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
125
|
+
* - [`Duration`](https://serenity-js.org/api/core/class/Duration/)
|
|
126
|
+
* - [`Expectation`](https://serenity-js.org/api/core/class/Expectation/)
|
|
127
|
+
*
|
|
128
|
+
* @group Time
|
|
129
|
+
*/
|
|
130
|
+
export class Wait {
|
|
131
|
+
/**
|
|
132
|
+
* Minimum timeout that can be used with [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until),
|
|
133
|
+
* defaults to 250 milliseconds,
|
|
134
|
+
*/
|
|
135
|
+
static minimumTimeout = Duration.ofMilliseconds(250);
|
|
136
|
+
/**
|
|
137
|
+
* The amount of time [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until) should wait between condition checks,
|
|
138
|
+
* defaults to 500ms.
|
|
139
|
+
*
|
|
140
|
+
* Use [`WaitUntil.pollingEvery`](https://serenity-js.org/api/core/class/WaitUntil/#pollingEvery) to override it for a given interaction.
|
|
141
|
+
*
|
|
142
|
+
* @type {Duration}
|
|
143
|
+
*/
|
|
144
|
+
static defaultPollingInterval = Duration.ofMilliseconds(500);
|
|
145
|
+
/**
|
|
146
|
+
* Minimum polling interval of 50ms between condition checks, used with [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until).
|
|
147
|
+
*/
|
|
148
|
+
static minimumPollingInterval = Duration.ofMilliseconds(50);
|
|
149
|
+
/**
|
|
150
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
151
|
+
* configured to wait for a set duration.
|
|
152
|
+
*
|
|
153
|
+
* @param duration
|
|
154
|
+
* A set duration the [`Actor`](https://serenity-js.org/api/core/class/Actor/) should wait for before proceeding.
|
|
155
|
+
*/
|
|
156
|
+
static for(duration) {
|
|
157
|
+
return new WaitFor(duration);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/)
|
|
161
|
+
* configured to wait until the answer to the question `actual` meets the `expectation`,
|
|
162
|
+
* or the `timeout` expires.
|
|
163
|
+
*
|
|
164
|
+
* @param timeout
|
|
165
|
+
* Custom timeout to override [`SerenityConfig.interactionTimeout`](https://serenity-js.org/api/core/class/SerenityConfig/#interactionTimeout)
|
|
166
|
+
*/
|
|
167
|
+
static upTo(timeout) {
|
|
168
|
+
return {
|
|
169
|
+
until: (actual, expectation) => new WaitUntil(actual, expectation, Wait.defaultPollingInterval.isLessThan(timeout) ? Wait.defaultPollingInterval : timeout, timeout),
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Instantiates a version of this [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) configured to
|
|
174
|
+
* poll every [`Wait.defaultPollingInterval`](https://serenity-js.org/api/core/class/Wait/#defaultPollingInterval) for the result of the provided
|
|
175
|
+
* question (`actual`) until it meets the `expectation`,
|
|
176
|
+
* or the timeout expires.
|
|
177
|
+
*
|
|
178
|
+
* @param actual
|
|
179
|
+
* An [`Answerable`](https://serenity-js.org/api/core/#Answerable) that the [`Actor`](https://serenity-js.org/api/core/class/Actor/) will keep answering
|
|
180
|
+
* until the answer meets the [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) provided, or the timeout expires.
|
|
181
|
+
*
|
|
182
|
+
* @param expectation
|
|
183
|
+
* An [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) to be met before proceeding
|
|
184
|
+
*/
|
|
185
|
+
static until(actual, expectation) {
|
|
186
|
+
return new WaitUntil(actual, expectation, Wait.defaultPollingInterval);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @package
|
|
191
|
+
*/
|
|
192
|
+
class WaitFor extends Interaction {
|
|
193
|
+
duration;
|
|
194
|
+
constructor(duration) {
|
|
195
|
+
super(the `#actor waits for ${duration}`);
|
|
196
|
+
this.duration = duration;
|
|
197
|
+
}
|
|
198
|
+
async performAs(actor) {
|
|
199
|
+
const duration = await actor.answer(this.duration);
|
|
200
|
+
return ScheduleWork.as(actor).waitFor(duration);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Synchronisation statement that instructs the [`Actor`](https://serenity-js.org/api/core/class/Actor/) to wait before proceeding until a given [`Expectation`](https://serenity-js.org/api/core/class/Expectation/) is met.
|
|
205
|
+
*
|
|
206
|
+
* :::tip
|
|
207
|
+
* To instantiate the [interaction](https://serenity-js.org/api/core/class/Interaction/) to [`WaitUntil`](https://serenity-js.org/api/core/class/WaitUntil/),
|
|
208
|
+
* use the factory method [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until).
|
|
209
|
+
* :::
|
|
210
|
+
*
|
|
211
|
+
* ## Learn more
|
|
212
|
+
* * [`Wait.until`](https://serenity-js.org/api/core/class/Wait/#until)
|
|
213
|
+
*
|
|
214
|
+
* @group Time
|
|
215
|
+
*/
|
|
216
|
+
export class WaitUntil extends Interaction {
|
|
217
|
+
actual;
|
|
218
|
+
expectation;
|
|
219
|
+
pollingInterval;
|
|
220
|
+
timeout;
|
|
221
|
+
constructor(actual, expectation, pollingInterval, timeout) {
|
|
222
|
+
super(the `#actor waits until ${actual} does ${expectation}`);
|
|
223
|
+
this.actual = actual;
|
|
224
|
+
this.expectation = expectation;
|
|
225
|
+
this.pollingInterval = pollingInterval;
|
|
226
|
+
this.timeout = timeout;
|
|
227
|
+
if (timeout) {
|
|
228
|
+
ensure('Timeout', timeout.inMilliseconds(), isGreaterThanOrEqualTo(Wait.minimumTimeout.inMilliseconds()));
|
|
229
|
+
ensure('Polling interval', pollingInterval.inMilliseconds(), isInRange(Wait.minimumPollingInterval.inMilliseconds(), timeout.inMilliseconds()));
|
|
230
|
+
}
|
|
231
|
+
ensure('Polling interval', pollingInterval.inMilliseconds(), isGreaterThanOrEqualTo(Wait.minimumPollingInterval.inMilliseconds()));
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Configure how frequently the [`Actor`](https://serenity-js.org/api/core/class/Actor/) should check if the answer meets the expectation.
|
|
235
|
+
*
|
|
236
|
+
* Note that the polling interval defines the delay between subsequent attempts
|
|
237
|
+
* to evaluate the expected value, and doesn't include the amount of time
|
|
238
|
+
* it take the actor to evaluate the value itself.
|
|
239
|
+
*
|
|
240
|
+
* @param interval
|
|
241
|
+
*/
|
|
242
|
+
pollingEvery(interval) {
|
|
243
|
+
return new WaitUntil(this.actual, this.expectation, interval, this.timeout);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @inheritDoc
|
|
247
|
+
*/
|
|
248
|
+
async performAs(actor) {
|
|
249
|
+
await ScheduleWork.as(actor).repeatUntil(() => actor.answer(this.expectation.isMetFor(this.actual)), {
|
|
250
|
+
exitCondition: outcome => outcome instanceof ExpectationMet,
|
|
251
|
+
delayBetweenInvocations: (invocation) => invocation === 0
|
|
252
|
+
? Duration.ofMilliseconds(0)
|
|
253
|
+
: this.pollingInterval,
|
|
254
|
+
timeout: this.timeout,
|
|
255
|
+
errorHandler: (error, outcome) => {
|
|
256
|
+
if (error instanceof ListItemNotFoundError) {
|
|
257
|
+
return; // ignore, lists might get populated later
|
|
258
|
+
}
|
|
259
|
+
if (error instanceof TimeoutExpiredError) {
|
|
260
|
+
throw RaiseErrors.as(actor).create(AssertionError, {
|
|
261
|
+
message: error.message + d ` while waiting for ${this.actual} to ${this.expectation}`,
|
|
262
|
+
expectation: outcome?.expectation,
|
|
263
|
+
diff: outcome && { expected: outcome?.expected, actual: outcome?.actual },
|
|
264
|
+
location: this.instantiationLocation(),
|
|
265
|
+
cause: error,
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
throw error;
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
//# sourceMappingURL=Wait.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wait.js","sourceRoot":"","sources":["../../../../src/screenplay/time/activities/Wait.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACnH,OAAO,EAAE,CAAC,EAAE,MAAM,sBAAsB,CAAC;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwHG;AACH,MAAM,OAAO,IAAI;IAEb;;;OAGG;IACH,MAAM,CAAU,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAE9D;;;;;;;OAOG;IACH,MAAM,CAAU,sBAAsB,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAEtE;;OAEG;IACH,MAAM,CAAU,sBAAsB,GAAG,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;IAErE;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,CAAC,QAA8B;QACrC,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IACjC,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,CAAC,OAAiB;QACzB,OAAO;YACH,KAAK,EAAE,CAAS,MAA0B,EAAE,WAAgC,EAAqB,EAAE,CAC/F,IAAI,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAC,sBAAsB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC;SAC3I,CAAC;IACN,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,KAAK,CAAS,MAA0B,EAAE,WAAgC;QAC7E,OAAO,IAAI,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAC3E,CAAC;;AAGL;;GAEG;AACH,MAAM,OAAQ,SAAQ,WAAW;IACA;IAA7B,YAA6B,QAA8B;QACvD,KAAK,CAAC,GAAG,CAAA,oBAAqB,QAAS,EAAE,CAAC,CAAC;QADlB,aAAQ,GAAR,QAAQ,CAAsB;IAE3D,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAuC;QACnD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEnD,OAAO,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC;CACJ;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,SAAkB,SAAQ,WAAW;IAEzB;IACA;IACA;IACA;IAJrB,YACqB,MAA0B,EAC1B,WAAgC,EAChC,eAAyB,EACzB,OAAkB;QAEnC,KAAK,CAAC,GAAG,CAAA,sBAAuB,MAAO,SAAU,WAAY,EAAE,CAAC,CAAC;QALhD,WAAM,GAAN,MAAM,CAAoB;QAC1B,gBAAW,GAAX,WAAW,CAAqB;QAChC,oBAAe,GAAf,eAAe,CAAU;QACzB,YAAO,GAAP,OAAO,CAAW;QAInC,IAAI,OAAO,EAAE,CAAC;YACV,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,cAAc,EAAE,EAAE,sBAAsB,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC1G,MAAM,CAAC,kBAAkB,EAAE,eAAe,CAAC,cAAc,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,cAAc,EAAE,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACpJ,CAAC;QAED,MAAM,CAAC,kBAAkB,EAAE,eAAe,CAAC,cAAc,EAAE,EAAE,sBAAsB,CAAC,IAAI,CAAC,sBAAsB,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IACvI,CAAC;IAED;;;;;;;;OAQG;IACH,YAAY,CAAC,QAAkB;QAC3B,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,CAAC,KAAuC;QAEnD,MAAM,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,CACpC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,EAC1D;YACI,aAAa,EAAE,OAAO,CAAC,EAAE,CACrB,OAAO,YAAY,cAAc;YAErC,uBAAuB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,KAAK,CAAC;gBACrD,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;gBAC5B,CAAC,CAAC,IAAI,CAAC,eAAe;YAE1B,OAAO,EAAE,IAAI,CAAC,OAAO;YAErB,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;gBAC7B,IAAI,KAAK,YAAY,qBAAqB,EAAE,CAAC;oBACzC,OAAO,CAAC,0CAA0C;gBACtD,CAAC;gBAED,IAAI,KAAK,YAAY,mBAAmB,EAAE,CAAC;oBAEvC,MAAM,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,cAAc,EAAE;wBAC/C,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,CAAC,CAAA,sBAAuB,IAAI,CAAC,MAAO,OAAQ,IAAI,CAAC,WAAY,EAAE;wBACxF,WAAW,EAAE,OAAO,EAAE,WAAW;wBACjC,IAAI,EAAE,OAAO,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;wBACzE,QAAQ,EAAE,IAAI,CAAC,qBAAqB,EAAE;wBACtC,KAAK,EAAE,KAAK;qBACf,CAAC,CAAC;gBACP,CAAC;gBAED,MAAM,KAAK,CAAC;YAChB,CAAC;SACJ,CACJ,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/screenplay/time/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/screenplay/time/activities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screenplay/time/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
|