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(); } }