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
I used serenity-appium-screenplay-poc as boilerplate for a test suite and discovered that in net.poc.steps.NoteUserSteps class, in the @Given clause, the statement:
leads to a double instantiation of the Appium webdriver that causes the application under test opening twice.
A possible solution is invoking simply:
theActorCalled(actorName);
This is due to the fact that net.serenitybdd.screenplay.actors.OnStage#theActorCalled eventually calls net.serenitybdd.screenplay.actors.OnlineCast#actorNamed in which:
if (newActor.abilityTo(BrowseTheWeb.class) == null) {
newActor.can(BrowseTheWeb.with(theDefaulteBrowserFor(actorName)));
}
The text was updated successfully, but these errors were encountered:
I used serenity-appium-screenplay-poc as boilerplate for a test suite and discovered that in net.poc.steps.NoteUserSteps class, in the
@Given
clause, the statement:leads to a double instantiation of the Appium webdriver that causes the application under test opening twice.
A possible solution is invoking simply:
This is due to the fact that net.serenitybdd.screenplay.actors.OnStage#theActorCalled eventually calls net.serenitybdd.screenplay.actors.OnlineCast#actorNamed in which:
The text was updated successfully, but these errors were encountered: