Questions tagged [jasmine-spec-reporter]

Real time console spec reporter for jasmine behavior-driven development testing framework.

16 questions
18
votes
4 answers

Custom Jasmine reporter in Protractor tests

I can not find how to change reporter style in protractors runner using jasmine framework. What I have right now is: But I would like something more like: Is there a way to add custom reporter for jasmine that would show current test running…
Vytautas Butkus
  • 5,365
  • 6
  • 30
  • 45
6
votes
3 answers

Has anyone found a way to add list numbering to Protractor Describe blocks?

I have a very large number of Describe blocks in my Protractor tests. I get pages and pages of test output all correctly indented but it's difficult to see which test is which and how far the tests have progressed. Has anyone tried to add a list…
Samantha J T Star
  • 30,952
  • 84
  • 245
  • 427
6
votes
2 answers

AngularJS Protractor: Step-by-step progress logs

In the (now deprecated) angular scenario test runner, there was an option to create a runner.html page that would run the tests in an iFrame while reporting the progress, step-by-step, in the main page. Is there any way to get a similar…
Ryan Gross
  • 6,423
  • 2
  • 32
  • 44
6
votes
4 answers

How can I have mocha reporter for protractor?

I'm using protractor (0.22.0) for testing my app. Is this possible to have a mocha-style reporter instead of the basic jasmine one? It currenlty looks like this: (....F...) And I'm looking something more like: my set of tests 1 my test 1-1 my…
Erem
  • 1,580
  • 3
  • 14
  • 19
5
votes
2 answers

Can I write the output of jasmine-spec-reporter to file?

I am currently using jasmine-spec-reporter to create a spec report for my Protractor test cases. The output on the terminal looks great! Is there any way to save this output to file or somehow use protractor-jasmine2-screenshot-reporter to create a…
fuzzi
  • 1,967
  • 9
  • 46
  • 90
3
votes
0 answers

node- Some file references are missing in stack trace with async/await

Stacktrace is not having the reference to actual file name from where the error is triggered for the protractor. Spec reporter configuration: jasmine.getEnv().addReporter(new SpecReporter({spec: {displayStacktrace: true,}})); Sample…
Karthi
  • 479
  • 2
  • 9
  • 21
3
votes
1 answer

Get file names of executed spec files

How do I get a file name of currently executed spec? For example: I run: protractor conf.js --specs ./spec/first_spec.js,./spec/second_spec.js so I want to retrieve array ['first_spec','second_spec'], because I want to show it in a report.html. Is…
FCin
  • 3,804
  • 4
  • 20
  • 49
2
votes
1 answer

SpecReporter is not a constructor error on jasmine

I try to configure simple project on jasmine using node.js. I got following files: /*global jasmine */ var SpecReporter = require('jasmine-spec-reporter'); exports.config = { allScriptsTimeout: 11000, specs: [ '**/*.testdev.ts' …
Michal
  • 443
  • 1
  • 10
  • 25
1
vote
1 answer

Protractor error "jasmine-spec-reporter 2.x is not compatible with jasmine < 2.x" even though Jasmine 2.0 installed

I got this error in Protractor after adding jasmine-spec-reporter even though my jasmine-core module is release 2.0 "******************************************************************* * Oops! …
Justin
  • 611
  • 7
  • 8
0
votes
0 answers

How to display total number of specs executed when running protractor tests in parallel?

I have a set of automated tests that use protractor/jasmine, and are written in typescript. When the tests finish running, I see this message in the console: Executed 426 of 426 specs SUCCESS in 16 mins 36 secs. I recently updated my tests to run…
0
votes
1 answer

How to convert xml files into excel through protractor.Any idea?

I want the output of my protractor test reports in excel, right now its generating in HTML format. They are also generating in XML format. Any idea will be helpful and will be appreciated. Thank you.
Shruti
  • 55
  • 1
  • 8
0
votes
1 answer

Using jasmine-spec-reporter instead of wdio-spec-reporter with webdriverio?

I've just started using webdriverio. All good mostly, except frustratingly when I have multiple assertion failures in a single test, the spec reporter only logs the first one (even though I've proven that the rest of the spec runs, and all…
0
votes
1 answer

"Process exited with code 0" when E2E tests failed at jasmine-spec-reporter

My configuration: Windows 10 npm 5.3.0 node v8.4.0 jasmine 2.8.0 jasmine-spec-reporter 4.2.1 protractor 5.1.2 Previously I have used standard jasmine logger for E2E tests output. Recently I installed jasmine-spec-reporter and output looks…
0
votes
3 answers

PROTRACTOR: Integrate jasmine-spec-reporter in slack?

I installed jasmine-spec-reporter to replace the default DOT reporter. Everything is great running, but I want to send the texts I'm seeing in the terminal directly to slack. What is the payload that I should send to slack? and is it possible?
Ross
  • 95
  • 1
  • 1
  • 8
0
votes
0 answers

how to mark a test as Broken, Cancelled etc. in our jasmine tests for Allure reports

How to mark a test as Broken, Cancelled etc. in our jasmine-protractor tests so that these can appears accordingly in Allure report?
Ali Rana
  • 23
  • 1
  • 8
1
2