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

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

Issue 2779973005: Fix errors when running against staging (Closed)
Patch Set: Add skip on lite page test Created 3 years, 9 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/common.py ('k') | tools/chrome_proxy/webdriver/lofi.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/webdriver/lite_page.py
diff --git a/tools/chrome_proxy/webdriver/lite_page.py b/tools/chrome_proxy/webdriver/lite_page.py
index a833813ab74594557d9f9eee1d22530fa4f7c0ba..d7fe48aa6b8860f458d66fb7fe4ceac56b97e3d4 100644
--- a/tools/chrome_proxy/webdriver/lite_page.py
+++ b/tools/chrome_proxy/webdriver/lite_page.py
@@ -12,6 +12,10 @@ class LitePage(IntegrationTest):
# Checks that a Lite Page is served and that the ignore_preview_blacklist
# experiment is being used.
def testLitePage(self):
+ # If it was attempted to run with another experiment, skip this test.
+ if common.ParseFlags().browser_args and ('--data-reduction-proxy-experiment'
+ in common.ParseFlags().browser_args):
+ self.skipTest('This test cannot be run with other experiments.')
with TestDriver() as test_driver:
test_driver.AddChromeArg('--enable-spdy-proxy-auth')
test_driver.AddChromeArg('--data-reduction-proxy-lo-fi=always-on')
« no previous file with comments | « tools/chrome_proxy/webdriver/common.py ('k') | tools/chrome_proxy/webdriver/lofi.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698