diff --git a/KeychainExample/e2e/testCases/accessControlTest.spec.js b/KeychainExample/e2e/testCases/accessControlTest.spec.js index 09f8f5d0..cba769f2 100644 --- a/KeychainExample/e2e/testCases/accessControlTest.spec.js +++ b/KeychainExample/e2e/testCases/accessControlTest.spec.js @@ -30,7 +30,7 @@ describe('Access Control', () => { await element(by.text('Keychain Example')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(4000); + .withTimeout(5000); await waitForAuthValidity(); await element(by.text('Load')).tap(); @@ -71,7 +71,7 @@ describe('Access Control', () => { await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await waitForAuthValidity(); await element(by.text('Load')).tap(); @@ -114,7 +114,7 @@ describe('Access Control', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo('testUsernameAny', 'testPasswordAny'); } diff --git a/KeychainExample/e2e/testCases/securityLevelTest.spec.js b/KeychainExample/e2e/testCases/securityLevelTest.spec.js index 51f2f212..a1022dd5 100644 --- a/KeychainExample/e2e/testCases/securityLevelTest.spec.js +++ b/KeychainExample/e2e/testCases/securityLevelTest.spec.js @@ -21,7 +21,7 @@ describe(':android:Security Level', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo( 'testUsernameAny', @@ -48,7 +48,7 @@ describe(':android:Security Level', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo( 'testUsernameSoftware', @@ -76,7 +76,7 @@ describe(':android:Security Level', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo( 'testUsernameHardware', diff --git a/KeychainExample/e2e/testCases/storageTypesTest.spec.js b/KeychainExample/e2e/testCases/storageTypesTest.spec.js index 6e071d49..afc1872f 100644 --- a/KeychainExample/e2e/testCases/storageTypesTest.spec.js +++ b/KeychainExample/e2e/testCases/storageTypesTest.spec.js @@ -22,7 +22,7 @@ describe(':android:Storage Types', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo( 'testUsernameAESCBC', @@ -48,7 +48,7 @@ describe(':android:Storage Types', () => { await enterBiometrics(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await waitForAuthValidity(); await element(by.text('Load')).tap(); await enterBiometrics(); @@ -81,7 +81,7 @@ describe(':android:Storage Types', () => { await element(by.text('Save')).tap(); await waitFor(element(by.text(/^Credentials saved! .*$/))) .toExist() - .withTimeout(3000); + .withTimeout(5000); await element(by.text('Load')).tap(); await matchLoadInfo( 'testUsernameAESGCMNoAuth', diff --git a/KeychainExample/e2e/utils/matchLoadInfo.ts b/KeychainExample/e2e/utils/matchLoadInfo.ts index dbbd42a7..69022591 100644 --- a/KeychainExample/e2e/utils/matchLoadInfo.ts +++ b/KeychainExample/e2e/utils/matchLoadInfo.ts @@ -22,5 +22,5 @@ export const matchLoadInfo = async ( const regex = new RegExp(regexPattern); await waitFor(element(by.text(regex))) .toExist() - .withTimeout(3000); + .withTimeout(5000); };