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

Save command result values in Json Report. #4258

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

garg3133
Copy link
Member

Currently, the result values for the Nightwatch commands are not saved in the JSON report, only the result status is saved.

This PR allows users to save the command result values as well in the JSON report by setting the save_command_result_value config to true in the Nightwatch configuration file.

For large result values, a new file is created to put the result value and the path of that file is saved in the JSON report instead of the actual value.

cc: @sauravdas1997

Copy link

Status

  • ❌ No modified files found in the types directory.
    Please make sure to include types for any changes you have made. Thank you!.

…ctree and logged.

Also fixes a bug where the nodes from new Element API were getting resolved early due to which the following Nightwatch commands were getting added as child nodes of the last new Element API command.
@AutomatedTester AutomatedTester merged commit da3cc62 into nightwatchjs:main Sep 17, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants