diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 19:15:53 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 19:15:53 +0000 |
commit | 12887da74db3002a8b0ec0d5d2e1f838dd5be7af (patch) | |
tree | c89880b291ccf7bd38978c47cd941c72e26f6973 /chrome/tools/automated_ui_test_tools | |
parent | 9de6459478d57b435a31be7b964f9248d4ec17e3 (diff) | |
download | chromium_src-12887da74db3002a8b0ec0d5d2e1f838dd5be7af.zip chromium_src-12887da74db3002a8b0ec0d5d2e1f838dd5be7af.tar.gz chromium_src-12887da74db3002a8b0ec0d5d2e1f838dd5be7af.tar.bz2 |
First part of automated_ui_tests improvements.
- disable unreliable RestoreTab action
- make more command sync, waiting for their completion
TEST=none
BUG=21547, 21636
Review URL: http://codereview.chromium.org/196096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/automated_ui_test_tools')
-rwxr-xr-x | chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py | 5 | ||||
-rw-r--r-- | chrome/tools/automated_ui_test_tools/possible_actions.txt | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py b/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py index df9bc22..4c335e6 100755 --- a/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py +++ b/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py @@ -245,7 +245,10 @@ class AutomatedTestInputGenerator: def __init__(self): (options,args) = ParseCommandLine() input_file = open(options.input_file_name) - actions_list = input_file.readlines() + actions_list = [] + for line in input_file.readlines(): + if not line.startswith('#'): + actions_list.append(line) input_file.close() self.__commands_per_file = options.commands_per_file diff --git a/chrome/tools/automated_ui_test_tools/possible_actions.txt b/chrome/tools/automated_ui_test_tools/possible_actions.txt index 9e5ad61..c69406f9 100644 --- a/chrome/tools/automated_ui_test_tools/possible_actions.txt +++ b/chrome/tools/automated_ui_test_tools/possible_actions.txt @@ -1,3 +1,4 @@ +# Please keep the list sorted. Back ChangeEncoding CloseTab @@ -16,7 +17,8 @@ DragTabRight DragTabOut OpenWindow Reload -RestoreTab +# Disabled, it doesn't work reliably (http://crbug.com/21636). +# RestoreTab SelectNextTab SelectPrevTab ShowBookmarks |