agent-js-cypress icon indicating copy to clipboard operation
agent-js-cypress copied to clipboard

Tests hanging in project with large number of files

Open Saoife opened this issue 3 years ago • 5 comments

Sometimes in a project with a large number of files, the test finishes before the agent can finish searching for any screenshots to attach. The tests in reportportal will hang after that until they time out.

Saoife avatar Mar 09 '21 17:03 Saoife

Duplicate? https://github.com/reportportal/agent-js-cypress/issues/64

tamasmagyar avatar Mar 23 '21 09:03 tamasmagyar

Duplicate? #64

I think that's a different issue, for this one it's the individual tests that don't get completed. Auto-merge doesn't seem to change anything either

Saoife avatar Apr 01 '21 09:04 Saoife

Duplicate? #64

I think that's a different issue, for this one it's the individual tests that don't get completed. Auto-merge doesn't seem to change anything either

I think it's kind of a similar issue. The problem is Report Portal closes the "connection" and doesn't wait until the screenshots are uploaded in your case. On #64 it doesn't wait for the auto-merge. Can you check the workaround mentioned in #64 ?

tamasmagyar avatar Apr 01 '21 09:04 tamasmagyar

Hello @ElasticDragonfly ! Can it be connected with https://github.com/reportportal/agent-js-cypress/issues/76? This issue already fixed in v5.0.3.

AmsterGet avatar Jan 27 '22 13:01 AmsterGet

Hello @Saoife ! The screenshot mechanism has been completely rewritten and released in version 5.1.2. Have you tried using it? Please check your issue with the latest agent version. Looking forward to your feedback!

AmsterGet avatar Jul 26 '24 16:07 AmsterGet

I'll close this issue. Feel free to reopen it if your request is still relevant.

AmsterGet avatar Aug 08 '24 15:08 AmsterGet