Improve brave_interactive_ui_tests target (#36297)
Added missing //chrome/installer/util:strings deps on Windows - some installer strings are used in admin user - used BraveTestLauncherDelegate
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/* Copyright (c) 2026 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "brave/test/base/brave_test_launcher_delegate.h"
|
||||
|
||||
// Apply Brave-specific behavior change in the test launcher delegate.
|
||||
// * Suppress first run dialog (Mac/Linux).
|
||||
// * Suppress browser window closing dialog.
|
||||
#define ChromeTestLauncherDelegate BraveTestLauncherDelegate
|
||||
|
||||
#include <chrome/test/base/interactive_ui_tests_main.cc>
|
||||
|
||||
#undef ChromeTestLauncherDelegate
|
||||
@@ -760,6 +760,7 @@ if (!is_android) {
|
||||
sources = [ "//chrome/test/base/interactive_ui_tests_main.cc" ]
|
||||
|
||||
deps = [
|
||||
":browser_test_support",
|
||||
"//brave:packed_resources",
|
||||
"//chrome:packed_resources",
|
||||
"//chrome/browser",
|
||||
@@ -770,6 +771,10 @@ if (!is_android) {
|
||||
"//ui/compositor",
|
||||
]
|
||||
|
||||
if (is_win) {
|
||||
deps += [ "//chrome/installer/util:strings" ]
|
||||
}
|
||||
|
||||
if (enable_commander) {
|
||||
deps += [ "//brave/browser/ui/commander:interactive_ui_tests" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user