jonur / pi-cucumber-reports Goto Github PK
View Code? Open in Web Editor NEWVisual representation of the Test Automation Overview Report from Cucumber
Visual representation of the Test Automation Overview Report from Cucumber
We could add screenshots here in the future.
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('');
Also at feature level change it to minutes and seconds.
By default they should be expanded.
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
I've changed the JSON file to include these values:
"project":"PI",
"runTime":"03-09-2018 17:56"
This will be added to the JSON file like this:
"environment":"Staging"
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.
The Browser/Version/Platform/etc. columns are aligned within a scenario, but are not aligned with the other columns from other features.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.