Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Issue 2295543002: More Blimp browser tests for navigation (Closed)

Created:
4 years, 3 months ago by Brian Goldman
Modified:
4 years, 3 months ago
Reviewers:
Kevin M
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

More Blimp browser tests for navigation The Blimp browser tests now cover every action of NavigationFeature. GoForward is an additional step in the existing GoBack test, rather than a new test, because you can't test GoForward without GoBack. Also adds no-op behavior on the engine for when the client requests GoBack or GoForward but those operations aren't valid, and tests for those cases. Tested log output for the invalid GoBack and GoForward cases with the following: blimp_browsertests --single_process --gtest_filter=EngineBrowserTest.InvalidGoBack | grep Ignoring blimp_browsertests --single_process --gtest_filter=EngineBrowserTest.InvalidGoForward | grep Ignoring BUG= Committed: https://crrev.com/be8b5afc756176296478bc57170bddb9ef5f77db Cr-Commit-Position: refs/heads/master@{#415368}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review changes #

Total comments: 2

Patch Set 3 : unused #

Total comments: 2

Patch Set 4 : log #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -8 lines) Patch
M blimp/engine/browser_tests/engine_browsertest.cc View 1 2 2 chunks +54 lines, -8 lines 0 comments Download
M blimp/engine/session/tab.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Brian Goldman
4 years, 3 months ago (2016-08-29 23:12:13 UTC) #3
Kevin M
https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc#newcode122 blimp/engine/browser_tests/engine_browsertest.cc:122: EXPECT_EQ("page1", last_page_title_); Turn these into named constants that are ...
4 years, 3 months ago (2016-08-29 23:31:53 UTC) #4
Brian Goldman
https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc#newcode122 blimp/engine/browser_tests/engine_browsertest.cc:122: EXPECT_EQ("page1", last_page_title_); On 2016/08/29 23:31:52, Kevin M wrote: > ...
4 years, 3 months ago (2016-08-29 23:38:16 UTC) #5
Kevin M
https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc#newcode122 blimp/engine/browser_tests/engine_browsertest.cc:122: EXPECT_EQ("page1", last_page_title_); On 2016/08/29 23:38:16, Brian Goldman wrote: > ...
4 years, 3 months ago (2016-08-29 23:41:30 UTC) #6
Brian Goldman
https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/1/blimp/engine/browser_tests/engine_browsertest.cc#newcode122 blimp/engine/browser_tests/engine_browsertest.cc:122: EXPECT_EQ("page1", last_page_title_); On 2016/08/29 23:41:30, Kevin M wrote: > ...
4 years, 3 months ago (2016-08-30 00:43:07 UTC) #9
Kevin M
https://codereview.chromium.org/2295543002/diff/20001/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/20001/blimp/engine/browser_tests/engine_browsertest.cc#newcode99 blimp/engine/browser_tests/engine_browsertest.cc:99: void ExpectNoPageLoad() { Never called?
4 years, 3 months ago (2016-08-30 00:52:39 UTC) #10
Brian Goldman
https://codereview.chromium.org/2295543002/diff/20001/blimp/engine/browser_tests/engine_browsertest.cc File blimp/engine/browser_tests/engine_browsertest.cc (right): https://codereview.chromium.org/2295543002/diff/20001/blimp/engine/browser_tests/engine_browsertest.cc#newcode99 blimp/engine/browser_tests/engine_browsertest.cc:99: void ExpectNoPageLoad() { On 2016/08/30 00:52:39, Kevin M wrote: ...
4 years, 3 months ago (2016-08-30 01:01:32 UTC) #11
Kevin M
lgtm https://codereview.chromium.org/2295543002/diff/40001/blimp/engine/session/tab.cc File blimp/engine/session/tab.cc (right): https://codereview.chromium.org/2295543002/diff/40001/blimp/engine/session/tab.cc#newcode78 blimp/engine/session/tab.cc:78: if (!web_contents_->GetController().CanGoBack()) { Add DLOG(ERROR) in here so ...
4 years, 3 months ago (2016-08-30 17:28:59 UTC) #13
Brian Goldman
https://codereview.chromium.org/2295543002/diff/40001/blimp/engine/session/tab.cc File blimp/engine/session/tab.cc (right): https://codereview.chromium.org/2295543002/diff/40001/blimp/engine/session/tab.cc#newcode78 blimp/engine/session/tab.cc:78: if (!web_contents_->GetController().CanGoBack()) { On 2016/08/30 17:28:59, Kevin M wrote: ...
4 years, 3 months ago (2016-08-30 17:52:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295543002/60001
4 years, 3 months ago (2016-08-30 17:54:51 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 18:42:12 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:44:04 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/be8b5afc756176296478bc57170bddb9ef5f77db
Cr-Commit-Position: refs/heads/master@{#415368}

Powered by Google App Engine
This is Rietveld 408576698