| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Verifies the multiple downloads infobar.
Implemented by Venkat, who figured out how to reliably trigger the multiple
downloads infobar.
Review URL: http://codereview.chromium.org/3066017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's already enabled on windows by default. This of course applies only to the branded builds.
Also, make the path to imported pyauto binaries prettier by applying os.path.normpath
Change to chrome_switches.cc is to put a comment at the place where it belongs
Review URL: http://codereview.chromium.org/2873073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53911 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/3007014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53875 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/3026016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53791 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux
TBR: erg
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/3054004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53634 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/3005028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53550 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Actions include: dismissing an infobar, accept/close-ing it
Also, enable infobars tests.
Review URL: http://codereview.chromium.org/3042012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53304 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes user-visible info about the following types of infobars:
- ConfirmInfoBarDelegate (includes ThemeInstalledInfoBarDelegate & CrashedExtensionInfoBarDelegate)
- AlertInfoBarDelegate
- LinkInfoBarDelegate
- TranslateInfoBarDelegate
Adds a test to verify crash infobar when a (flash) plugin dies.
Review URL: http://codereview.chromium.org/2305001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53161 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
timeout a bit to accommodate failng tests.
BUG=none
TEST=Vista perf goes green; xp test dbg 2 goes green.
TBR=phajdan.jr
Review URL: http://codereview.chromium.org/3044007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2842047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52745 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor json automation interface for pyauto hooks.
Reduces the number of lines you need to add per new automation hook. Shaves
off several lines of code.
Refactor pyauto.py to obviate raising exception in case the json interfaces produces an error string.
Review URL: http://codereview.chromium.org/2898001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reduces the number of lines you need to add per new automation hook. Shaves
off several lines of code.
Refactor pyauto.py to obviate raising exception in case the json interfaces produces an error string.
Reason: since startup_test of XP Perf and Vista Perf failed around this change and
this change touched automated test
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52054
Review URL: http://codereview.chromium.org/2898001
TBR=nirnimesh@chromium.org
Review URL: http://codereview.chromium.org/2812057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52640 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reduces the number of lines you need to add per new automation hook. Shaves
off several lines of code.
Refactor pyauto.py to obviate raising exception in case the json interfaces produces an error string.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52054
Review URL: http://codereview.chromium.org/2898001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52628 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2903008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52522 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=43231
Review URL: http://codereview.chromium.org/2923010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2909005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52402 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert 52054 - Refactor json automation interface for pyauto hooks.
Reduces the number of lines you need to add per new automation hook. Shaves
off several lines of code.
Refactor pyauto.py to obviate raising exception in case the json interfaces produces an error string.
Review URL: http://codereview.chromium.org/2898001
TBR=nirnimesh@chromium.org
Review URL: http://codereview.chromium.org/2977001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Reduces the number of lines you need to add per new automation hook. Shaves
off several lines of code.
Refactor pyauto.py to obviate raising exception in case the json interfaces produces an error string.
Review URL: http://codereview.chromium.org/2898001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52054 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add automation hooks to:
- install a given theme
- fetch info about the current theme
- reset to default theme
Add a test exercising the above.
BUG=36215
TEST=python chrome/test/functional/themes.py
Review URL: http://codereview.chromium.org/2827048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52024 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2836046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51984 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Also, use command_line_string() from base/command_line.h which is
cross-platform now.
Review URL: http://codereview.chromium.org/2800029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51055 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Remove 2 redundant lines.
Review URL: http://codereview.chromium.org/2810032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50904 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=36184
TEST=Run PyAuto's content.py and make sure it passes.
Review URL: http://codereview.chromium.org/2861019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50678 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
just stdout.
Review URL: http://codereview.chromium.org/2826014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50668 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix so that extra flags passed actually get passed on to chrome
2. Make it easier (get rid of --ui-test-flags option since it was cumbersome)
Now, extra options can be passed like:
python mytest.py --chrome-flags="--enable-crash-reporter"
Still need a way for an individual TestCase to be able to add flags, without
being provided from the command line.
Review URL: http://codereview.chromium.org/2833015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50170 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes info about the browser/renderer/extension/other PIDs, window size.
Add a method to set window size.
Add tests to verify window size, and verify flash loading.
BUG=43234
TEST=python chrome/test/functional/browser.py
Review URL: http://codereview.chromium.org/2133013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48192 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it easy to exclude tests in PYAUTO_TESTS by prefixing '-'. This
can be done in any platform-specific section as well to exclude a test
on that platform.
Update PYAUTO_TESTS accordingly.
Review URL: http://codereview.chromium.org/2161006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48175 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=python chrome/test/functional/omnibox.py
Review URL: http://codereview.chromium.org/2091011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47573 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=python chrome/test/functional/prefs.py prefs.PrefsTest.testToolbarButtonsPref
Review URL: http://codereview.chromium.org/2117009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47481 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=python chrome/test/functional/omnibox.py omnibox.OmniboxTest.testSelect
Review URL: http://codereview.chromium.org/2136010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47470 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Make the use of browser explicit for each json handler so that handlers
that need access to Browser* can have it. Omnibox needs it.
2. Add a simple test
TEST=python chrome/test/functional/omnibox.py
Review URL: http://codereview.chromium.org/2015010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47311 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This includes info like version string, executable name, path, and so on.
Review URL: http://codereview.chromium.org/2009013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47159 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2016004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46844 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Change GetHistory time value from int to float to keep precision.
BUG=none
TEST=run pyautolib
Review URL: http://codereview.chromium.org/2036004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46704 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Also, hooks for to enable/disable a plugin.
Add a test which excercises them.
Review URL: http://codereview.chromium.org/1935003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46553 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1948002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46471 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
':' in the drive letter on windows.
2. Fix testCrazyFilenames test for win. Expand crazy_filenames.txt to contain i18n filenames as ascii strings.
3. Disable bookmark_bar.testBookmarkBarVisible on win
4. Get rid of using hashlib module in dowload tests. Since we have the files, it doesn't make sense to compute checksum to verify if 2 files are the same -- direct comparison will do.
Review URL: http://codereview.chromium.org/1780013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
testDownloadNoHistory,testRedirectHistory -- from Deepak.
Also, move _DownloadAndWaitForStart (re-used by the new tests) to a common
location.
TEST=python chrome/test/funtional/history.py
Review URL: http://codereview.chromium.org/1702010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test which excercises this, update old test.
Also,
- Remove some old prefs hooks. They were not easy to use and required the user to know what a preference type was, with no way of listing them out.
- replace if-else statements for json handlers with a map.
- Fix json error strings. json prefers " over ' (automation_provider.cc)
BUG=42701
TEST=python chrome/test/functional/prefs.py
Review URL: http://codereview.chromium.org/1712019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45956 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tests various scenarios with chromium history.
testHistoryPersists, testInvalidURLNoHistory -- by Srikanth.
testNewTabNoHistory, testIncognitoNoHistory, testStarredBookmarkInHistory,
testHistorySearchSnippet -- by Ismail.
testNavigateMultiTimes, testMultiTabsWindowsHistory -- by Rohit.
TEST=python chrome/test/functional/history.py
Review URL: http://codereview.chromium.org/1745012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45597 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
many times to determine flakiness.
Review URL: http://codereview.chromium.org/1759004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45426 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
crazy filenames = long/short filenames, special chars, i18n chars.
Test written by rohitbm
Review URL: http://codereview.chromium.org/1717001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45090 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the last bit of info we needed from the chrome://history/ page (
the one I forgot to add in the last CL).
With this, we can write tests combining history and bookmarks!
Review URL: http://codereview.chromium.org/1618032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45086 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Select and close previous theme info bars when resetting to default theme via the options dialog. As a nice side effect if one tab is showing a theme info bar and the user switches to a different theme in another tab, this change closes the previous theme info bars as well.
(landing for satish@chromium.org / http://codereview.chromium.org/1622017/show)
BUG=35607
TEST=Install a theme, and with the theme info bar visible open Preferences dialog and click 'reset to default theme' and check the info bar. (full steps given in the above bug entry)
Review URL: http://codereview.chromium.org/1650016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45034 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Adding a test which exercises the GetHistoryInfo() hooks.
BUG=39275
TEST=python chrome/test/functional/history.py
Review URL: http://codereview.chromium.org/1648015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44964 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Also, fix download problem when downloading a file. Since we use NavigateToURL() to trigger a download, it might take a while for it to actually start downloading and doing WaitForAllDownloadsToComplete() won't work until downloads actually start. Used WaitUntil for this. (WaitUntil has been reviewed earlier in http://codereview.chromium.org/1541009).
Review URL: http://codereview.chromium.org/1575043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44924 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default theme via the options dialog. As a nice side effect if one tab is showing a theme info bar and the user switches to a different theme in another tab, this change closes the previous theme info bars as well.
BUG=35607
TEST=Install a theme, and with the theme info bar visible open Preferences dialog and click 'reset to default theme' and check the info bar. (full steps given in the above bug entry)
Landing http://codereview.chromium.org/1622017/show for Satish.
Review URL: http://codereview.chromium.org/1600030
TBR=jorlow@chromium.org
Review URL: http://codereview.chromium.org/1599038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44886 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via the options dialog. As a nice side effect if one tab is showing a theme info bar and the user switches to a different theme in another tab, this change closes the previous theme info bars as well.
BUG=35607
TEST=Install a theme, and with the theme info bar visible open Preferences dialog and click 'reset to default theme' and check the info bar. (full steps given in the above bug entry)
Landing http://codereview.chromium.org/1622017/show for Satish.
Review URL: http://codereview.chromium.org/1600030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44885 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makes info about downloads available to pyauto.
Also add JSONInterfaceError to represent an error in the json ipc interace.
TEST=None
BUG=None
Review URL: http://codereview.chromium.org/1637008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44664 0039d316-1c4b-4281-b951-d872f2087c98
|