mavdi / grunt-cucumberjs

Grunt plugin for cucumber.js
MIT License
31 stars 36 forks source link

html report broken #79

Closed lenntt closed 8 years ago

lenntt commented 8 years ago

Yesterdays HEAD was fine, Upgraded to HEAD today:

image

My config:

    cucumberjs: {
        options: {
            debug: true,
            tags: [ "~@Pending "],
            format: "html",
            templateDir: "cucumber/report-template",
            output: "reports/cucumber.html",
        },features: [],

        signoff: {
            options: {
                tags: [ "~@Pending", "@signoff" ]
            }
        }
    } 

The template is a sligthly modified version of the bootstrap one. the default bootstrap doesnt work either

lenntt commented 8 years ago

I'm sticking to c82f51212e5965711c32f60533a66f32b6baaedc

gkushang commented 8 years ago

@SirLenz0rlot can you take a look at the feature.tmpl and update cucumber/report-template accordingly?

  1. https://github.com/mavdi/grunt-cucumberjs/blob/master/templates/bootstrap/features.tmpl#L1 suite.features.featureOutput
  2. https://github.com/mavdi/grunt-cucumberjs/blob/master/templates/bootstrap/features.tmpl#L14-L17 feature.scenarios.
gkushang commented 8 years ago

@SirLenz0rlot Please ignore the above comment. I see the broken change for the Custom User Templates. We are working on fixing it. Thanks for reporting. We will update you.

gkushang commented 8 years ago

@SirLenz0rlot it should be fixed with @0.10.2

gkushang commented 8 years ago

Hope this issues is fixed. Please reopen if you are still unable to create report.