Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Side by Side Diff: chrome/test/data/chromeos/oobe_webui_browsertest.js

Issue 2500343002: Disable tests of OobeWebUITest (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 'emailAddress' : 'user@invalid.domain' 130 'emailAddress' : 'user@invalid.domain'
131 }, 131 },
132 { 'username' : 'other@invalid.domain', 132 { 'username' : 'other@invalid.domain',
133 'displayName' : 'Joanna Doe', 133 'displayName' : 'Joanna Doe',
134 'emailAddress' : 'other@invalid.domain' 134 'emailAddress' : 'other@invalid.domain'
135 } 135 }
136 ] 136 ]
137 }; 137 };
138 } 138 }
139 139
140 TEST_F('OobeWebUITest', 'EmptyOobe', function() { 140 // Fails on chromeos, http://crbug.com/665315
141 TEST_F('OobeWebUITest', 'DISABLED_EmptyOobe', function() {
141 }); 142 });
142 143
143 TEST_F('OobeWebUITest', 'OobeConnect', function() { 144 // Fails on chromeos, http://crbug.com/665315
145 TEST_F('OobeWebUITest', 'DISABLED_OobeConnect', function() {
144 Oobe.getInstance().showScreen({'id':'connect'}); 146 Oobe.getInstance().showScreen({'id':'connect'});
145 }); 147 });
146 148
147 TEST_F('OobeWebUITest', 'OobeEula', function() { 149 // Fails on chromeos, http://crbug.com/665315
150 TEST_F('OobeWebUITest', 'DISABLED_OobeEula', function() {
148 Oobe.getInstance().showScreen({'id':'eula'}); 151 Oobe.getInstance().showScreen({'id':'eula'});
149 }); 152 });
150 153
151 TEST_F('OobeWebUITest', 'OobeUpdate', function() { 154 // Fails on chromeos, http://crbug.com/665315
155 TEST_F('OobeWebUITest', 'DISABLED_OobeUpdate', function() {
152 Oobe.getInstance().showScreen({'id':'update'}); 156 Oobe.getInstance().showScreen({'id':'update'});
153 }); 157 });
154 158
155 TEST_F('OobeWebUITest', 'OobeGaiaSignIn', function() { 159 // Fails on chromeos, http://crbug.com/665315
160 TEST_F('OobeWebUITest', 'DISABLED_OobeGaiaSignIn', function() {
156 Oobe.getInstance().showScreen({'id':'gaia-signin'}); 161 Oobe.getInstance().showScreen({'id':'gaia-signin'});
157 }); 162 });
158 163
159 TEST_F('OobeWebUITest', 'OobeSupervisedUsers', function() { 164 // Fails on chromeos, http://crbug.com/665315
165 TEST_F('OobeWebUITest', 'DISABLED_OobeSupervisedUsers', function() {
160 Oobe.getInstance().showScreen( 166 Oobe.getInstance().showScreen(
161 {'id' : 'supervised-user-creation', 167 {'id' : 'supervised-user-creation',
162 'data' : createOobeWebUITestSupervisedManagerData()}); 168 'data' : createOobeWebUITestSupervisedManagerData()});
163 }); 169 });
164 170
165 TEST_F('OobeWebUITest', 'OobeSupervisedUsers2', function() { 171 // Fails on chromeos, http://crbug.com/665315
172 TEST_F('OobeWebUITest', 'DISABLED_OobeSupervisedUsers2', function() {
166 Oobe.getInstance().showScreen( 173 Oobe.getInstance().showScreen(
167 {'id' : 'supervised-user-creation', 174 {'id' : 'supervised-user-creation',
168 'data' : createOobeWebUITestSupervisedManagerData()}); 175 'data' : createOobeWebUITestSupervisedManagerData()});
169 $('supervised-user-creation').setVisiblePage_('manager'); 176 $('supervised-user-creation').setVisiblePage_('manager');
170 }); 177 });
171 178
172 TEST_F('OobeWebUITest', 'OobeSupervisedUsers3', function() { 179 // Fails on chromeos, http://crbug.com/665315
180 TEST_F('OobeWebUITest', 'DISABLED_OobeSupervisedUsers3', function() {
173 Oobe.getInstance().showScreen( 181 Oobe.getInstance().showScreen(
174 {'id' : 'supervised-user-creation', 182 {'id' : 'supervised-user-creation',
175 'data' : createOobeWebUITestSupervisedManagerData()}); 183 'data' : createOobeWebUITestSupervisedManagerData()});
176 $('supervised-user-creation').setDefaultImages( 184 $('supervised-user-creation').setDefaultImages(
177 [{'url': 'chrome://nothing/', 'title': 'None'}, 185 [{'url': 'chrome://nothing/', 'title': 'None'},
178 {'url': 'chrome://nothing/', 'title': 'None'}]); 186 {'url': 'chrome://nothing/', 'title': 'None'}]);
179 $('supervised-user-creation').setVisiblePage_('username'); 187 $('supervised-user-creation').setVisiblePage_('username');
180 }); 188 });
181 189
182 // TODO: this either needs a WebUILoginDisplay instance or some 190 // TODO: this either needs a WebUILoginDisplay instance or some
183 // other way to initialize the appropriate C++ handlers. 191 // other way to initialize the appropriate C++ handlers.
184 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() { 192 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() {
185 Oobe.getInstance().showScreen({'id':'user-image'}); 193 Oobe.getInstance().showScreen({'id':'user-image'});
186 }); 194 });
187 195
188 // TODO: figure out what state to mock in order for this 196 // TODO: figure out what state to mock in order for this
189 // screen to show up. 197 // screen to show up.
190 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() { 198 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() {
191 Oobe.getInstance().showScreen({'id':'account-picker'}); 199 Oobe.getInstance().showScreen({'id':'account-picker'});
192 }); 200 });
193 201
194 202 // Fails on chromeos, http://crbug.com/665315
195 TEST_F('OobeWebUITest', 'HIDDetectionScreenTest', function() { 203 TEST_F('OobeWebUITest', 'DISABLED_HIDDetectionScreenTest', function() {
196 function getPincodeSymbol(i) { 204 function getPincodeSymbol(i) {
197 return $('hid-keyboard-pincode-sym-' + (i + 1)); 205 return $('hid-keyboard-pincode-sym-' + (i + 1));
198 } 206 }
199 207
200 function getDisplayedPincode() { 208 function getDisplayedPincode() {
201 var pincode = ''; 209 var pincode = '';
202 for (var i = 0; i < 6; ++i) 210 for (var i = 0; i < 6; ++i)
203 pincode += getPincodeSymbol(i).textContent; 211 pincode += getPincodeSymbol(i).textContent;
204 return pincode; 212 return pincode;
205 } 213 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 expectEquals(!!expectedClasses[className], 246 expectEquals(!!expectedClasses[className],
239 symbol.classList.contains(className)); 247 symbol.classList.contains(className));
240 }); 248 });
241 }); 249 });
242 250
243 login.HIDDetectionScreen.contextChanged({ 251 login.HIDDetectionScreen.contextChanged({
244 'keyboard-state': 'connected' 252 'keyboard-state': 'connected'
245 }); 253 });
246 expectTrue($('hid-keyboard-pincode').hidden); 254 expectTrue($('hid-keyboard-pincode').hidden);
247 }); 255 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698