From 6e3f4aa6fbbad8e6c03f8dc7832c5f1bd0412a29 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 7 Feb 2023 17:49:12 -0300 Subject: [PATCH] Remove prepareAndroid --- e2e/helpers/app.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/e2e/helpers/app.ts b/e2e/helpers/app.ts index 873eda713..b0a9a58b1 100644 --- a/e2e/helpers/app.ts +++ b/e2e/helpers/app.ts @@ -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 };