From 37da87d9e134bede1cc9ebf13bf19274c5d3732b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 15 Aug 2012 03:35:41 +0200 Subject: [PATCH] perf: Update to latest overlay changes Removing tabs from the overview broke the perf test for the application view; update test to the new method of bringing it up. https://bugzilla.gnome.org/show_bug.cgi?id=682109 --- js/perf/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/perf/core.js b/js/perf/core.js index cc41c5867..86f2c849e 100644 --- a/js/perf/core.js +++ b/js/perf/core.js @@ -115,10 +115,10 @@ function run() { for (let i = 0; i < 2; i++) { Scripting.scriptEvent('applicationsShowStart'); - Main.overview._viewSelector.switchTab('applications'); + Main.overview._dash.showAppsButton.checked = true; yield Scripting.waitLeisure(); Scripting.scriptEvent('applicationsShowDone'); - Main.overview._viewSelector.switchTab('windows'); + Main.overview._dash.showAppsButton.checked = false; yield Scripting.waitLeisure(); } }