diff --git a/ui-test/src/test/java/runnerfiles/Runner.java b/ui-test/src/test/java/runnerfiles/Runner.java index 8734f175..afbd0e86 100644 --- a/ui-test/src/test/java/runnerfiles/Runner.java +++ b/ui-test/src/test/java/runnerfiles/Runner.java @@ -8,11 +8,19 @@ import io.cucumber.testng.CucumberOptions; @RunWith(Cucumber.class) -@CucumberOptions(features = { "src/test/resources/featurefiles" }, dryRun = !true, glue = { "stepdefinitions", - "utils" }, snippets = SnippetType.CAMELCASE, monochrome = true, plugin = { "pretty", "html:reports", "summary" } -// tags = "@smoke" +@CucumberOptions( + features = {"src/test/resources/featurefiles/"}, + dryRun = !true, + glue = {"stepdefinitions", "utils"}, + snippets = SnippetType.CAMELCASE, + monochrome = true, + plugin = {"pretty", + "html:reports", + "html:target/cucumber.html", "json:target/cucumber.json", + "summary","com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"} + //tags = "@smoke" ) -public class Runner extends AbstractTestNGCucumberTests { +public class Runner extends AbstractTestNGCucumberTests{ } \ No newline at end of file diff --git a/ui-test/src/test/resources/extent.properties b/ui-test/src/test/resources/extent.properties new file mode 100644 index 00000000..c929d21c --- /dev/null +++ b/ui-test/src/test/resources/extent.properties @@ -0,0 +1,5 @@ +basefolder.name=test-output/ExtentReport +basefolder.datetimepattern=d-MMM-YY HH-mm-ss +extent.reporter.spark.start=true +extent.reporter.spark.out=test-output/SparkReport/Spark.html +screenshot.dir=test-output/SparkReport/screenshots \ No newline at end of file