brave-browser#60840 Weak unit tests in polkadot_provider_impl_unittest.cc
State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#41255
tests QA/No release-notes/exclude feature/web3/wallet OS/Android OS/Desktop OS/iOS tests/test-quality tests/weak-assertions
Unit tests in components/brave_wallet/browser/polkadot/polkadot_provider_impl_unittest.cc would keep passing if the behavior they cover broke. PolkadotProviderImplUnitTest.Enable_TabInactive (low severity) L319 - Why it's weak: Enable_TabInactive checks only that the error code is kUnknown, which is shared with the user-rejected and denied paths; the tab-not-active message that distinguishes this branch is not asserted. - Change that would still pass: In the kTabInactive…
Timeline (7 of 11 events)
- 2026-11-03 23:51 Label added
QA/Noby netzenbot - 2026-11-03 23:51 Label added
release-notes/excludeby netzenbot - 2026-11-04 20:59 Referenced by brave-core#41255 by netzenbot
- 2026-11-05 13:26 Closed
completedby bbondy - 2026-11-23 16:38 Label added
OS/Androidby netzenbot - 2026-11-23 16:38 Label added
OS/Desktopby netzenbot - 2026-11-23 16:38 Label added
OS/iOSby netzenbot