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

DEV: Capture logs for all tests in spec/system/assign_topic_spec.rb #542

Merged
merged 1 commit into from
Jan 4, 2024

Commits on Jan 4, 2024

  1. DEV: Capture logs for all tests in spec/system/assign_topic_spec.rb

    Why this change?
    
    We have been getting flaky test failures from these specs and the
    failure screenshot shows that the user is not logged in when it is
    supposed to be. Futher investigation shows that when the test flakes, it
    is because the request to view the topic is using an auth token that is
    different from the one which was created when the user was signed in.
    
    What does this change do?
    
    1. Add the `capture_log` metadata to all the tests in this file.
    
    2. Enables the `verbose_auth_token_logging` site setting to give us more
       debugging information in the logs.
    tgxworld committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    40dc0ef View commit details
    Browse the repository at this point in the history