jasmine-reporters

Is it possible to send a reason for Jasmine 2 specs skipped with xit or pending()?

大兔子大兔子 提交于 2019-12-22 01:41:02
问题 When we find a bug with one of our Protractor Jasmine2 specs, we usually want to skip the test until the bug has been resolved. I know how to do this with xit or pending() , and JasmineReporters TerminalReporter is doing a nice job of color highlighting and listing pending specs. However, the pending tests always report No reason given , which implies it is possible to give a reason for the skipped test. I currently comment the spec with an issue number, but it would be really nice to report

Promises change the exitCode of the jenkins job, how to prevent this?

巧了我就是萌 提交于 2019-12-08 12:24:49
问题 I have the following reporters in the protractor.conf file: var promise1 = new Promise(function (resolve) { reporter1.afterLaunch(resolve.bind(this, exitCode)); }); var promise2 = new Promise(function (resolve) { reporter2.afterLaunch(resolve.bind(this, exitCode)); }); return Promise.all([promise1, promise2]); Each of the above reporters have their own afterlaunch that would be expected to execute once the afterlaunch in the ptor.conf file is executed. This is a part of the continuous

protractor-jasmine2-html-reporter doesn't consolidate results for all test when tests are shared using 'shardTestFiles': true in conf file

五迷三道 提交于 2019-12-01 11:06:29
Recently we have configured our e2e-tests to be on Jenkins & soon we realized that we have to use shared test files: true options as complete suite run is taking very long time for us peeking 9-10hrs on daily basis. but when we configured below two options in conf file. tests are running fine but final report displays only the last specs run results in save path. consolidate all options is not giving the full reports. please find our conf file details. any help will be appreciated. Edit the conf file as per solution provide by Aditya. please help var Jasmine2HtmlReporter = require('protractor

protractor-jasmine2-html-reporter doesn't consolidate results for all test when tests are shared using 'shardTestFiles': true in conf file

南笙酒味 提交于 2019-12-01 07:28:05
问题 Recently we have configured our e2e-tests to be on Jenkins & soon we realized that we have to use shared test files: true options as complete suite run is taking very long time for us peeking 9-10hrs on daily basis. but when we configured below two options in conf file. tests are running fine but final report displays only the last specs run results in save path. consolidate all options is not giving the full reports. please find our conf file details. any help will be appreciated. Edit the