summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/settings/settings_basic_browsertest.js
blob: fedd00d999ce1e45b1fbc315521f3ae3b42e3338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2015 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.

/**
 * @extends {testing.Test}
 * @constructor
 */
function SettingsBasicBrowserTest() {}

SettingsBasicBrowserTest.prototype = {
  __proto__: testing.Test.prototype,

  /** @override */
  browsePreload: 'chrome://md-settings/',

  /**
   * TODO(dpapad): Fix accessibility issues and enable checks.
   * @override
   */
  runAccessibilityChecks: false,
};

// Flaky timeout failures on Linux Tests (dbg) and Win7 Tests (dbg); see
// https://crbug.com/558434.
TEST_F('SettingsBasicBrowserTest', 'DISABLED_NoConsoleErrors', function() {
  assertEquals(this.browsePreload, document.location.href);
  // Nothing else to assert here. If there are errors in the console the test
  // will automatically fail.
});