You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import detox, {device} from 'detox';
...
await device.terminateApp({delete: true});
results in this
ChildProcessError: Command failed: /usr/bin/xcrun simctl terminate 77D2E143-6DCD-432E-B0A7-1453376D30EE [object Object]
Terminate an application by identifier on a device.
Usage: simctl terminate <device> <app bundle identifier>
`/usr/bin/xcrun simctl terminate 77D2E143-6DCD-432E-B0A7-1453376D30EE [object Object]` (exited with error code 117)
To Reproduce
I have tested this issue on the latest Detox release and it still reproduces
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.
in beforeAll Jest method, try to terminate app
Screenshots
The text was updated successfully, but these errors were encountered:
@cs01, where did you get your impression from, that device.terminateApp accepts an object as a first argument? Please find the misleading fragment of the documentation, I want to fix it.
Describe the bug
Calling this code (with Detox v12.3.0)
results in this
To Reproduce
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.
beforeAll
Jest method, try to terminate appScreenshots
The text was updated successfully, but these errors were encountered: