Tests: Disconnect the virtual gamepad in the navigables gamepad test

Failing to disconnect the gamepad would cause subsequent gamepad tests
to fail if they ran in the same WebView.
This commit is contained in:
Zaggy1024 2026-01-05 13:22:12 -06:00 committed by Jelle Raaijmakers
parent 3ec53f5a3f
commit e8c9a08efe

View file

@ -34,6 +34,7 @@
println(`Gamepad is now exposed in the new navigable: ${await sendMessageAndWait("getGamepads")}`);
gamepad.disconnect();
done();
};