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

Added log file name for API tests #391

Merged
merged 1 commit into from
May 22, 2024

Conversation

shivahari
Copy link
Collaborator

Modified conftest.py module to instantiate API_Player object with a log_file parameter to create log files in test filename.

I validated the following after making my change:

  • A new log file with the same as the test module is created after an API test run.
  • Log files for UI tests are created without any regression.

@avinash010
Copy link
Collaborator

Tested by running api tests and validated that test_api_example.log file is being created now and has all the log messages.
Validated by running the UI tests to make sure that the log files are still created for those

@shivahari shivahari merged commit 8220aad into master May 22, 2024
2 checks passed
@shivahari shivahari deleted the issue_390_write_log_to_testname_file branch May 22, 2024 11:50
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