diff --git a/testData/solutions/win32.json5 b/testData/solutions/win32.json5 index 096e722af..75d895190 100644 --- a/testData/solutions/win32.json5 +++ b/testData/solutions/win32.json5 @@ -1243,20 +1243,20 @@ } } }, - "start": [ - { - "type": "gpii.windows.enableRegisteredAT", - "name": "Narrator", - "enable": true - } - ], - "stop": [ - { + "launchHandlers": { + "launcher": { "type": "gpii.windows.enableRegisteredAT", - "name": "Narrator", - "enable": false + "options": { + "registryName": "Narrator", + "getState": [ + { + "type": "gpii.processReporter.find", + "command": "Narrator.exe" + } + ] + } } - ], + }, "isInstalled": [ { "type": "gpii.deviceReporter.alwaysInstalled" diff --git a/tests/platform/windows/windows-builtIn-testSpec.js b/tests/platform/windows/windows-builtIn-testSpec.js index bfc3daf17..4db1c6149 100644 --- a/tests/platform/windows/windows-builtIn-testSpec.js +++ b/tests/platform/windows/windows-builtIn-testSpec.js @@ -49,6 +49,20 @@ gpii.tests.windows.builtIn = [ } ] } + }], + "com.microsoft.windows.narrator": [{ + "settings": { + "running": false + }, + "options": { + "registryName": "Narrator", + "getState": [ + { + "type": "gpii.processReporter.find", + "command": "Narrator.exe" + } + ] + } }] } },