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

Always set testing cookies, even on pages which do not use them #505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dragon-dxw
Copy link
Contributor

@dragon-dxw dragon-dxw commented May 3, 2024

Addresses #80

Uses code from OpenHumans/open-humans#1109

Modifies the tests slightly to attempt to set the cookie on a page which doesn't make use of waffle.

@dragon-dxw dragon-dxw force-pushed the always-set-cookies branch from 6d9edf5 to 473771b Compare July 3, 2024 11:17
@dragon-dxw
Copy link
Contributor Author

Taking another look, I think there's a slight issue with my changes to the tests -- we no longer test whether the results of the flag toggle are instantly available at the instant of having been run. If people make good noises I'll fix that (by broadly replicating the original test)

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.

1 participant