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

Unified Diff: tools/telemetry/telemetry/tab_unittest.py

Issue 11819045: Skips testActivateTab on old browsers which don't support tab control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/telemetry/telemetry/tab.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/tab_unittest.py
diff --git a/tools/telemetry/telemetry/tab_unittest.py b/tools/telemetry/telemetry/tab_unittest.py
index 3727f028dbc63f958cc33619b4d23e7d7051203a..f6906b27e4a8c2bedbeafc27a59fcf19a0f2b2e0 100644
--- a/tools/telemetry/telemetry/tab_unittest.py
+++ b/tools/telemetry/telemetry/tab_unittest.py
@@ -30,6 +30,8 @@ class TabTest(tab_test_case.TabTestCase):
timeout=5))
def testActivateTab(self):
+ if not self._browser.supports_tab_control:
+ return
self.assertTrue(_IsDocumentVisible(self._tab))
new_tab = self._browser.tabs.New()
util.WaitFor(lambda: _IsDocumentVisible(new_tab), timeout=5)
« no previous file with comments | « tools/telemetry/telemetry/tab.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698