Skip to content

Commit

Permalink
Temporary fix to un-block linux-chromeos-chrome tryjob.
Browse files Browse the repository at this point in the history
Fix build error in LensRegionSearchControllerTest.

Disable unit test LensSidePanelControllerTest.CloseAfterOpenHidesLensSidePanel.

(cherry picked from commit a1d8e6d)

Bug: 1348808
Change-Id: I9ba3809efc6d32ab24de0dd99eec1f9c0658c02d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3796762
Reviewed-by: Matt Reichhoff <mreichhoff@chromium.org>
Owners-Override: Matt Reichhoff <mreichhoff@chromium.org>
Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com>
Cr-Original-Commit-Position: refs/heads/main@{#1030097}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3795798
Reviewed-by: Krishna Govind <govind@chromium.org>
Owners-Override: Krishna Govind <govind@chromium.org>
Commit-Queue: Srinivas Sista <srinivassista@chromium.org>
Cr-Commit-Position: refs/branch-heads/5213@{#3}
Cr-Branched-From: a489e16-refs/heads/main@{#1030093}
  • Loading branch information
rogertinkoff authored and Chromium LUCI CQ committed Aug 1, 2022
1 parent 80d425f commit b940204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LensRegionSearchControllerTest : public TestWithBrowserView {
void SetUp() override {
base::test::ScopedFeatureList features;
features.InitWithFeatures({features::kLensStandalone},
{features::kUnifiedSidePanel});
{::features::kUnifiedSidePanel});
TestWithBrowserView::SetUp();

// Create an active web contents.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ TEST_F(LensSidePanelControllerTest, OpenWithURLHidesChromeSidePanel) {
EXPECT_EQ(1, user_action_tester.GetActionCount(kHideChromeSidePanelAction));
}

TEST_F(LensSidePanelControllerTest, CloseAfterOpenHidesLensSidePanel) {
TEST_F(LensSidePanelControllerTest, DISABLED_CloseAfterOpenHidesLensSidePanel) {
base::UserActionTester user_action_tester;
controller_->OpenWithURL(
content::OpenURLParams(GURL("http://foo.com"), content::Referrer(),
Expand Down

0 comments on commit b940204

Please sign in to comment.