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

Suite and Launch are not finishing in report portal. #72

Open
sha392edu opened this issue Jul 10, 2022 · 4 comments
Open

Suite and Launch are not finishing in report portal. #72

sha392edu opened this issue Jul 10, 2022 · 4 comments

Comments

@sha392edu
Copy link

Hi,

I have followed the README file to integrate the report portal with my test framework.

But the Suite and Reports are not finished on the report portal.

Here's the execution log

Start launch sktwisf0l5fmdyyv [23:29:13] I/launcher - Running 1 instances of WebDriver [23:29:13] I/direct - Using ChromeDriver directly... Started (node:36828) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use node --trace-deprecation ... to show where the warning was created) Start test item sktwisf0l5fmdzpy Success start item sktwisf0l5fmdzpy Start test item sktwisf0l5fmdzq0 {"level":"info","message":"Picked up test environment"} {"level":"info","message":"Picked up test environment"} Success start item sktwisf0l5fmdzq0 {"level":"info","message":"User navigated to Earn Page"} {"level":"info","message":"Earn page header verification complete"} .Finish test item sktwisf0l5fmdzq0 Success finish item sktwisf0l5fmdzq0 Save log sktwisf0l5fmecks Successfully save log sktwisf0l5fmecks Finish test item sktwisf0l5fmdzq0 Success finish item sktwisf0l5fmdzq0

image

I don't see the suite and launch are finished.

The exact configuration is working for https://www.npmjs.com/package/agent-js-jasmine

But it's deprecated.

Can someone please help me fix this issue?

@tr1ble
Copy link
Contributor

tr1ble commented Aug 8, 2022

Hello @sha392edu.
Can you give reproducable sample ?

@grzelu
Copy link

grzelu commented Sep 5, 2022

Hi,
I have got the same issue. agent-js-jasmine@3.0.0 works perfectly, however it is missing attributes settings.

On v5, I can see these logs.

node protractorLaunchFile.js
Report destination:   src/protractor_results/index.html
(node:45) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[11:48:44] I/launcher - Running 10 instances of WebDriver
..........................FF...[11:53:52] I/testLogger - 
------------------------------------
[11:53:52] I/testLogger - [chrome #01-1] PID: 62
[chrome #01-1] Specs: /protractor/src/suites/configuration_detail/configurationDetailSpec.js
[chrome #01-1] 
[chrome #01-1] (node:62) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[chrome #01-1] [11:48:46] I/direct - Using ChromeDriver directly...
[chrome #01-1] Started
[chrome #01-1] ****
[chrome #01-1] 
[chrome #01-1] Pending:
[chrome #01-1] 
[chrome #01-1] 1) configurationDetail should open formula preview by selected feature
[chrome #01-1]   Temporarily disabled with xit
[chrome #01-1] 
[chrome #01-1] 
[chrome #01-1] 2) configurationDetail should transition to configurationList using breadcrumbs
[chrome #01-1]   Temporarily disabled with xit
[chrome #01-1] 
[chrome #01-1] 
[chrome #01-1] 3) configurationDetail should transition to teamTestlines using breadcrumbs
[chrome #01-1]   Temporarily disabled with xit
[chrome #01-1] 
[chrome #01-1] 
[chrome #01-1] 4) configurationDetail should transition to teamList using breadcrumbs
[chrome #01-1]   Temporarily disabled with xit
[chrome #01-1] 
[chrome #01-1] 4 specs, 0 failures, 4 pending specs
[chrome #01-1] Finished in 304.799 seconds
[chrome #01-1] 
[chrome #01-1] An error was thrown in an afterAll
[chrome #01-1] AfterAll Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

As for configuration, I follower github guide for multi thread protractor setup. Please tell me what do you need to investigate, and I'll provide it.

@abidk3
Copy link

abidk3 commented Oct 30, 2023

@tr1ble i am also facing this in agent-js-jasmine 5.0.2 Any update on this ?

@AmsterGet
Copy link
Member

Hello @abidk3 !
Could you please share the reproducible sample of this issue? As we cannot reproduce it right now on our side.
I suppose you can try to fork and adjust our examples with your use cases.

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

No branches or pull requests

5 participants