Coder Social home page Coder Social logo

pi-cucumber-reports's People

Contributors

jonur avatar seliardwb avatar

Watchers

 avatar  avatar

pi-cucumber-reports's Issues

Add cache busting to loading URLs

Add cache busting to loading URLs to prevent the 5 min caching on the browser before the new file is visible after the JSON file updates.

Hint: btoa(Math.random()).substr(10, 10); or [...Array(10)].map(() => Math.random().toString(36)[3]).join('');

Display api reports

I want to be able to only see information related to the API tests. The below information should not be displayed on the Web report for the API tests:

Browser | Version | Platform | Resolution
The API tests are tagged with the @api flag. The tagname is:
"tags":[{"name":"@api"},{"name":"@api-amend"}
Any "tag" that Starts with @api AND (&&) "name" that starts with @api, should not display the browser information in the report. The condition should be true for both to skip the browser information.
I attach a json sample below

add screenshot links to the report

When a test step fails then there should be a link in the failed scenario. When the link is clicked then the image is displayed . The image is saved in "images" folder under targer folder in the project. The relative path is: target/images/2018-09-25-17-32-56.jpeg.
An example of a merged json file is attached
cucumber.json.zip

Add max height to percentages

Sometimes the text next to the percentages spans 2 lines. We should add a max height to the coloured section to make sure they're all the same shape.

Show environment

This will be added to the JSON file like this:

"environment":"Staging"

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.