You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have an expected behavior to open 3rd application once user execute tap on exact place. For next steps execution, this 3rd application need to be closed. And once test fails due to not opend 3rd application, it is presented as BROKEN and it fails all the rests of tests execution.
According to testing expectations it is not valid to broke everything, while only 3rd party component doesn't open.
To Reproduce
Given I start mobile application
When I terminate application with bundle identifier com.apple.mobilesafari
Expected behavior
My expectation is to see this step as FAILED and continue testing execution.
Possibly it can be creation of some separate step specified for 3rd applications, but not one in testing
Artifacts
java.lang.IllegalArgumentException: Application with the bundle identifier 'com.apple.mobilesafari' is not installed or not running on the device
at org.apache.commons.lang3.Validate.isTrue(Validate.java:155)
at org.vividus.mobileapp.action.ApplicationActions.terminateApp(ApplicationActions.java:56)
at org.vividus.mobileapp.steps.ApplicationSteps.terminateApp(ApplicationSteps.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:894)
at org.jbehave.core.steps.StepCreator$ReportingAbstractStep.perform(StepCreator.java:638)
at org.vividus.steps.SubSteps$DecoratingResultStep.lambda$perform$0(SubSteps.java:117)
at org.vividus.steps.SubSteps$DecoratingResultStep.withStepContextInfo(SubSteps.java:142)
at org.vividus.steps.SubSteps$DecoratingResultStep.perform(SubSteps.java:117)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:379)
at org.vividus.steps.SubSteps.executeStep(SubSteps.java:79)
at org.vividus.steps.SubSteps.execute(SubSteps.java:60)
at org.vividus.steps.ExecutableSteps.performAllStepsIfConditionIsTrue(ExecutableSteps.java:82)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:894)
at org.jbehave.core.steps.StepCreator$ReportingAbstractStep.perform(StepCreator.java:638)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:379)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:397)
at org.jbehave.core.embedder.PerformableTree$PerformableSteps.perform(PerformableTree.java:1442)
at org.jbehave.core.embedder.PerformableTree$AbstractPerformableScenario.lambda$performScenario$0(PerformableTree.java:1284)
at org.jbehave.core.embedder.PerformableTree$PerformableEntity.performWithStopExecutionExceptionHandling(PerformableTree.java:966)
at org.jbehave.core.embedder.PerformableTree$AbstractPerformableScenario.performScenario(PerformableTree.java:1277)
at org.jbehave.core.embedder.PerformableTree$ExamplePerformableScenario.perform(PerformableTree.java:1354)
at org.jbehave.core.embedder.PerformableTree$PerformableScenario.perform(PerformableTree.java:1221)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.lambda$perform$0(PerformableTree.java:1091)
at org.jbehave.core.embedder.PerformableTree$PerformableEntity.performWithStopExecutionExceptionHandling(PerformableTree.java:966)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.perform(PerformableTree.java:1083)
at org.jbehave.core.embedder.PerformableTree.performCancellable(PerformableTree.java:521)
at org.jbehave.core.embedder.PerformableTree.perform(PerformableTree.java:488)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:305)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:278)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Execution environment (please complete the following information):
Vividus version: 0.6.0
OS: macOS Sonoma 14.1.2
Java: 17
Execution on Mobitru iOS device
The text was updated successfully, but these errors were encountered:
PRIORITY 1
Describe the bug
I have an expected behavior to open 3rd application once user execute tap on exact place. For next steps execution, this 3rd application need to be closed. And once test fails due to not opend 3rd application, it is presented as BROKEN and it fails all the rests of tests execution.
According to testing expectations it is not valid to broke everything, while only 3rd party component doesn't open.
To Reproduce
Given I start mobile application
When I terminate application with bundle identifier
com.apple.mobilesafari
Expected behavior
My expectation is to see this step as FAILED and continue testing execution.
Possibly it can be creation of some separate step specified for 3rd applications, but not one in testing
Artifacts
java.lang.IllegalArgumentException: Application with the bundle identifier 'com.apple.mobilesafari' is not installed or not running on the device
at org.apache.commons.lang3.Validate.isTrue(Validate.java:155)
at org.vividus.mobileapp.action.ApplicationActions.terminateApp(ApplicationActions.java:56)
at org.vividus.mobileapp.steps.ApplicationSteps.terminateApp(ApplicationSteps.java:123)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:894)
at org.jbehave.core.steps.StepCreator$ReportingAbstractStep.perform(StepCreator.java:638)
at org.vividus.steps.SubSteps$DecoratingResultStep.lambda$perform$0(SubSteps.java:117)
at org.vividus.steps.SubSteps$DecoratingResultStep.withStepContextInfo(SubSteps.java:142)
at org.vividus.steps.SubSteps$DecoratingResultStep.perform(SubSteps.java:117)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:379)
at org.vividus.steps.SubSteps.executeStep(SubSteps.java:79)
at org.vividus.steps.SubSteps.execute(SubSteps.java:60)
at org.vividus.steps.ExecutableSteps.performAllStepsIfConditionIsTrue(ExecutableSteps.java:82)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:894)
at org.jbehave.core.steps.StepCreator$ReportingAbstractStep.perform(StepCreator.java:638)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:379)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:397)
at org.jbehave.core.embedder.PerformableTree$PerformableSteps.perform(PerformableTree.java:1442)
at org.jbehave.core.embedder.PerformableTree$AbstractPerformableScenario.lambda$performScenario$0(PerformableTree.java:1284)
at org.jbehave.core.embedder.PerformableTree$PerformableEntity.performWithStopExecutionExceptionHandling(PerformableTree.java:966)
at org.jbehave.core.embedder.PerformableTree$AbstractPerformableScenario.performScenario(PerformableTree.java:1277)
at org.jbehave.core.embedder.PerformableTree$ExamplePerformableScenario.perform(PerformableTree.java:1354)
at org.jbehave.core.embedder.PerformableTree$PerformableScenario.perform(PerformableTree.java:1221)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.lambda$perform$0(PerformableTree.java:1091)
at org.jbehave.core.embedder.PerformableTree$PerformableEntity.performWithStopExecutionExceptionHandling(PerformableTree.java:966)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.perform(PerformableTree.java:1083)
at org.jbehave.core.embedder.PerformableTree.performCancellable(PerformableTree.java:521)
at org.jbehave.core.embedder.PerformableTree.perform(PerformableTree.java:488)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:305)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:278)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Execution environment (please complete the following information):
Execution on Mobitru iOS device
The text was updated successfully, but these errors were encountered: