summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional
Commit message (Collapse)AuthorAgeFilesLines
* Disable passwords.py Pyauto tests on Mac due to Keychain popupsnirnimesh@chromium.org2010-07-181-0/+2
| | | | | | | | BUG=49378 Review URL: http://codereview.chromium.org/3031008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52836 0039d316-1c4b-4281-b951-d872f2087c98
* New PyAuto hook to get saved passwords. BUG=36179alyssad@chromium.org2010-07-162-0/+61
| | | | | | Review URL: http://codereview.chromium.org/2842047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52745 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a theme testnirnimesh@chromium.org2010-07-161-2/+4
| | | | | | | | | Fix a theme test by using absolute path to the theme file. Review URL: http://codereview.chromium.org/2861056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52709 0039d316-1c4b-4281-b951-d872f2087c98
* Expose cookie get/set to pyautoalyssad@chromium.org2010-07-152-0/+26
| | | | | | Review URL: http://codereview.chromium.org/2903008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52522 0039d316-1c4b-4281-b951-d872f2087c98
* Clear Browsing Data hook added and some small tests. BUG=36176alyssad@chromium.org2010-07-142-0/+84
| | | | | | Review URL: http://codereview.chromium.org/2909005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52402 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for pyauto extensions tool to allow for multiple browser windows to be openalyssad@chromium.org2010-07-141-3/+4
| | | | | | Review URL: http://codereview.chromium.org/2991004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52348 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto: Automation hooks to get/set themenirnimesh@chromium.org2010-07-102-0/+46
| | | | | | | | | | | | | | | | 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
* New pyauto hook to set and get autofill profilesalyssad@chromium.org2010-07-092-0/+54
| | | | | | Review URL: http://codereview.chromium.org/2836046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51984 0039d316-1c4b-4281-b951-d872f2087c98
* New PyAuto functional test: codesign test for Macalyssad@chromium.org2010-07-082-0/+55
| | | | | | Review URL: http://codereview.chromium.org/2868038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51853 0039d316-1c4b-4281-b951-d872f2087c98
* Fix HistoryTest.testForge on Winnirnimesh@chromium.org2010-07-031-3/+11
| | | | | | | | | | | Python's time might be slightly off from Chrome's time on win. In HistoryTest.testForge this affects the ordering of the history entries. Make the test function robust to this. Review URL: http://codereview.chromium.org/2825036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51579 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of an obsolete test for page options prefnirnimesh@chromium.org2010-06-291-6/+0
| | | | | | | | Page options button pref has been removed. Remove the test. Review URL: http://codereview.chromium.org/2810036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51080 0039d316-1c4b-4281-b951-d872f2087c98
* Added about:about page.hinoka@chromium.org2010-06-281-0/+1
| | | | | | | | | BUG=44699 TEST=Go to about:about, and see if About page loads. Check if links work. Review URL: http://codereview.chromium.org/2845027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51038 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50956 - Added an about:about page (recommit)hinoka@chromium.org2010-06-271-1/+0
| | | | | | | | | | | | | | | | Added a new page, about:about (or chrome://about/about) continued from http://codereview.chromium.org/2799038/show fixed typo that screwed up ChromeOS compiling BUG=44699 TEST=Go to about:about, and see if About page loads. Check if links work. TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/2861028 TBR=hinoka@chromium.org Review URL: http://codereview.chromium.org/2814035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50957 0039d316-1c4b-4281-b951-d872f2087c98
* Added an about:about page (re-commit)hinoka@chromium.org2010-06-271-0/+1
| | | | | | | | | | | | | Added a new page, about:about (or chrome://about/about) continued from http://codereview.chromium.org/2799038/show fixed typo that screwed up ChromeOS compiling BUG=44699 TEST=Go to about:about, and see if About page loads. Check if links work. TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/2861028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50956 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50917 - Added an about:about page (continuation)thestig@chromium.org2010-06-261-1/+0
| | | | | | | | | | | | | | | | | | | | continued from http://codereview.chromium.org/2754002/show changelist disappeared after machine swap. Added a new page, about:about (or chrome://about/about) Includes a list of most of the about:* pages (eg. Left out about:inducebrowsercrashforrealz) Page is constructed within browser_about_handler.cc BUG=44699 TEST=Go to about:about, and see if About page loads. Check if links work. Review URL: http://codereview.chromium.org/2799038 TBR=hinoka@chromium.org Review URL: http://codereview.chromium.org/2813037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50922 0039d316-1c4b-4281-b951-d872f2087c98
* Added an about:about page (continuation)hinoka@chromium.org2010-06-261-0/+1
| | | | | | | | | | | | | | | | | continued from http://codereview.chromium.org/2754002/show changelist disappeared after machine swap. Added a new page, about:about (or chrome://about/about) Includes a list of most of the about:* pages (eg. Left out about:inducebrowsercrashforrealz) Page is constructed within browser_about_handler.cc BUG=44699 TEST=Go to about:about, and see if About page loads. Check if links work. Review URL: http://codereview.chromium.org/2799038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50917 0039d316-1c4b-4281-b951-d872f2087c98
* Disable content.ContentTest.testThreeWindows on linux.nirnimesh@chromium.org2010-06-251-0/+1
| | | | | | | | | | content.ContentTest.testThreeWindows fails on linux. Disabling for now. BUG=47457 Review URL: http://codereview.chromium.org/2808025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50793 0039d316-1c4b-4281-b951-d872f2087c98
* Enable "get html from page" functionality for PyAuto.jrg@chromium.org2010-06-242-0/+93
| | | | | | | | | 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
* A qa-tool to check that the browser does not crash after extensions are ↵nirnimesh@chromium.org2010-06-231-0/+65
| | | | | | | | installed. Review URL: http://codereview.chromium.org/2831020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50656 0039d316-1c4b-4281-b951-d872f2087c98
* Change URL in a test to one that doesn't redirect so that the test passes again.nirnimesh@chromium.org2010-06-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/2806017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50378 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an omnibox test to match realitynirnimesh@chromium.org2010-06-151-1/+1
| | | | | | | | Relax the check to ensure that we just do substring match for "google.com" when testing inline autocomplete in the omnibox. Review URL: http://codereview.chromium.org/2814002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49838 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch a bunch of info from the browsernirnimesh@chromium.org2010-05-252-5/+31
| | | | | | | | | | | | | | 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
* Add support for test exclusions for pyauto tests.nirnimesh@chromium.org2010-05-252-10/+7
| | | | | | | | | | | | 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
* Get rid of navsuggest results in omnibox tests.nirnimesh@chromium.org2010-05-201-14/+1
| | | | | | | | | Turns out navsuggest (URL suggestions) depends on the mood of the google servers. Removing navsuggest. Review URL: http://codereview.chromium.org/2117022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47856 0039d316-1c4b-4281-b951-d872f2087c98
* A few more tests for omniboxnirnimesh@chromium.org2010-05-191-14/+79
| | | | | | | | | | | | | testSuggest,testDiffTypesOfResults,testSuggestPref,testSuggestCombinationOfWords - from Srikanth Also, - make testCrazyFilenames more robust to deal with win quirks - expand testHistory to test from another tab, another window and incognito window Review URL: http://codereview.chromium.org/2122012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47613 0039d316-1c4b-4281-b951-d872f2087c98
* Add new omnibox functional testsnirnimesh@chromium.org2010-05-182-24/+103
| | | | | | | | 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
* Fix a pref test -- Win/Linux don't have browser.show_page_options_buttons prefnirnimesh@chromium.org2010-05-181-3/+7
| | | | | | | | 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
* Add a few functional tests for prefsnirnimesh@chromium.org2010-05-171-0/+66
| | | | | | | | | | | | testNavigationStateOnSessionRestore -- from Sunand testDownloadDirPref -- from Deepak testToolbarButtonsPref, testHomepagePrefs -- from Rohit TEST=python chrome/test/functional/prefs.py Review URL: http://codereview.chromium.org/2087005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47464 0039d316-1c4b-4281-b951-d872f2087c98
* Add automation hooks for fetching info about omniboxnirnimesh@chromium.org2010-05-142-0/+75
| | | | | | | | | | | | 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
* Add hooks for fetching basic info from the browser.nirnimesh@chromium.org2010-05-132-0/+37
| | | | | | | | 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
* Remove chrome://net-internals from special tabs testnirnimesh@chromium.org2010-05-111-2/+0
| | | | | | | | | | | Recent changes to chrome://net-internals (and about:net-internals) code no longer sets the title as expected. Remove them. TEST=python chrome/test/functional/special_tabs.py Review URL: http://codereview.chromium.org/2041009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46892 0039d316-1c4b-4281-b951-d872f2087c98
* Add an AddHistoryItem() API to PyAuto with example use.jrg@chromium.org2010-05-071-0/+26
| | | | | | | | | | | 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
* Add hooks to fetch about:plugins info for PyAuto.nirnimesh@chromium.org2010-05-062-0/+45
| | | | | | | | | 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
* Add pyauto tests for Navigation.nirnimesh@chromium.org2010-05-052-2/+105
| | | | | | Review URL: http://codereview.chromium.org/1948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46471 0039d316-1c4b-4281-b951-d872f2087c98
* Add new bookmarks tests.nirnimesh@chromium.org2010-05-032-0/+99
| | | | | | | | | | | testURLTypes (from Srikanth): test for different URL types - http: https: ftp: javascript:, etc testDuplicateBookmarks (from Ismail): Verify bookmark duplicates testBookmarksPersistence (from Deepak): Verify that bookmarks and groups persist browser restart testSessionRestoreShowBookmarkBar (from Srikanth): Verify restore for bookmark bar visibility Review URL: http://codereview.chromium.org/1719002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46292 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Fix GetFileURLForPath for windows. GetFileURLForPath() should not quote() ↵nirnimesh@chromium.org2010-05-032-21/+33
| | | | | | | | | | | | ':' 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
* Fix data dir name for testRedirectHistory on linuxnirnimesh@chromium.org2010-04-291-1/+1
| | | | | | | | | | | dir name "history" is not the same as "History" on linux, though it is on Mac on which I tried first. :( TEST=python chrome/test/functional/history.py Review URL: http://codereview.chromium.org/1789009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45994 0039d316-1c4b-4281-b951-d872f2087c98
* Add 2 tests for history.nirnimesh@chromium.org2010-04-292-19/+32
| | | | | | | | | | | | | 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 automation hooks for setting/gettting preferences.nirnimesh@chromium.org2010-04-292-6/+34
| | | | | | | | | | | | | | | | 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
* Fix testInvalidURLNoHistory to account for proxy invalid url page.nirnimesh@chromium.org2010-04-291-3/+5
| | | | | | | | | Proxy servers can show up a page for invalid URLs. This does go in history, and so that test fails. Use file:// urls only. Review URL: http://codereview.chromium.org/1745020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45888 0039d316-1c4b-4281-b951-d872f2087c98
* Add tests for history.nirnimesh@chromium.org2010-04-261-2/+108
| | | | | | | | | | | | | | | 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
* Fix downloads.DownloadsTest.testCrazyFilenames to use crazy filenames butnirnimesh@chromium.org2010-04-221-89/+51
| | | | | | | | | | don't checkin the files. Instead create the files on the fly. Also back out 2 tests (testDownloadInIncognito, testfileRenamingWithIncognito) which unintentionally got checked in yesterday. Review URL: http://codereview.chromium.org/1702003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45345 0039d316-1c4b-4281-b951-d872f2087c98
* revert crazy_filenamesnirnimesh@chromium.org2010-04-211-1/+69
| | | | | | Review URL: http://codereview.chromium.org/1742001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45137 0039d316-1c4b-4281-b951-d872f2087c98
* Add a download test for crazy filenames.nirnimesh@chromium.org2010-04-201-0/+29
| | | | | | | | | | 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
* Enable history testnirnimesh@chromium.org2010-04-191-0/+1
| | | | | | Review URL: http://codereview.chromium.org/1558047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44977 0039d316-1c4b-4281-b951-d872f2087c98
* Add automation hooks for fetching history.nirnimesh@chromium.org2010-04-191-0/+38
| | | | | | | | | | | 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
* testFileRenaming: Test file renaming when downloading a already-existing filenirnimesh@chromium.org2010-04-191-7/+43
| | | | | | | | 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
* Add test for more special tabsnirnimesh@chromium.org2010-04-161-0/+4
| | | | | | Review URL: http://codereview.chromium.org/1594034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44741 0039d316-1c4b-4281-b951-d872f2087c98
* Add tests to verify special tabs like chrome://history chrome://downloads, ...nirnimesh@chromium.org2010-04-132-1/+51
| | | | | | | | Most tests from krisr Review URL: http://codereview.chromium.org/1541009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44374 0039d316-1c4b-4281-b951-d872f2087c98
* Add generic "json dict" entry point for pyauto commands. Will preventjrg@chromium.org2010-04-022-3/+19
| | | | | | | | | | | | | | | | the need to modify the automation proxy anymore. New pyauto commands will only need to edit pyauto.py (to add a new SendJSONCommand() call) and browser_proxy.cc (to implement the other side). Contrast with the normal editing of ~8 files. Also added WaitForAllDownloadsToComplete using new JSON path. BUG=http://crbug.com/39274 Review URL: http://codereview.chromium.org/1547012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43436 0039d316-1c4b-4281-b951-d872f2087c98