| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| /** |
| * @fileoverview Test suite for the App Management page. |
| */ |
| const ROOT_PATH = '../../../../../'; |
| |
| GEN_INCLUDE( |
| [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); |
| GEN('#include "chrome/common/chrome_features.h"'); |
| |
| function AppManagementBrowserTest() {} |
| |
| AppManagementBrowserTest.prototype = { |
| __proto__: PolymerTest.prototype, |
| |
| browsePreload: 'chrome://apps', |
| |
| extraLibraries: PolymerTest.getLibraries(ROOT_PATH), |
| |
| featureList: ['features::kAppManagement', ''], |
| |
| /** override */ |
| runAccessibilityChecks: true, |
| }; |
| |
| |
| function AppManagementAppTest() {} |
| |
| AppManagementAppTest.prototype = { |
| __proto__: AppManagementBrowserTest.prototype, |
| |
| extraLibraries: AppManagementBrowserTest.prototype.extraLibraries.concat([ |
| 'app_test.js', |
| ]), |
| }; |
| |
| TEST_F('AppManagementAppTest', 'All', function() { |
| mocha.run(); |
| }); |