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

[FIX] Fix flaky embargo tests #2441

Merged
merged 1 commit into from
Sep 26, 2024
Merged

[FIX] Fix flaky embargo tests #2441

merged 1 commit into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. [FIX] Fix flaky embargo tests

    **ISSUE**
    The embargo specs fail intermittently when run in the full suite.
    
    **DIAGNOSIS**
    Depending on the randomized test order, the admin tests may run
    before the regular user tests. In some test orders, the admin
    user may remain logged in while the tests for regular users are run
    resulting in admin-only data being rendered in the views.
    
    **FIX**
    Explicitly log out any user from a previous test when testing
    regular or unauthenticated user views.
    mark-dce committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    71006ca View commit details
    Browse the repository at this point in the history