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

YDA-6040: add portal info API tests #535

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

stsnel
Copy link
Member

@stsnel stsnel commented Dec 5, 2024

On API test failures, print more information for troubleshooting purposes:

  • CI: On failures, print web server error logs and portal access log for troubleshooting on portal level.
  • API tests: if tests are unable to get a CSRF token, print the user that the error occurred with and the response from the web server for troubleshooting purposes.

(version for Yoda 1.10 and up)

On API test failures, print more information for troubleshooting
purposes:
- CI: On failures, print web server error logs and portal access log
  for troubleshooting on portal level.
- API tests: if tests are unable to get a CSRF token, print the user
  that the error occurred with and the response from the web server
  for troubleshooting purposes.

(version for Yoda 1.10 and up)
Since we only run it using Python 3
@stsnel stsnel marked this pull request as ready for review December 9, 2024 16:38
@lwesterhof lwesterhof self-requested a review December 10, 2024 08:06
Copy link
Member

@lwesterhof lwesterhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stsnel stsnel merged commit 74171ae into development Dec 10, 2024
16 checks passed
@stsnel stsnel deleted the yda-6040-add-portal-logs-api-tests branch December 10, 2024 13:15
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