Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: settings bio idle test #1372

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading