New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 795071 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 798358
issue 799845

Blocking:
issue 801482


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

KitchenSync Waterfall is broken due to failing sync_integration_tests (missing element)

Project Member Reported by pnoland@chromium.org, Dec 14 2017

Issue description

These tests are consistently failing with the same message:

../../chrome/browser/ui/webui/signin/login_ui_test_utils.cc:185: Failure
      Expected: "found"
To be equal to: message
      Which is: "failed"
Failed to find element with id Email

After investigating I think the solution is fairly straightforward, so this could be a starter bug for Munich folks. 
 

Comment 1 by zea@chromium.org, Dec 14 2017

Owner: mastiz@chromium.org
Status: Assigned (was: Available)
On to Mikel then :) Feel free to reach out to us for any useful background/context/assistance.

Comment 2 by mastiz@chromium.org, Dec 18 2017

Owner: vitaliii@chromium.org
vitaliii@ volunteered, thanks.
Status: Started (was: Assigned)
The CL is https://chromium-review.googlesource.com/c/chromium/src/+/840000.

It looks like I figured it out :)
but I am OOO until 2nd of January, if there is any urgency, please feel free to overtake. Otherwise, I will finish it when I am back.
Project Member

Comment 5 by bugdroid1@chromium.org, Jan 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0f0700e77d47b6f1f22f58408cd2529dd152367a

commit 0f0700e77d47b6f1f22f58408cd2529dd152367a
Author: vitaliii <vitaliii@chromium.org>
Date: Tue Jan 02 11:02:43 2018

[Sync::IntegrationTests] Incorporate sign-in flow changes.

Both old and new sign-in flows were changed, which broke sync integration tests.
In this CL the sign-in code is updated for both flows:

- for the old flow, only "Next" button id has been changed;
- for the new flow:
  + new element ids;
  + different mechanism to wait for password field to appear.
    Previously this was achieved via javascript delay, however, the new flow has
    a redirect, which seems to reset injected javascript. The new approach is to
    inject new javascript for the check every second.

Also the detection of the flow had to be changed, because now the flows do not
share field ids anymore. Thus, the test just waits for either of the email
fields to appear.

Bug:  795071 
Change-Id: I5bb940ab9e410837b0ce91c6bdcb38c91b95b29f
Reviewed-on: https://chromium-review.googlesource.com/840000
Commit-Queue: vitaliii <vitaliii@chromium.org>
Reviewed-by: Mihai Sardarescu (OOO until Jan 2nd) <msarda@chromium.org>
Reviewed-by: Patrick Noland <pnoland@google.com>
Cr-Commit-Position: refs/heads/master@{#526457}
[modify] https://crrev.com/0f0700e77d47b6f1f22f58408cd2529dd152367a/chrome/browser/ui/webui/signin/login_ui_test_utils.cc
[modify] https://crrev.com/0f0700e77d47b6f1f22f58408cd2529dd152367a/chrome/browser/ui/webui/signin/login_ui_test_utils.h

Blockedon: 798358
Blockedon: 799845
Summary: KitchenSync Waterfall is broken due to failing sync_integration_tests (missing element) (was: KitchenSync Waterfall is broken due to failing sync_integration_tests)
I could not verify the fix on the buildbots because they failed with an exception at an earlier step (issue 798358). That issue has been fixed, however, now the tests fail with a different error message (issue 799845) and it is not clear whether it happens after the code above.
Labels: kitchen-sync
Blocking: 801482
Labels: SyncHandoff2018
Status: Fixed (was: Started)
We haven't observed this issue for a long time. Thus, I consider this fixed.

Sign in to add a comment