Coder Social home page Coder Social logo

Comments (7)

vassilevsky avatar vassilevsky commented on September 28, 2024

Hi :)

We are using version 0.0.23.
The > character in feature title breaks the HTML on the main report page.

Feature:

Feature: User Profile > General Information

Main page HTML:

<tr>
    <td style="text-align:left;"><a id="stats-User Profile > General Information" href="profile-general_info_profile.feature.html">
                                                            <--------------------------------------------------------------------->
                                                                  This appears on the page because the tag is already closed

Could you also escape those values?

Thanks a lot! :D

from cucumber-reporting.

SlyAtBest avatar SlyAtBest commented on September 28, 2024

I've experienced a similar issue when using an Assert.assertEquals() to test a boolean value. The value is returned as either <true> or <false>, which is not shown in the generated report when rendered by a browser. I'm guessing this is because it is being treated as a html tag and so this needs to be escaped in order for it to display properly. The page source reveals that the underlying values do exist.

Example:

boolean expectedType = true;
boolean currentType = false;

Assert.assertEquals("Package is not listed as the correct type",
expectedType, currentType);

Should produce:

Package is not listed as the correct type expected:<true> but was:<false>

But instead produces:

Package is not listed as the correct type expected: but was:

from cucumber-reporting.

damianszczepanik avatar damianszczepanik commented on September 28, 2024

This issue has been already resolved and released.

from cucumber-reporting.

msymons avatar msymons commented on September 28, 2024

In what version was this resolved and released? The release notes only go up to v0.0.21:

https://github.com/masterthought/cucumber-reporting/wiki/Release-Notes

The same is also true for jenkins-cucumber-jvm-reports-plugin-java (where I have developers refusing to upgrade the plugin until I can tell them what has changed).

from cucumber-reporting.

damianszczepanik avatar damianszczepanik commented on September 28, 2024

New cucumber reporting has been released weeks ago. New version is available also via Jenkina

from cucumber-reporting.

msymons avatar msymons commented on September 28, 2024

I know that the new version was released weeks ago.. and that now there is also v0.2.1. What I am seeking is a "release notes" that summarizes what has changed in the release. To repeat what I said, no one in my organization is willing (or allowed) to upgrade unless they know what has changed in the release.

I gave a link in my previous comment but that link now just redirects to the main page of the cucumber-reports. The release notes for cucumber-reporting-jenkins do not yet redirect so you can see what I am talking about:

https://github.com/damianszczepanik/cucumber-reporting-jenkins/wiki/Release-Notes

cucumber-reporting-jenkins-release-notes

Note that the notes are not verbose... but they do provide issue IDs.

from cucumber-reporting.

damianszczepanik avatar damianszczepanik commented on September 28, 2024

That would be nice if only I had more time for this :( also there are many commits that have no impact for end-users but refer to code quality so sometimes is hard to say if particular change should be mentioned in release notes or not.

from cucumber-reporting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.