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

[v5] Unable to finish test launch even when results are uploaded #43

Open
harvzkie opened this issue May 22, 2020 · 10 comments
Open

[v5] Unable to finish test launch even when results are uploaded #43

harvzkie opened this issue May 22, 2020 · 10 comments

Comments

@harvzkie
Copy link

Describe the bug
Using Cypress, when executing the spec will leave the automation running because it is waiting for the test launch to finish.

The installation method is using without docker.

There is no error reported from the logs.

Expected behavior
Test launch should finish and automation should not leave hanging

Screenshots
If you take a look on the screenshot, the test launch is not completed however the results are uploaded
image

this is the grep logs
image

Installed versions:
API_VERSION="5.2.1"
UAT_VERSION="5.2.1"
ANALYZER_VERSION="5.0.0"
MIGRATIONS_VERSION="5.2.0"
UI_VERSION="5.2.0"
SERVICE_INDEX_VERSION="5.0.8"

@DzmitryHumianiuk
Copy link
Member

@harvzkie cypress integration version?

@ElenaRomanchuk ElenaRomanchuk self-assigned this May 22, 2020
@ElenaRomanchuk
Copy link
Collaborator

@harvzkie The current released version of agent-js-cypress doesn't work with ReportPortal v5. The work for adjustment this agent to ReportPortal v5 is still in progress. This bug will be fixed in nearest release. You can try and check it by specifying whole path in package.json:
"reportportal-client": "https://github.com/reportportal/agent-js-cypress.git#master"
Please let us know if you try and something still goes wrong.

@harvzkie
Copy link
Author

@ElenaRomanchuk thanks for the response. Initially I was using the agent-js-cypress and was not successful so I did use the reportportal-client to check if I can get through, below is my modified code

image

But still unable to work through. I will look forward for the adjustment.

@DzmitryHumianiuk the Cypress version used is 4.4.1

@ElenaRomanchuk
Copy link
Collaborator

@harvzkie Adjusted version of reportportal-client hasn't released yet too. Stay tuned! We will release them soon.

@harvzkie
Copy link
Author

thanks @ElenaRomanchuk

@evjlobanova evjlobanova transferred this issue from reportportal/reportportal May 25, 2020
@ElenaRomanchuk
Copy link
Collaborator

Hi @harvzkie ,
We released the new version of cypress reporter as a new package @reportportal/agent-js-cypress: https://www.npmjs.com/package/@reportportal/agent-js-cypress. It has a new possibility of runtime merge launches into single: https://github.com/reportportal/agent-js-cypress#automatically-merge-launches. You can try it now.
Merge launches with 'isLaunchMergeRequired' option doesn't work now, but will be fixed in nearest future in 5.0.1 version.
Hope this solves your issue.

@harvzkie
Copy link
Author

hello @ElenaRomanchuk ,
Thank you for keeping me updated. I will check on this and will feedback to you later.

@KurisuLim
Copy link

@harvzkie and @ElenaRomanchuk
Any update regarding this issue?
My team still has similar issues.
Tests are being launched and it's running infinitely, even though the test locally has been finished.

@vishallanke
Copy link

@KurisuLim
Are you still facing this issue - "Tests are being launched and it's running infinitely, even though the test locally has been finished. " ?

@0xIslamTaha
Copy link

I can confirm that this bug has been fixed with the latest release but, it takes too long time to be updated in the portal

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

7 participants