Close open Incognito tabs for batch tests using fast reset.
Tests relying on not having primary OTR profile can fail in batch test where one of the test may have opened an Incognito tab. This CL: a) Ensures closing all Incognito tabs between each test run in the batch to not have any Incognito residue between batch tests. b) Modifies the ProfileTest to open an Incognito tab before asking for the primary OTR profile as asking for primary OTR profile by default creates a new primary OTR profile if it doesn't exists already. Like, this we can delete the profile just by closing the Incognito tab which is now taken care by BlankCTATabInititalStateRule. Bug: 1161449 Change-Id: I5b4205ded48c74e8104acf240764ce4801b768d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612271 Commit-Queue: benjamin joyce <bjoyce@chromium.org> Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#842766}
Showing
Please register or sign in to comment