summaryrefslogtreecommitdiffstats
path: root/chrome/browser/session_history_uitest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Mark SessionHistoryTest.BasicBackForward as flaky on Mac.rohitrao@chromium.org2011-10-281-2/+3
| | | | | | | | BUG=102094 TEST=None Review URL: http://codereview.chromium.org/8413040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107741 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TODO(evanm) about only having ui_test.h forward declare AutomationProxy.darin@chromium.org2011-06-271-1/+2
| | | | | | | | R=evan@chromium.org Review URL: http://codereview.chromium.org/7243011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90666 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:mergeinfo props from many files.pkasting@chromium.org2011-04-081-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6814027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80878 0039d316-1c4b-4281-b951-d872f2087c98
* ui_tests: use proper API for getting tab titleevan@chromium.org2011-03-041-12/+12
| | | | | | | | | | | | | | To get the title actually shown by a tab, call the function that we use for computing the tab text. (Sometimes it returns title() and sometimes it computes something more complex.) This is identical to r76841 but for a different testing framework. :\ BUG=this actually fixes the ancient Google-internal bug 634097(!) Review URL: http://codereview.chromium.org/6632006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76982 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74118 - Remove wstring from RVH's run Javascript command.avi@chromium.org2011-02-081-19/+8
| | | | | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6312154 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6459002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74158 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wstring from RVH's run Javascript command.avi@chromium.org2011-02-081-8/+19
| | | | | | | | | BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6312154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74118 0039d316-1c4b-4281-b951-d872f2087c98
* Mark FragmentBackForward flaky.lzheng@chromium.org2011-01-261-7/+1
| | | | | | | | | BUG=61619 TEST=none Review URL: http://codereview.chromium.org/6277021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72676 0039d316-1c4b-4281-b951-d872f2087c98
* Match FormStructure DCHECK to AutoFillManager's check in OnFormSubmitted()isherman@chromium.org2011-01-261-2/+8
| | | | | | | | | BUG=70883 TEST=none Review URL: http://codereview.chromium.org/6273015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72671 0039d316-1c4b-4281-b951-d872f2087c98
* Mark SessionHistoryTest.FrameFormBackForward as flaky.phajdan.jr@chromium.org2011-01-261-8/+2
| | | | | | | | | | TBR=jhawkins BUG=70883 TEST=ui_tests Review URL: http://codereview.chromium.org/6384013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72617 0039d316-1c4b-4281-b951-d872f2087c98
* Moves everything related to launching and terminating the browser from ↵nirnimesh@chromium.org2011-01-081-1/+1
| | | | | | | | | | | | | UITestBase into ProxyLauncher. The primary changes are in ui_test.* and proxy_launcher.*. The changes in the remaining files are mostly just changing namespaces from UITestBase:: to ProxyLauncher::. BUG=None. TEST=All tests should pass. No functionality change. Review URL: http://codereview.chromium.org/5967003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70827 0039d316-1c4b-4281-b951-d872f2087c98
* Remove base/platform_thread.h stub and fix up all callers to use the new ↵brettw@google.com2011-01-011-1/+0
| | | | | | | | | location and namespace. TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70346 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a test for UpdateState messages after repeated back/forward navs.creis@google.com2010-11-231-2/+1
| | | | | | | | | | | | | Ensures that the fix for WebKit bug 48809 works in Chrome. Also re-enables a UI test that failed after a partial fix. BUG=58082, 62156 TEST=RenderViewTest.LastCommittedUpdateState TEST=SessionHistoryTest.FragmentBackForward Review URL: http://codereview.chromium.org/4444001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67166 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SessionHistoryTest.FragmentBackForward, which started failingdumi@chromium.org2010-11-061-1/+2
| | | | | | | | | | | | when WebKit's version was rolled from 71400:71457. BUG=62156 TEST=none TBR=ukai Review URL: http://codereview.chromium.org/4626001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65295 0039d316-1c4b-4281-b951-d872f2087c98
* Marking several SessionHistoryTest tests as flaky, they have been failing ↵robertshield@chromium.org2010-11-021-5/+41
| | | | | | | | | | | | | | | | | | | off and on on Vista: [ FAILED ] SessionHistoryTest.BasicBackForward [ FAILED ] SessionHistoryTest.FrameBackForward [ FAILED ] SessionHistoryTest.FrameFormBackForward [ FAILED ] SessionHistoryTest.FragmentBackForward [ FAILED ] SessionHistoryTest.LocationChangeInSubframe BUG=61619 TEST=None Review URL: http://codereview.chromium.org/4298002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64776 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the session history test. The associated WebKit bug ↵brettw@chromium.org2010-11-011-12/+2
| | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=48513 was fixed and this test passes for me locally. TEST=this is it BUG=61092 Review URL: http://codereview.chromium.org/4192013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64617 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SessionHistoryTest.FrameBackForward and FrameFormBackForward.mnaganov@chromium.org2010-10-281-2/+6
| | | | | | | | | | TBR=brettw@chromium.org,fishd@chromium.org BUG=61092 TEST=none Review URL: http://codereview.chromium.org/4217001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64251 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of missing bug references to FLAKY testsstuartmorgan@chromium.org2010-10-271-1/+1
| | | | | | | | | BUG=None TEST=N/A Review URL: http://codereview.chromium.org/4135007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64150 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59218 since we now avoid the problem in the testing webserver that ↵thomasvl@chromium.org2010-10-201-14/+2
| | | | | | | | | | caused problems. BUG=55380 TEST=waterfall says green Review URL: http://codereview.chromium.org/3908003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63209 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SessionHistoryTest.HistoryLength.evan@chromium.org2010-09-201-1/+2
| | | | | | | | | | It is very slow and occasionally times out. BUG=56267 Review URL: http://codereview.chromium.org/3412013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59941 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled SessionHistoryTest.BasicBackForward for Linux because it is flaky. ↵apatrick@chromium.org2010-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was already disabled for Windows. chrome/browser/session_history_uitest.cc:123: Failure Value of: tab_->NavigateToURL( test_server_.GetURL("files/session_history/bot3.html")) Actual: false Expected: true chrome/test/ui/ui_test.cc:361: Failure Value of: automation()->SetFilteredInet(false) Actual: false Expected: true chrome/test/ui/ui_test.cc:365: Failure Value of: automation()->GetBrowserWindowCount(&window_count) Actual: false Expected: true chrome/test/ui/ui_test.cc:386: Failure Value of: browser_proxy.get() Actual: false Expected: true TEST=try BUG=55380 Review URL: http://codereview.chromium.org/3437007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59844 0039d316-1c4b-4281-b951-d872f2087c98
* Marking some bugs as flaky that are failing on chromium xp a lot now.thomasvl@chromium.org2010-09-131-2/+14
| | | | | | | | | TBR=vandebo BUG=55380 TEST=greener tree Review URL: http://codereview.chromium.org/3290026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59218 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 6)thestig@chromium.org2010-08-191-2/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3093013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
* Test server cleanup patch of death:phajdan.jr@chromium.org2010-08-171-49/+33
| | | | | | | | | | | | | | - reduce the number of different classes - clean up the internal code - modify the interface to expose less internal details (this will allow more flexibility with port numbers) TEST=many BUG=49680 Review URL: http://codereview.chromium.org/3080029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56405 0039d316-1c4b-4281-b951-d872f2087c98
* Undisable SessionHistoryTest.HistoryLengthphajdan.jr@chromium.org2010-08-061-4/+0
| | | | | | | | | | | | There is not enough data to see what is happening. Test itself seems to be fine. TEST=ui_tests BUG=38583 Review URL: http://codereview.chromium.org/3093007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55236 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some wstrings used in ui_test.cc.evan@chromium.org2010-07-301-1/+1
| | | | | | | | | This removes all switch-related wstring APIs from ui_test.cc, and fixes all the callers. Review URL: http://codereview.chromium.org/3066026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54392 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move more test server code from net/url_request/url_request_unittest.hphajdan.jr@chromium.org2010-07-291-10/+19
| | | | | | | | | | | | | to net/test/test_server.h No code changes, just a move. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3034038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54201 0039d316-1c4b-4281-b951-d872f2087c98
* Mark SessionHistoryTest.JavascriptHistory as flaky.brettw@chromium.org2010-07-291-1/+4
| | | | | | | | BUG=50648 TEST=none Review URL: http://codereview.chromium.org/3073009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54139 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded headers from app/thestig@chromium.org2010-07-291-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2819063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54102 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: test server cleanup:phajdan.jr@chromium.org2010-07-231-18/+9
| | | | | | | | | | | | | - simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
* Marking SessionHistoryTest.FrameBackForward flaky on Windows.hans@chromium.org2010-07-121-1/+7
| | | | | | | | | BUG=48833 TEST=Vista Tests (dbg)(2) should become green Review URL: http://codereview.chromium.org/2956004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52078 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Update comments for a few disabled tests.jhawkins@chromium.org2010-06-121-2/+2
| | | | | | | | | | TBR=thestig BUG=none TEST=none Review URL: http://codereview.chromium.org/2786015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49618 0039d316-1c4b-4281-b951-d872f2087c98
* Retry r48417.estade@chromium.org2010-05-271-1/+2
| | | | | | | | | | | Disable UnloadTest.BrowserCloseTabWhenOtherTabHasListener on windows because it is failing. BUG=45281 TEST=tree is green Review URL: http://codereview.chromium.org/2279006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48442 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48417 - More test enabling.jrg@chromium.org2010-05-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RedirectTest.ClientServerServer passes locally so I'm trying reenabling it. file a bug for RedirectTest.ClientCancelledByNewNavigationAfterProvisionalLoad . file a bug for SessionHistoryTest.CrossFrameFormBackForward mark SessionHistoryTest.LocationReplace as failing rather than disabled fix UnloadTest.BrowserCloseTabWhenOtherTabHasListener (the popup was being caught by the popup blocker) TEST=buildbots BUG=12913 Review URL: http://codereview.chromium.org/2264001 TBR=estade@chromium.org Looks like UnloadTest.BrowserCloseTabWhenOtherTabHasListener still unhappy on bot? http://buildbot.jail.google.com/buildbot/chromium/builders/XP%20Tests/builds/20319/steps/ui_tests/logs/stdio [----------] Global test environment tear-down [==========] 315 tests from 72 test cases ran. (1089094 ms total) [ PASSED ] 308 tests. [ FAILED ] 7 tests, listed below: [ FAILED ] MouseLeaveTest.FLAKY_TestOnMouseOut [ FAILED ] HistoryTester.FAILS_VerifyHistoryLength2 [ FAILED ] HistoryTester.FAILS_VerifyHistoryLength3 [ FAILED ] WorkerTest.FLAKY_WorkerHttpLayoutTests [ FAILED ] UnloadTest.BrowserCloseTabWhenOtherTabHasListener [ FAILED ] SessionHistoryTest.FAILS_LocationReplace [ FAILED ] SessionHistoryTest.FLAKY_HistorySearchXSS Review URL: http://codereview.chromium.org/2225009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48433 0039d316-1c4b-4281-b951-d872f2087c98
* More test enabling.estade@chromium.org2010-05-271-1/+2
| | | | | | | | | | | | | | | - RedirectTest.ClientServerServer passes locally so I'm trying re-enabling it. - file a bug for RedirectTest.ClientCancelledByNewNavigationAfterProvisionalLoad . - file a bug for SessionHistoryTest.CrossFrameFormBackForward - mark SessionHistoryTest.LocationReplace as failing rather than disabled - fix UnloadTest.BrowserCloseTabWhenOtherTabHasListener (the popup was being caught by the popup blocker) TEST=buildbots BUG=12913 Review URL: http://codereview.chromium.org/2264001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48417 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Miscellanous UI tests cleanups:phajdan.jr@chromium.org2010-03-301-7/+3
| | | | | | | | | | | | | | | - use built-in timeouts instead of "inventing" them in each test case - avoid unneeded checks and operations - use automation calls more effectively - use FLAKY mark instead of DISABLED to maintain test coverage - split some tests to make the above possible TEST=UI test based BUG=39785 Review URL: http://codereview.chromium.org/1547003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43070 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SessionHistoryTest.HistoryLength as it's hanging the Win Dbg bot.jhawkins@chromium.org2010-03-191-0/+4
| | | | | | | | BUG=38583 TEST=none Review URL: http://codereview.chromium.org/1092004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42039 0039d316-1c4b-4281-b951-d872f2087c98
* Send session history offset and length parameters in the Navigate message todarin@chromium.org2010-03-181-0/+37
| | | | | | | | | | | | | keep the renderer's notion of those values properly synchronized with the NavigationController. R=brettw BUG=18062 TEST=see session_history_uitest.cc Review URL: http://codereview.chromium.org/1090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42022 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling SessionHistoryTest.LocationReplace since it has been failing ↵andybons@chromium.org2010-03-041-3/+2
| | | | | | | | | | consistently for a while. TEST=none BUG=22560 Review URL: http://codereview.chromium.org/669081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40649 0039d316-1c4b-4281-b951-d872f2087c98
* Make several tests more snappy, less sleepy.phajdan.jr@chromium.org2010-02-101-15/+0
| | | | | | | | | | | Some also say it's good for reducing flakiness. TEST=Changing ui_tests. BUG=none Review URL: http://codereview.chromium.org/593018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38605 0039d316-1c4b-4281-b951-d872f2087c98
* Mark some disabled tests as flaky to increase test coverage.phajdan.jr@chromium.org2009-10-161-3/+3
| | | | | | | | | | | | When a test doesn't hang or crash, it can run on the bots and on developers' machines. BUG=none TEST=none Review URL: http://codereview.chromium.org/269104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29279 0039d316-1c4b-4281-b951-d872f2087c98
* Mark HistorySearchXSS as flaky.nsylvain@chromium.org2009-10-151-1/+2
| | | | | | | | BUG:22111 Review URL: http://codereview.chromium.org/278016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29089 0039d316-1c4b-4281-b951-d872f2087c98
* Do not discount a MANUAL_SUBFRAME load just because it involveddarin@chromium.org2009-10-021-5/+17
| | | | | | | | | | | | some redirects. R=brettw BUG=21353 TEST=none Review URL: http://codereview.chromium.org/246073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27887 0039d316-1c4b-4281-b951-d872f2087c98
* Add test for history HTML escaping issue.cevans@chromium.org2009-09-161-0/+17
| | | | | | | | | BUG=17892 TEST=SessionHistoryTest.HistorySearchXSS Review URL: http://codereview.chromium.org/206040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26392 0039d316-1c4b-4281-b951-d872f2087c98
* Make automation proxy objects to ref_counted. That allows to process async ↵stoyan@chromium.org2009-05-281-4/+4
| | | | | | | | | | | notifications directly in channel background thread. Add support for listener-less ChannelProxy. BUG=none TEST=none Review URL: http://codereview.chromium.org/113722 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17093 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to app/ben@chromium.org2009-05-051-1/+1
| | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/109043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15352 0039d316-1c4b-4281-b951-d872f2087c98
* Yet more deprecation of the wstring version of PathService::Get() for UI tests.thestig@chromium.org2009-05-021-3/+3
| | | | | | Review URL: http://codereview.chromium.org/99298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15127 0039d316-1c4b-4281-b951-d872f2087c98
* Enable more tests, change a NOTREACHED to a bug since it's not fatal in the ↵pinkerton@chromium.org2009-04-221-2/+2
| | | | | | | | download code. Get other tests compiling even if disabled. Mark why tests are failing in gyp file. Review URL: http://codereview.chromium.org/92033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14239 0039d316-1c4b-4281-b951-d872f2087c98
* Port more UI tests to Linux.phajdan.jr@chromium.org2009-03-231-44/+34
| | | | | | | | | | | | | | | | | | | | | - enable following ui tests on Linux: history_uitest.cc inspector_controller_uitest.cc browser/history/redirect_uitest.cc browser/locale_tests_uitest.cc browser/sanity_uitest.cc - move information about Linux-specific splash page to more generic location and enable more logic about start page on Linux - maintainability cleanups (DISABLED_ instead of #if 0) - misc GCC-related cleanups Review URL: http://codereview.chromium.org/49006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12281 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the session_history ui tests because it failsnsylvain@chromium.org2009-03-051-0/+4
| | | | | | | | too often. I filed bug 8444. Review URL: http://codereview.chromium.org/39226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11056 0039d316-1c4b-4281-b951-d872f2087c98