stuisme / protractor-pretty-html-reporter Goto Github PK
View Code? Open in Web Editor NEWA jasmine reporter that produces an easy to use html report to analyze protractor test results.
License: MIT License
A jasmine reporter that produces an easy to use html report to analyze protractor test results.
License: MIT License
Hey, love the reports been using them for a project. I'm wondering if they have support for sharding? Seems that when sharding is enabled, the reports overwrite themselves so that the reports only contain data from the last running thread
Hi there!
You guys did a great job with this tool. It is definitely the one I liked the most from the ones that I tried. If by any chance you happen to have a little bit of time, I hereby report an annoying issue that I have been experiencing:
Whenever you open a modal window to see the details of a test, the scroll would be reset to the top of the page. If the number of tests is large and you are interested in a couple of tests that failed down below, it is quite annoying to be sent back to the top.
I would like to add, if I may, that scrolling so much is on itself not optimal. Grouping the tests together by their top-level suite would be super awesome!
Cheers,
Daniel
Protractor is failing with the following when a test is disabled or focused:
[2018-01-25 13:07:34.138] [ERROR] - TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at Function.Buffer.from (buffer.js:183:11)
at new Buffer (buffer.js:158:17)
at Reporter.writeImage (/Users/xxx/projects/yy-static/protractor/node_modules/protractor-pretty-html-reporter/reporter.js:169:22)
at Reporter.specDone (/Users/xxx/projects/yy-static/protractor/node_modules/protractor-pretty-html-reporter/reporter.js:117:18)
at dispatch (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4522:28)
at ReportDispatcher.specDone (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4493:11)
at Spec.specResultCallback [as resultCallback] (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1220:18)
at complete (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:565:12)
at QueueRunner.runnerConfig.onComplete (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:558:46)
at Immediate._onImmediate (/Users/xxx/projects/yy-static/protractor/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:4382:12)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
I'm using jasmine 2.9 with protractor 5.2.2.
Package "protractor-pretty-html-reporter" has an incompatible peer dependency to "jasmine" (requires "^2.4.1", would install "3.2.0")
Preconditions:
Having Jasmine version:
jasmine v2.99.0, jasmine-core v2.99.0
Steps to recreate.
Hi, I am using this reporter for our project and it works perfectly fine when running locally. I have run it headless and non headless (Chrome only) and it always returns a nice report. However, I now am running my tests through a CI process (in Team Foundation Server) and the report is mostly blank. I have the green header with the "Results" text and that is it. There isn't anything else in the report, no screenshots or text of any kind. I tried this headless and non headless and got the same results. I have opened the report.html using notepad++ and compared it to the report on my local and the contents are the same. It just doesn't show anything when opening with Chrome (or any browser for that matter). Can you help? Thanks!
Hi Team,
I followed your setup procedure and i am able to generate the report. When i am opening the index.html file in all the browsers i am unable to see the report properly.For me The Pass/Fail column is not appearing in the report, its appearing as empty. Also total count of failed/passed is not appearing in the top right. Please see the screenshots attached both actual and expected. Please see the red highlighted part marked in the screenshot.
Note: I am using your latest version 0.16, all browsers latest version
Please let me what could be the issue. I tried my label best but hard luck. Please help me in this regard as i need the report urgently.
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.