serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

index.html is coming blank and scenario reports are generated properly #139

Closed mehtadishakalpeshbhai closed 6 years ago

mehtadishakalpeshbhai commented 6 years ago

I am using serenity-cucumber downloaded from here only. Below is the screenshot of index.html and feature.html file. I am attaching my properties file code also. Please help me to generate the consolidated index.html report.

image

  1. Index.html

image

  1. scenario.html

Here is my serenity.properties file

webdriver.driver=chrome
webdriver.chrome.driver=src/test/resources/driver/mac/chromedriver
webdriver.wait.for.timeout=30000
webdriver.wait.for.implicittimeout=10000

serenity.browser.maximized=true

serenity.project.name = Test project

serenity.take.screenshots=AFTER_EACH_STEP

serenity.compress.filenames=false

serenity.restart.browser.for.each=feature

serenity.logging=VERBOSE
serenity.test.root=src/test/resources/features

gradle.properties

serenityCoreVersion = 1.9.4
cucumberJVMVersion = 2.3.1
junitVersion = 4.12
logbackVersion=1.0.13
assertjVersion = 3.6.2
groovyVersion=2.4.11
spockVersion = 1.1-groovy-2.4
spockExtensionsVersion = 0.1.4
commonsCollectionsVersion = 3.2.2
xmlApiVersion=1.4.01
commonsCodecVersion = 1.10
commonsLoggingVersion = 1.2
gsonVersion = 2.8.2

If there is any property which can enable my consolidated index.html it will be best. Or else let me know what is the solution

mehtadishakalpeshbhai commented 6 years ago

I used this project https://github.com/serenity-bdd/serenity-cucumber-starter/ instead of current one and now I am able to generate a proper index.html report