perf/basic: Toggle quick settings instead of old menu

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>
This commit is contained in:
Jonas Ådahl 2022-08-16 12:40:34 +02:00
parent 13ac25b0c5
commit 6fc538b7f7

View File

@ -39,7 +39,7 @@ async function run() {
console.debug('Navigate through top bar'); console.debug('Navigate through top bar');
Scripting.scriptEvent('topBarNavStart'); Scripting.scriptEvent('topBarNavStart');
Main.panel.statusArea.aggregateMenu.menu.open(); Main.panel.statusArea.quickSettings.menu.open();
await Scripting.sleep(400); await Scripting.sleep(400);
const { menuManager } = Main.panel; const { menuManager } = Main.panel;