Skip to content

Commit

Permalink
fix: settings bio idle test
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Nov 8, 2023
1 parent e8f0491 commit 38461f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/settings.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 38461f8

Please sign in to comment.