| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Vertical Tabs] Test the real tab strip in TabCollectionNodeBrowserTest
TabCollectionNodeBrowserTests currently leverage elements of the
InProcessBrowserTest environment (such as the default browser and
its associated tab strip APIs) - but instantiate a makeshift
RootTabCollectionNode with a View hierarchy anchored to a
parent_view with no associated Widget.
The current test setup and configuration is not representative of
a real browser environment, e.g. invariants that hold in production
have been seen to fail in these test cases. Further the setup makes
it confusing to understand exactly what is being tested.
This CL updates the fixture to inherit from the
VerticalTabsBrowserTestMixin (which aligns with other browser tests
in this directory) and instantiates a real vertical tab strip
for testing.
Helpers have been added to allow access to the root node and view. Test
cases have been updated to leverage the new helpers in the fixture but
are otherwise unchanged.
ViewFactory and associated APIs has been removed from TabCollectionNode
as this existed only to service the makeshift instantiation of the
vertical tab strip mentioned above.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |