• Tanmoy Mollik's avatar
    [Android] Add tests for GoogleServicesSettings page · a0a6538d
    Tanmoy Mollik authored
    Add tests to check "Allow Chrome Sign-in" toggle behavior in
    GoogleServicesSettings page. It tests two specific behavior:
    
    1. When the user is signed in without sync consent, toggling the
    preference off should sign the user out without showing the sign-out
    dialog and should not wipe user data.
    
    2. When the user is signed in with sync consent, toggling the preference
    off should launch the sign out dialog to give the user an option to wipe
    data.
    
    Bug: 1138167
    Change-Id: I481039755bcadd626e9bc0662b29f94b5d4298b1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2475059Reviewed-by: default avatarBoris Sazonov <bsazonov@chromium.org>
    Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#820188}
    a0a6538d
chrome_test_java_sources.gni 55.2 KB