Add ability jump to update screen at OOBE in autotest |
|||
Issue descriptionAs mentioned in our meeting, I am writing an autotest to test the blocking autoupdate at OOBE. I would like a function to call that will allow me to jump straight to the update page. Currently I am using JS to click elements in the DOM (and shadow DOM) and using sleeps between clicks to wait for the pages to be ready. I have hacked a basic test together using this approach. Please see the video here of the test running so you can see the flow: https://drive.google.com/a/google.com/file/d/1DW7Fa7CzYfxfctWfLI7YStkTW0dC4HG5/view?usp=sharing
,
Dec 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0c9a42dbc15a0f7321ef71e172b3769f706f485d commit 0c9a42dbc15a0f7321ef71e172b3769f706f485d Author: Achuith Bhandarkar <achuith@chromium.org> Date: Wed Dec 13 09:11:51 2017 Add skipToUpdateForTesting. BUG= chromium:790015 TEST=manual Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I4e1159a3aef37e7bde21f3032de6fdea107080cb Reviewed-on: https://chromium-review.googlesource.com/822893 Reviewed-by: Alexander Alekseev <alemate@chromium.org> Commit-Queue: Achuith Bhandarkar <achuith@chromium.org> Cr-Commit-Position: refs/heads/master@{#523727} [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/chromeos/login/wizard_controller.cc [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/chromeos/login/wizard_controller.h [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/resources/chromeos/login/login_shared.js [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/resources/chromeos/login/md_login_shared.js [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc [modify] https://crrev.com/0c9a42dbc15a0f7321ef71e172b3769f706f485d/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h
,
Dec 14 2017
,
Jan 6 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/b25fe50bc94adf8efee0051d1218cda159d84338 commit b25fe50bc94adf8efee0051d1218cda159d84338 Author: David Haddock <dhaddock@chromium.org> Date: Sat Jan 06 02:37:13 2018 [autotest] Allow AU OOBE test to jump directly to update screen. Previously this test clicked through DOM elements. Now achuith@ provided a function for the test to call. BUG= chromium:790015 BUG= chromium:795452 TEST=test_that <IP> autoupdate_ForcedOOBEUpdate passes on ToT Change-Id: I92cab514dfa370e72dd226936efc6a4655e9d558 Reviewed-on: https://chromium-review.googlesource.com/831107 Commit-Ready: David Haddock <dhaddock@chromium.org> Tested-by: David Haddock <dhaddock@chromium.org> Reviewed-by: David Haddock <dhaddock@chromium.org> [modify] https://crrev.com/b25fe50bc94adf8efee0051d1218cda159d84338/client/site_tests/autoupdate_StartOOBEUpdate/autoupdate_StartOOBEUpdate.py
,
Jan 7 2018
Tests passing with skipToUpdateForTesting. Woot! |
|||
►
Sign in to add a comment |
|||
Comment 1 by dhadd...@chromium.org
, Dec 7 2017