From a798480e4e89951f86647c58f5808d9175008b2c Mon Sep 17 00:00:00 2001 From: YamStranger Date: Tue, 10 Nov 2015 00:11:00 +0200 Subject: [PATCH] 132_issue: updated SerenityRunner to use max.retries only if junit.retry.tests=true, removing imports --- .../integration/WhenRunTestsWithGradlePlugin.groovy | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/serenity-gradle-plugin/src/test/groovy/net/serenitybdd/plugins/gradle/integration/WhenRunTestsWithGradlePlugin.groovy b/serenity-gradle-plugin/src/test/groovy/net/serenitybdd/plugins/gradle/integration/WhenRunTestsWithGradlePlugin.groovy index e2aaba6e03..1430b51a26 100644 --- a/serenity-gradle-plugin/src/test/groovy/net/serenitybdd/plugins/gradle/integration/WhenRunTestsWithGradlePlugin.groovy +++ b/serenity-gradle-plugin/src/test/groovy/net/serenitybdd/plugins/gradle/integration/WhenRunTestsWithGradlePlugin.groovy @@ -1,18 +1,7 @@ package net.serenitybdd.plugins.gradle.integration -import net.serenitybdd.core.annotations.findby.By -import net.serenitybdd.core.pages.PageObject import net.serenitybdd.plugins.gradle.SerenityPlugin import org.gradle.testfixtures.ProjectBuilder -import org.junit.AfterClass -import org.junit.Before -import org.junit.BeforeClass -import org.openqa.selenium.WebDriver -import org.openqa.selenium.WebElement -import org.openqa.selenium.chrome.ChromeDriver -import org.openqa.selenium.firefox.FirefoxDriver -import org.openqa.selenium.phantomjs.PhantomJSDriver -import spock.lang.Shared import spock.lang.Specification import net.thucydides.core.util.TestResources import java.nio.file.Files