Remove prepareAndroid

This commit is contained in:
Diego Mello 2023-02-07 17:49:12 -03:00
parent 44ea4e74f6
commit 6e3f4aa6fb
1 changed files with 1 additions and 13 deletions

View File

@ -218,17 +218,6 @@ function runCommand(command: string) {
});
}
async function prepareAndroid() {
if (device.getPlatform() !== 'android') {
return;
}
await runCommand('adb shell settings put secure spell_checker_enabled 0');
await runCommand('adb shell settings put secure autofill_service null');
await runCommand('adb shell settings put global window_animation_scale 0.0');
await runCommand('adb shell settings put global transition_animation_scale 0.0');
await runCommand('adb shell settings put global animator_duration_scale 0.0');
}
export {
navigateToWorkspace,
navigateToLogin,
@ -244,6 +233,5 @@ export {
searchRoom,
tryTapping,
checkServer,
platformTypes,
prepareAndroid
platformTypes
};