[Signin] Add live Signin test for turning off Sync
This CL adds a new test DemoSignInTest::TurnOffSync to the suite of live Signin tests. The test does the following: - Turn on sync for Account A - Sign in Account B from the web - Check that Sync is enabled for Account A - Turn sync off from the settings - Check that both accounts are signed out from Chrome and the web This CL also simplifies JavaScript code used to sign user in. Fixed: 1006263 Change-Id: Idd901e5d2eaf55fe69fcbc41d304e25d9fd87ab9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1893994Reviewed-by:David Roger <droger@chromium.org> Commit-Queue: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#712087}
Showing
Please register or sign in to comment