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

Issue 2705413004: Implement the Lo-Fi cache related integration tests with ChromeDriver (Closed)

Created:
3 years, 10 months ago by megjablon
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, Robert Ogden
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the Lo-Fi cache related integration tests with ChromeDriver Implement both the LoFiCacheDisabled and LoFiProxyDisabled integration tests in one testLoFiCacheBypass ChromeDriver test. Over half of the cache tests are identical code for loading the resources into cache and the existing naming scheme is confusing, so test that turning either Lo-Fi or the proxy off and refetching the page does not serve cached transformed resources. BUG=680569, 680568 Review-Url: https://codereview.chromium.org/2705413004 Cr-Commit-Position: refs/heads/master@{#454037} Committed: https://chromium.googlesource.com/chromium/src/+/d4337ecc7263a8707a582b006c99ede5fff76ea2

Patch Set 1 #

Total comments: 6

Patch Set 2 : use assertIn #

Patch Set 3 : add comment for disabling quic #

Patch Set 4 : remove disable-quic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -9 lines) Patch
M tools/chrome_proxy/webdriver/common.py View 1 1 chunk +35 lines, -0 lines 0 comments Download
M tools/chrome_proxy/webdriver/lofi.py View 1 2 3 3 chunks +75 lines, -9 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (8 generated)
megjablon
PTAL, thanks!
3 years, 10 months ago (2017-02-23 23:31:59 UTC) #3
Robert Ogden
lgtm https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/common.py File tools/chrome_proxy/webdriver/common.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/common.py#newcode583 tools/chrome_proxy/webdriver/common.py:583: self.assertTrue(int(content_length) > 100) Nit: Is this always true? ...
3 years, 10 months ago (2017-02-23 23:45:09 UTC) #5
megjablon
https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/common.py File tools/chrome_proxy/webdriver/common.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/common.py#newcode583 tools/chrome_proxy/webdriver/common.py:583: self.assertTrue(int(content_length) > 100) On 2017/02/23 23:45:09, Robert Ogden wrote: ...
3 years, 10 months ago (2017-02-23 23:47:09 UTC) #6
tbansal1
https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py File tools/chrome_proxy/webdriver/lofi.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py#newcode87 tools/chrome_proxy/webdriver/lofi.py:87: test_driver.AddChromeArg('--disable-quic') rm disable-quic.
3 years, 10 months ago (2017-02-23 23:55:49 UTC) #8
megjablon
https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py File tools/chrome_proxy/webdriver/lofi.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py#newcode87 tools/chrome_proxy/webdriver/lofi.py:87: test_driver.AddChromeArg('--disable-quic') On 2017/02/23 23:55:49, tbansal1 wrote: > rm disable-quic. ...
3 years, 10 months ago (2017-02-24 00:07:14 UTC) #9
tbansal1
https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py File tools/chrome_proxy/webdriver/lofi.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py#newcode87 tools/chrome_proxy/webdriver/lofi.py:87: test_driver.AddChromeArg('--disable-quic') On 2017/02/24 00:07:14, megjablon wrote: > On 2017/02/23 ...
3 years, 10 months ago (2017-02-24 00:09:30 UTC) #10
megjablon
https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py File tools/chrome_proxy/webdriver/lofi.py (right): https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py#newcode87 tools/chrome_proxy/webdriver/lofi.py:87: test_driver.AddChromeArg('--disable-quic') On 2017/02/24 00:09:30, tbansal1 wrote: > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 00:28:53 UTC) #11
tbansal1
On 2017/02/24 00:28:53, megjablon wrote: > https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py > File tools/chrome_proxy/webdriver/lofi.py (right): > > https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py#newcode87 > ...
3 years, 10 months ago (2017-02-24 18:52:29 UTC) #12
megjablon
On 2017/02/24 18:52:29, tbansal1 wrote: > On 2017/02/24 00:28:53, megjablon wrote: > > > https://codereview.chromium.org/2705413004/diff/20001/tools/chrome_proxy/webdriver/lofi.py ...
3 years, 10 months ago (2017-02-24 20:19:31 UTC) #13
tbansal1
On 2017/02/24 20:19:31, megjablon wrote: > On 2017/02/24 18:52:29, tbansal1 wrote: > > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 21:17:05 UTC) #14
RyanSturm
On 2017/02/24 21:17:05, tbansal1 wrote: > On 2017/02/24 20:19:31, megjablon wrote: > > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 21:35:00 UTC) #15
megjablon
On 2017/02/24 21:17:05, tbansal1 wrote: > On 2017/02/24 20:19:31, megjablon wrote: > > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 21:35:22 UTC) #16
megjablon
On 2017/02/24 21:35:22, megjablon wrote: > On 2017/02/24 21:17:05, tbansal1 wrote: > > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 22:22:16 UTC) #17
megjablon
On 2017/02/24 22:22:16, megjablon wrote: > On 2017/02/24 21:35:22, megjablon wrote: > > On 2017/02/24 ...
3 years, 9 months ago (2017-03-01 21:08:35 UTC) #18
RyanSturm
I was just looking when you pinged me :) lgtm, thanks for waiting for the ...
3 years, 9 months ago (2017-03-01 21:09:59 UTC) #19
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/2705413004/80001
3 years, 9 months ago (2017-03-01 21:11:10 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 21:27:09 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d4337ecc7263a8707a582b006c99...

Powered by Google App Engine
This is Rietveld 408576698