Merge pull request #28605 from frenzibyte/fix-main-menu-test-failure

Fix intermittent failure in online menu banner tests
This commit is contained in:
Dean Herbert 2024-06-26 15:11:57 +09:00 committed by GitHub
commit 4473f114a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,7 @@ namespace osu.Game.Tests.Visual.Menus
{
base.SetUpSteps();
AddStep("don't fetch online content", () => onlineMenuBanner.FetchOnlineContent = false);
AddStep("disable return to top on idle", () => Game.ChildrenOfType<ButtonSystem>().Single().ReturnToTopOnIdle = false);
}
[Test]