Skip to content

Commit

Permalink
[DSD-5765] added extend reports (#125)
Browse files Browse the repository at this point in the history
* MOSIP-34140

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

* updated pom.xml

Signed-off-by: Anup Nehe <[email protected]>

* DSD-5765

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>
  • Loading branch information
anup-nehe authored Aug 1, 2024
1 parent 891cbcc commit b3956e0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
16 changes: 12 additions & 4 deletions ui-test/src/test/java/runnerfiles/Runner.java
Original file line number Diff line number Diff line change
Expand Up @@ -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{

}
5 changes: 5 additions & 0 deletions ui-test/src/test/resources/extent.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b3956e0

Please sign in to comment.