Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone have an example of mergeLaunches method? #219

Open
lucas-delafuente-deel opened this issue Oct 24, 2024 · 0 comments
Open

Does anyone have an example of mergeLaunches method? #219

lucas-delafuente-deel opened this issue Oct 24, 2024 · 0 comments

Comments

@lucas-delafuente-deel
Copy link

lucas-delafuente-deel commented Oct 24, 2024

Hi community, I would like to know if anyone achieve to use mergeLaunches method:

https://github.com/reportportal/client-javascript?tab=readme-ov-file#mergelaunches

rpClient.mergeLaunches({
    description: 'Regression tests',
    attributes: [
      {
        key: 'build',
        value: '1.0.0'
      }
    ],
    endTime: rpClient.helpers.now(),
    extendSuitesDescription: false,
    launches: [1, 2, 3],
    mergeType: 'BASIC',
    mode: 'DEFAULT',
    name: 'Launch name',
})

I tried to use it, but I'm not sure in which part of the code we should call this method + I'm not sure how we can get the 'real launch ids' to use in 'launches array'.

I'm using jest agent -> https://github.com/reportportal/agent-js-jest

Thanks in advance 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant