-
Notifications
You must be signed in to change notification settings - Fork 51
Description
After running tests in the 'DEBUG' mode I see that we are getting link to the "launches" instead of debugs (from
https://github.com/reportportal/client-javascript/blob/develop/lib/report-portal-client.js#L249 )
When I run tests in the playwright I see at the end text like:
"ReportPortal Launch Link: https://<reportportal_url>//launches/all/", but in my project I do I configuration:
const baseReportPortalConfig = {
apiKey: '<key>',
endpoint: '<endpoint>',
project: '<project>',
launch: '<launch>',
description: '<description>',
mode: 'DEBUG',
skippedIssue: true,
debug: false,
includeTestSteps: true,
log: true
};
So I expect the URL to be "https://<reportportal_url>//userdebug/all/".
I do see the correct URL if I go to the report portal UI, but not in the test, which is confusing, since if I open the launch URL it has no logs.
My setup is Playwright + ReportPortal (https://github.com/reportportal/agent-js-playwright + https://github.com/reportportal/client-javascript/ + https://www.npmjs.com/package/@playwright/test)