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

Unified Diff: tools/chrome_proxy/webdriver/smoke.py

Issue 2693193004: Add ChromeDriver test for HTTPS bypass, QUIC smoke test (Closed)
Patch Set: ps Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/chrome_proxy/webdriver/bypass.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/webdriver/smoke.py
diff --git a/tools/chrome_proxy/webdriver/smoke.py b/tools/chrome_proxy/webdriver/smoke.py
index 1f36d3a97f9e2b17b276df394e13b6b255f2cc07..0f21fd070c51b070ba9ba6ec5195d0e305ac4fb3 100644
--- a/tools/chrome_proxy/webdriver/smoke.py
+++ b/tools/chrome_proxy/webdriver/smoke.py
@@ -18,5 +18,18 @@ class Incognito(IntegrationTest):
for response in t.GetHTTPResponses():
self.assertNotHasChromeProxyViaHeader(response)
+ # Ensure Chrome uses DataSaver with QUIC enabled.
Robert Ogden 2017/02/14 19:54:32 Please stick this method in another class or renam
tbansal1 2017/02/14 20:33:21 Done.
+ def testCheckPageWithQuicProxy(self):
+ with TestDriver() as t:
+ t.AddChromeArg('--enable-spdy-proxy-auth')
+ t.AddChromeArg('--enable-quic')
+ t.AddChromeArg('--data-reduction-proxy-http-proxies=https://proxy.googlezip.net:443')
+ t.AddChromeArg('--force-fieldtrials=DataReductionProxyUseQuic/Enabled')
+ t.LoadURL('http://check.googlezip.net/test.html')
+ responses = t.GetHTTPResponses()
+ self.assertEqual(2, len(responses))
+ for response in responses:
+ self.assertHasChromeProxyViaHeader(response)
+
if __name__ == '__main__':
IntegrationTest.RunAllTests()
« no previous file with comments | « tools/chrome_proxy/webdriver/bypass.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698