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

Issue 2852533002: Add lite page BTF test (Closed)

Created:
3 years, 7 months ago by Robert Ogden
Modified:
3 years, 7 months ago
Reviewers:
RyanSturm
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, jpfeiff, Tom Bergan
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add lite page BTF test BUG=715644 Review-Url: https://codereview.chromium.org/2852533002 Cr-Commit-Position: refs/heads/master@{#467775} Committed: https://chromium.googlesource.com/chromium/src/+/d9b2071593f2049982dde69ade697170e85cdb96

Patch Set 1 #

Total comments: 2

Patch Set 2 : Grammer nit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -1 line) Patch
M tools/chrome_proxy/webdriver/common.py View 1 2 chunks +6 lines, -1 line 0 comments Download
M tools/chrome_proxy/webdriver/lite_page.py View 2 chunks +44 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (6 generated)
Robert Ogden
Ryan, please take a look
3 years, 7 months ago (2017-04-27 19:50:39 UTC) #3
RyanSturm
lgtm % nit https://codereview.chromium.org/2852533002/diff/1/tools/chrome_proxy/webdriver/common.py File tools/chrome_proxy/webdriver/common.py (right): https://codereview.chromium.org/2852533002/diff/1/tools/chrome_proxy/webdriver/common.py#newcode430 tools/chrome_proxy/webdriver/common.py:430: override_has_logs: Allow the _has_logs property to ...
3 years, 7 months ago (2017-04-27 20:11:13 UTC) #4
Robert Ogden
https://codereview.chromium.org/2852533002/diff/1/tools/chrome_proxy/webdriver/common.py File tools/chrome_proxy/webdriver/common.py (right): https://codereview.chromium.org/2852533002/diff/1/tools/chrome_proxy/webdriver/common.py#newcode430 tools/chrome_proxy/webdriver/common.py:430: override_has_logs: Allow the _has_logs property to be set if ...
3 years, 7 months ago (2017-04-27 20:17:08 UTC) #5
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/2852533002/20001
3 years, 7 months ago (2017-04-27 20:17:57 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/d9b2071593f2049982dde69ade697170e85cdb96
3 years, 7 months ago (2017-04-27 20:40:37 UTC) #11
tombergan
https://codereview.chromium.org/2852533002/diff/20001/tools/chrome_proxy/webdriver/lite_page.py File tools/chrome_proxy/webdriver/lite_page.py (right): https://codereview.chromium.org/2852533002/diff/20001/tools/chrome_proxy/webdriver/lite_page.py#newcode84 tools/chrome_proxy/webdriver/lite_page.py:84: self.assertHasChromeProxyViaHeader(response) IIUC, this checks that there was another response ...
3 years, 7 months ago (2017-04-27 22:19:58 UTC) #12
Robert Ogden
3 years, 7 months ago (2017-04-28 15:25:27 UTC) #13
Message was sent while issue was closed.
On 2017/04/27 22:19:58, tombergan wrote:
>
https://codereview.chromium.org/2852533002/diff/20001/tools/chrome_proxy/webd...
> File tools/chrome_proxy/webdriver/lite_page.py (right):
> 
>
https://codereview.chromium.org/2852533002/diff/20001/tools/chrome_proxy/webd...
> tools/chrome_proxy/webdriver/lite_page.py:84:
> self.assertHasChromeProxyViaHeader(response)
> IIUC, this checks that there was another response but doesn't check that it
was
> successful, i.e., that new BTF content was actually loaded?
> 
> Maybe instead of scrolling twice, check that the scrollHeight increased after
> the first scroll all the way to the bottom?

Done, although since this CL already landed I've gone it in
https://codereview.chromium.org/2844403002/. Please take a look.

Powered by Google App Engine
This is Rietveld 408576698