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

Account for rate changing mods when disabling the "Ready" button #30929

Merged
merged 4 commits into from
Dec 3, 2024

Conversation

timschumi
Copy link
Contributor

If I managed to gather enough resolve to enable DTNF to save my streak, the game better let me do it.

Writing tests is something that I haven't figured out yet, help much appreciated.

@bdach
Copy link
Collaborator

bdach commented Dec 2, 2024

Tests would be good to see here. You said you wanted help with that but not sure with what specifically?

@timschumi
Copy link
Contributor Author

Tests would be good to see here. You said you wanted help with that but not sure with what specifically?

Mainly just general unfamiliarity with the testing framework, starting even from the very basic question of "should this be tested headless or not?". It will take me a few days to read into it, but I'll get there at some point.

@bdach
Copy link
Collaborator

bdach commented Dec 3, 2024

"should this be tested headless or not?"

Either is fine, but headless is probably slightly better in this case.

@pull-request-size pull-request-size bot added size/L and removed size/S labels Dec 3, 2024
@smoogipoo
Copy link
Contributor

It's not super easy to test because of the track, so I've gone ahead and added some tests for you.

@smoogipoo smoogipoo merged commit be05f2a into ppy:master Dec 3, 2024
8 of 9 checks passed
@timschumi timschumi deleted the rate-change-ready branch December 3, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants