Skip to content

Commit

Permalink
fix(viper util): viper util class updated
Browse files Browse the repository at this point in the history
  • Loading branch information
W3-Shaibal committed Jan 10, 2022
1 parent c67310f commit 3f7c3c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ public void run() {

onView(withId(R.id.button_create_account)).perform(click());

addDelay(3000);
hideKeyboard(currentActivity = getActivityInstance());
addDelay(2000);
hideKeyboard(currentActivity = getActivityInstance());
addDelay(1000);
mDevice.pressBack();
addDelay(2000);
addDelay(1000);

SharedPref.write(Constants.preferenceKey.IS_USER_REGISTERED, true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ public void testConnectionNull(){
assertTrue(true);
}

@Test
public void testPermissionNullCheck(){
addDelay();
commonViper.isPermissionNeeded(null);
assertTrue(true);
}

private void addDelay() {
try {
Thread.sleep(100);
Expand Down

0 comments on commit 3f7c3c0

Please sign in to comment.