From 4132c5bbf1c1079134724df0432612f397d518a3 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Wed, 8 Nov 2023 18:30:05 +0000 Subject: [PATCH] fix: settings bio idle test --- e2e/settings.e2e.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/settings.e2e.js b/e2e/settings.e2e.js index b79f45882..bae01da8d 100644 --- a/e2e/settings.e2e.js +++ b/e2e/settings.e2e.js @@ -597,22 +597,22 @@ d('Settings', () => { // await sleep(1000); // await element(by.label('Cancel')).atIndex(0).tap(); - // test PIN on idle + // test PIN on idle and disable it after await element(by.id('Settings')).tap(); await element(by.id('SecuritySettings')).tap(); await element(by.id('EnablePinOnIdle')).tap(); await device.matchFace(); - await sleep(1000); await waitFor(element(by.id('Biometrics'))) .toBeVisible() .withTimeout(100000); await device.matchFace(); + await element(by.id('EnablePinOnIdle')).tap(); + await device.matchFace(); + await sleep(3000); // disable FaceID, change PIN, restart the app and try it await element(by.id('UseBiometryInstead')).tap(); await device.matchFace(); - await sleep(1000); - await element(by.id('ChangePIN')).tap(); await element(by.id('N1').withAncestor(by.id('ChangePIN'))).multiTap(4); await sleep(1000);