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

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

Issue 21004005: Made small refactoring of OobeUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed location of .oobe_completed. Created 7 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.cc ('k') | 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 /** 5 /**
6 * Fixture for ChromeOs WebUI OOBE testing. 6 * Fixture for ChromeOs WebUI OOBE testing.
7 * 7 *
8 * There's one test for each page in the Chrome OS Out-of-box-experience 8 * There's one test for each page in the Chrome OS Out-of-box-experience
9 * (OOBE), so that an accessibility audit can be run automatically on 9 * (OOBE), so that an accessibility audit can be run automatically on
10 * each one. This will alert a developer immediately if they accidentally 10 * each one. This will alert a developer immediately if they accidentally
11 * forget to label a control, or if a focusable control ends up 11 * forget to label a control, or if a focusable control ends up
12 * off-screen without being disabled, for example. 12 * off-screen without being disabled, for example.
13 * @constructor 13 * @constructor
14 */ 14 */
15 function OobeWebUITest() {} 15 function OobeWebUITest() {}
16 16
17 OobeWebUITest.prototype = { 17 OobeWebUITest.prototype = {
18 __proto__: testing.Test.prototype, 18 __proto__: testing.Test.prototype,
19 19
20 browsePreload: 'chrome://oobe#login', 20 browsePreload: 'chrome://oobe/oobe',
21 21
22 isAsync: false 22 isAsync: false
23 }; 23 };
24 24
25 TEST_F('OobeWebUITest', 'EmptyOobe', function() { 25 TEST_F('OobeWebUITest', 'EmptyOobe', function() {
26 }); 26 });
27 27
28 TEST_F('OobeWebUITest', 'OobeConnect', function() { 28 TEST_F('OobeWebUITest', 'OobeConnect', function() {
29 Oobe.getInstance().showScreen({'id':'connect'}); 29 Oobe.getInstance().showScreen({'id':'connect'});
30 }); 30 });
(...skipping 14 matching lines...) Expand all
45 // other way to initialize the appropriate C++ handlers. 45 // other way to initialize the appropriate C++ handlers.
46 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() { 46 TEST_F('OobeWebUITest', 'DISABLED_OobeUserImage', function() {
47 Oobe.getInstance().showScreen({'id':'user-image'}); 47 Oobe.getInstance().showScreen({'id':'user-image'});
48 }); 48 });
49 49
50 // TODO: figure out what state to mock in order for this 50 // TODO: figure out what state to mock in order for this
51 // screen to show up. 51 // screen to show up.
52 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() { 52 TEST_F('OobeWebUITest', 'DISABLED_OobeAccountPicker', function() {
53 Oobe.getInstance().showScreen({'id':'account-picker'}); 53 Oobe.getInstance().showScreen({'id':'account-picker'});
54 }); 54 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698