brave-browser#61057 Test best-practice violations in brave_vpn_button_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41534
tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation tests/flaky-risk
Unit tests in browser/ui/views/toolbar/brave_vpn_button_unittest.cc break test best practices documented in docs/best-practices. BraveVpnButtonUnitTest.ButtonStateTestWithPurchasedState (medium severity) L103 - Rule: TA-005: NEVER Use RunUntilIdle() - Problem: ButtonStateTestWithPurchasedState waits for the asynchronous (mojo) purchased-state notification to reach BraveVPNButton with base::RunLoop().RunUntilIdle() at lines 164, 170 and 175, rather than waiting on the…
Timeline (6 of 10 events)
- 2026-11-05 14:19 Label added
QA/Noby netzenbot - 2026-11-05 14:19 Label added
release-notes/excludeby netzenbot - 2026-11-11 19:36 Referenced by brave-core#41534 by netzenbot
- 2026-11-12 12:23 Closed
completedbrave-core#41534 by brian-brave - 2026-11-12 12:23 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-23 16:39 Label added
OS/Desktopby netzenbot