diff --git a/js/perf/core.js b/js/perf/core.js index 314d3ecf5..a2af0f9be 100644 --- a/js/perf/core.js +++ b/js/perf/core.js @@ -126,9 +126,11 @@ function *run() { for (let i = 0; i < 2; i++) { Scripting.scriptEvent('applicationsShowStart'); + // eslint-disable-next-line require-atomic-updates Main.overview._dash.showAppsButton.checked = true; yield Scripting.waitLeisure(); Scripting.scriptEvent('applicationsShowDone'); + // eslint-disable-next-line require-atomic-updates Main.overview._dash.showAppsButton.checked = false; yield Scripting.waitLeisure(); } diff --git a/js/perf/hwtest.js b/js/perf/hwtest.js index 9c3c620fd..fa2456323 100644 --- a/js/perf/hwtest.js +++ b/js/perf/hwtest.js @@ -126,6 +126,7 @@ function *run() { yield Scripting.sleep(1000); Scripting.scriptEvent('applicationsShowStart'); + // eslint-disable-next-line require-atomic-updates Main.overview._dash.showAppsButton.checked = true; yield Scripting.waitLeisure();