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

Can't report steps as logs #32

Open
kycyyy opened this issue Sep 7, 2022 · 5 comments
Open

Can't report steps as logs #32

kycyyy opened this issue Sep 7, 2022 · 5 comments
Assignees
Labels
bug Something isn't working Waiting info from requestor

Comments

@kycyyy
Copy link

kycyyy commented Sep 7, 2022

I have tried to set cucumberNestedSteps to true and run the test. And I got the following errors

yarn clean & wdio run ./config/wdio.local.conf.ts --suite e2e

I use the latest version of the lib "@reportportal/agent-js-webdriverio": "^5.0.2",.

[0-0] Error: Request failed with status code 400: {"errorCode":40019,"message":"Test item status is ambiguous. There is no status provided from request and there are no descendants to check statistics for test item id '1140'"}
[0-0] at /node_modules/@reportportal/client-javascript/lib/rest.js:37:15
[0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[0-0] Error: Request failed with status code 400: {"errorCode":40019,"message":"Test item status is ambiguous. There is no status provided from request and there are no descendants to check statistics for test item id '1140'"}
[0-0] at /node_modules/@reportportal/client-javascript/lib/rest.js:37:15
[0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[0-0] Error: Request failed with status code 400: {"errorCode":40019,"message":"Test item status is ambiguous. There is no status provided from request and there are no descendants to check statistics for test item id '1140'"}
[0-0] at /node_modules/@reportportal/client-javascript/lib/rest.js:37:15
[0-0] at processTicksAndRejections (node:internal/process/task_queues:96:5)

Any ideas? I want to aggregate test results per run instead of per spec. Right now, the report portal can only collect results per spec.

@tr1ble
Copy link
Contributor

tr1ble commented Nov 10, 2022

Hello! I couldn't reproduce the issue. Can you share some more details (cucumber version, config, test example) ? Thanks a lot!

@tr1ble tr1ble self-assigned this Nov 10, 2022
@AmsterGet
Copy link
Member

Hello @kycyyy!
Could you provide the additional information that @tr1ble requested? It would also be very helpful if you could share a reproducible sample of this issue.
Thank you!

@AmsterGet AmsterGet added bug Something isn't working Waiting info from requestor and removed Check: UI labels Feb 28, 2023
@AmsterGet
Copy link
Member

AmsterGet commented Mar 4, 2024

Hello @kycyyy !
Is this issue still relevant to you?

@umarkhanTR
Copy link

I am using this statement from github and i can't see it on report portal
const { ReportingApi } = require('@reportportal/agent-js-webdriverio');
ReportingApi.info('suite INFO message log', null, 'Logs attaching. Launch, suite and tests with different logs');

i put this logging statement inside before and inside tests. none of them being seen on report portal

@AmsterGet
Copy link
Member

Hi @umarkhanTR !
Did you face any errors?
You can check our examples repo to see it in action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting info from requestor
Projects
None yet
Development

No branches or pull requests

4 participants