Skip to content

Can't report steps as logs #32

Open
@kycyyy

Description

@kycyyy

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions