brave-browser#61441 Test best-practice violations in brave_wallet_permission_context_browsertest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41583
tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation
Browser tests in browser/permissions/brave_wallet_permission_context_browsertest.cc break test best practices documented in docs/best-practices. BraveWalletPermissionContextBrowserTest.GetAllowedAccounts (high severity) L94 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: GetAllowedAccounts checks the returned std::optional with EXPECT_TRUE and then dereferences it on the next line (lines 94-95 and 113-114). If the optional is empty,…
Timeline (6 of 9 events)
- 2026-11-05 20:48 Label added
QA/Noby netzenbot - 2026-11-05 20:48 Label added
release-notes/excludeby netzenbot - 2026-11-12 13:08 Referenced by brave-core#41583 by netzenbot
- 2026-11-13 03:52 Closed
completedby brian-brave - 2026-11-13 03:54 Milestone set
1.102.x - Nightlyby brave-builds - 2026-11-16 12:48 Label added
OS/Desktopby netzenbot