  });
            };

            println(`Gamepad should not be immediately exposed in the new navigable: ${await sendMessageAndWait("getGamepads")}`);

            // New navigables will automatically connect to available gamepads, otherwise this wouldn't do anything.
            gamepad.setButton(gamepad.buttons[0], true);
            await handleSDLInputEvents();

            println(`Gamepad is now exposed in the new navigable: ${await sendMessageAndWait("getGamepads")}`);

            done();
        