You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using
reportportal version 5.0.2,
nightwatch version 2.6.20
Error: Request failed with status code 400: {"errorCode":4001,"message":"Incorrect Request. [Value is not allowed for field 'status'.] "}
As a workaround, we are updated the /node_modules/@reportportal/client-javascript/lib/rest.js with these lines: let updatedData = data if(data.status !== undefined) { console.log("Status of test execution is --> " + updatedData.status) if (updatedData.status == 'pass') { updatedData.status = 'Passed' data = updatedData } else if (updatedData.status == 'fail') { updatedData.status = 'Failed' data = updatedData } else { updatedData.status = 'Skipped' data = updatedData } }
Can you please take a look at this error?
Is it possible to upgrade the client to use nightwatch 2.6.20?
The text was updated successfully, but these errors were encountered:
Using
reportportal version 5.0.2,
nightwatch version 2.6.20
Error:
Request failed with status code 400: {"errorCode":4001,"message":"Incorrect Request. [Value is not allowed for field 'status'.] "}
As a workaround, we are updated the
/node_modules/@reportportal/client-javascript/lib/rest.js
with these lines:let updatedData = data if(data.status !== undefined) { console.log("Status of test execution is --> " + updatedData.status) if (updatedData.status == 'pass') { updatedData.status = 'Passed' data = updatedData } else if (updatedData.status == 'fail') { updatedData.status = 'Failed' data = updatedData } else { updatedData.status = 'Skipped' data = updatedData } }
Can you please take a look at this error?
Is it possible to upgrade the client to use nightwatch 2.6.20?
The text was updated successfully, but these errors were encountered: