-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having different extensions on the sidebar tests #38
Comments
There are still some problems by turning the browsertest to BrowserWithTestWindowTest browser_action_test_util_ Using the approach of existing unittest at e7f7bed [ RUN ] SidebarTest.CreateSidebar |
Now the browsertests are also checking the proper behaviour with several extensions df0dcfe Apart from other issues with the unittests and BrowserWithTestWindowTest, it seems that the cause for is_showing_popup failing(), even for the case of creating the extension and setting open_in_popup:true, is because the created extension was failing to have a proper default_popup. |
Having now again all the checks done using unittests seems to have some problems, as we were creating manually the sidebar using the CreateSidebar(browser()->tab_strip_model()->GetActiveWebContents()) of the former sidebarManager. As we don't have it any more, ExtensionActionViewController::ExecuteAction returns ExtensionAction::ACTION_NONE due to !(web_contents) so no latter TriggerSidebar|PopupWithUrl is called. |
The unittest that are not using sidebar_manager are at 3fe7d25 |
By the comments from Devlin https://codereview.chromium.org/1168383002/#msg20
Also review if we can manage to have the tests running inside of unittests instead of the browser ones
The text was updated successfully, but these errors were encountered: