Chromium Code Reviews
DescriptionPyAuto: Flags to forbid cleaning profile dir
Several tests require quitting/killing chromium to test features like
restore. In addition, one might want to use pyauto on an existing profile.
This CL lets pyauto work without cleaning the profile dir.
Also lets specify the homepage to use.
Example: Running this test with CHROME_UI_TESTS_USER_DATA_DIR pointing to a
profile dir will run my script with the given dir as the user-data-dir
without cleaning it up, and also specifies the homepage to use.
class A(PyUITest):
def __init__(self, methodName):
PyUITest.__init__(self, methodName, clear_profile=False,
homepage="http://www.cnn.com")
def testA(self):
pass
BUG=None
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41878
Patch Set 1 #
Total comments: 8
Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 2
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||