From adbc9a474f0e09464539c2c39bcd6ffb3d55e7c5 Mon Sep 17 00:00:00 2001 From: jan-molak Date: Fri, 9 Dec 2016 16:05:21 +0000 Subject: [PATCH] Updated Serenity so that it's compatible with the BrowserStack's webdriver --- build-monitor-acceptance/pom.xml | 6 +++--- .../abilities/InteractWithJenkinsAPI.java | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/build-monitor-acceptance/pom.xml b/build-monitor-acceptance/pom.xml index 90dd6ed06..7b2957c47 100644 --- a/build-monitor-acceptance/pom.xml +++ b/build-monitor-acceptance/pom.xml @@ -15,7 +15,7 @@ UTF-8 - 1.1.36 + 1.2.1-rc.6 1.0.0.v20140518 chrome @@ -131,8 +131,8 @@ net.serenity-bdd - browse-the-web - 1.1.34 + serenity-screenplay-webdriver + ${serenity.version} net.serenity-bdd diff --git a/build-monitor-acceptance/src/main/java/net/serenitybdd/screenplay/interacting_with_jenkins_api/abilities/InteractWithJenkinsAPI.java b/build-monitor-acceptance/src/main/java/net/serenitybdd/screenplay/interacting_with_jenkins_api/abilities/InteractWithJenkinsAPI.java index 5486c7200..a791a438b 100644 --- a/build-monitor-acceptance/src/main/java/net/serenitybdd/screenplay/interacting_with_jenkins_api/abilities/InteractWithJenkinsAPI.java +++ b/build-monitor-acceptance/src/main/java/net/serenitybdd/screenplay/interacting_with_jenkins_api/abilities/InteractWithJenkinsAPI.java @@ -29,11 +29,6 @@ public void notifyOfExternalProjectFailureOf(String project) { client.setExternalBuildResult(project, "1"); } - @Override - public Ability asActor(Actor actor) { - return this; - } - public InteractWithJenkinsAPI(JenkinsClient client) { this.client = client; }