DescriptionFix TabManagerTest.TabManagerBasics flakiness with PlzNavigate.
NOTIFICATION_NAV_ENTRY_COMMITTED only checks that a navigation committed (but not complete). This worked fine without PlzNavigate. But with PlzNavigate, timing differences meant that while the renderer was still handling a previous navigation and it got a back/forward command, it would cancel the previous load. The fix is to use the TestNavigationObserver class to wait for navigations to complete.
BUG=504347
Patch Set 1 #
Messages
Total messages: 6 (6 generated)
|