简体   繁体   中英

Report Portal Launch is not stopping

I have a protractor-cucumber-framework project and am running my test on selenium standalone server. And have set reports in protractor.conf.js file as " format: ['json:reports/results.json', 'progress', ${reportPortalFormatter}:${tempFile.name} ]"

However once my test execution finished and i check reports in report portal i see Launch is showing in-progress.

Seen all the configuration and specs are file. Not sure how to deal with it.

Version of frameworks I have Below details might help you: "cucumber": "4.1.0", "@reportportal/agent-js-cucumber": "5.0.1" "protractor": "^7.0.0", "protractor-cucumber-framework": "5.0.0",

I have worked on protractor-cucumber-framework project. For the reports to be generated we used two ways.

  1. Generate parallel reports which can be generated using package: 'protractor-multiple-cucumber-html-reporter-plugin'
  2. Generate the html report when all your tests are executed. Set the report in onComplete event. It will generate the report once all the tests are executed.

Below is the code which I have used in the project for point2. 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM