| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 GEN('#include "chrome/browser/ui/browser.h"'); | 5 GEN('#include "chrome/browser/ui/browser.h"'); |
| 6 GEN('#include "chrome/browser/ui/browser_commands.h"'); | 6 GEN('#include "chrome/browser/ui/browser_commands.h"'); |
| 7 GEN('#include "chrome/browser/ui/exclusive_access/' + | 7 GEN('#include "chrome/browser/ui/exclusive_access/' + |
| 8 'fullscreen_controller_test.h"'); | 8 'fullscreen_controller_test.h"'); |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // OobeWebUI should run in fullscreen. | 36 // OobeWebUI should run in fullscreen. |
| 37 GEN(' FullscreenNotificationObserver fullscreen_observer;'); | 37 GEN(' FullscreenNotificationObserver fullscreen_observer;'); |
| 38 GEN(' chrome::ToggleFullscreenMode(browser());'); | 38 GEN(' chrome::ToggleFullscreenMode(browser());'); |
| 39 GEN(' fullscreen_observer.Wait();'); | 39 GEN(' fullscreen_observer.Wait();'); |
| 40 }, | 40 }, |
| 41 | 41 |
| 42 /** @override */ | 42 /** @override */ |
| 43 setUp: function() { | 43 setUp: function() { |
| 44 testing.Test.prototype.setUp.call(this); | 44 testing.Test.prototype.setUp.call(this); |
| 45 | 45 |
| 46 // Polymer issue https://github.com/Polymer/polymer/issues/1081 | 46 /* False positives. http://crbug.com/501489 */ |
| 47 this.accessibilityAuditConfig.ignoreSelectors('badAriaAttributeValue', | 47 this.accessibilityAuditConfig.ignoreSelectors('badAriaAttributeValue', |
| 48 'PAPER-BUTTON'); | 48 '#cancelConfirmDlg'); |
| 49 this.accessibilityAuditConfig.ignoreSelectors('badAriaAttributeValue', | 49 this.accessibilityAuditConfig.ignoreSelectors( |
| 50 '#progressContainer'); | 50 'nonExistentAriaLabelledbyElement', |
| 51 '#cancelConfirmDlg'); |
| 52 |
| 53 /** |
| 54 * False positive AX_FOCUS_01. |
| 55 * https://github.com/GoogleChrome/accessibility-developer-tools/issues/171 |
| 56 */ |
| 57 this.accessibilityAuditConfig.ignoreSelectors( |
| 58 'focusableElementNotVisibleAndNotAriaHidden', |
| 59 '#iconButton'); |
| 51 }, | 60 }, |
| 52 }; | 61 }; |
| 53 | 62 |
| 54 function createOobeWebUITestSupervisedManagerData() { | 63 function createOobeWebUITestSupervisedManagerData() { |
| 55 return { 'managers': | 64 return { 'managers': |
| 56 [ | 65 [ |
| 57 { 'username' : 'user@invalid.domain', | 66 { 'username' : 'user@invalid.domain', |
| 58 'displayName' : 'John Doe', | 67 'displayName' : 'John Doe', |
| 59 'emailAddress' : 'user@invalid.domain' | 68 'emailAddress' : 'user@invalid.domain' |
| 60 }, | 69 }, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // other way to initialize the appropriate C++ handlers. | 121 // other way to initialize the appropriate C++ handlers. |
| 113 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() { | 122 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() { |
| 114 Oobe.getInstance().showScreen({'id':'user-image'}); | 123 Oobe.getInstance().showScreen({'id':'user-image'}); |
| 115 }); | 124 }); |
| 116 | 125 |
| 117 // TODO: figure out what state to mock in order for this | 126 // TODO: figure out what state to mock in order for this |
| 118 // screen to show up. | 127 // screen to show up. |
| 119 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() { | 128 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() { |
| 120 Oobe.getInstance().showScreen({'id':'account-picker'}); | 129 Oobe.getInstance().showScreen({'id':'account-picker'}); |
| 121 }); | 130 }); |
| OLD | NEW |