New issue
Advanced search Search tips

Issue 790015 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Add ability jump to update screen at OOBE in autotest

Project Member Reported by dhadd...@chromium.org, Nov 30 2017

Issue description

As 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


 
I checked in the test with the DOM clicks and sleeps to get some coverage. Hopefully we can get this change in soon too. 
Status: Fixed (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, 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

Status: Verified (was: Fixed)
Tests passing with skipToUpdateForTesting. Woot! 

Sign in to add a comment