Closed zvpanchal closed 2 years ago
@zvpanchal Please read docs carefully. use:
const RpService = require('wdio-reportportal-service');
exports.config = {
// ...
services: [[RpService, {}]],
// ...
}
not
[
'RpService', {
},
],
Also
[
'reportportal', {
},
],
should work, but I haven't tried
Hi @BorisOsipov - Thanks for your reply.
I do have 2 projects using wdio-reportportal-service
; (1) Web Automation, and (2) Mobile Automation.
For Web Automation - [[RpService, {configParams}]]
worked. ([[RpService, {}]]
did not work as expected)
For Mobile Automation where I also need to use appium service in the array, I did try using [[RpService, {}]]
, [[RpService, { configParams }]]
or [[reportportal, {configParams}]]
. None of these options worked for my mobile test automation when I have appium in the services list.
@zvpanchal could not help without reproducible example. please create simple github repo that I can clone and repro the issue.
@BorisOsipov - Sure, I will.
I did some trial and error, and found that if I remove appium
from the services array, then wdio-reportportal-service
works as expected (i.e. it completes the launch on report portal after finishing all the tests).
As soon as I add appium
in the array, RpService does not work as intended... so something to look at..
I will work on getting a repo up and running for you to reproduce
Problem: Report Portal launches remain "In Progress" even after the test suite completes.
Below is my package.json
Below is my config file