Skip to content

Commit

Permalink
Correcting LargeTest Grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
AtinAgnihotri committed Oct 20, 2020
1 parent 387092e commit 5a0fb19
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

//@RunWith(Suite.class)
//@Suite.SuiteClasses({
// TestContactInsertion.class,
// TestContactFavorites.class,
// TestContactActions.class,
// TestContactGroups.class
//})
@RunWith(Suite.class)
@Suite.SuiteClasses({
TestContactInsertion.class,
TestContactFavorites.class,
TestContactActions.class,
TestContactGroups.class
})
public class E2ETestSuite {
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
@RunWith(AndroidJUnit4.class)
public class TestContactActions extends BaseTestCase {

@LargeTest
@Test
public void test_E2E_EditContactInContactsList() {
AddContactWorkflow.givenTestContactAddedOnContactsList();
ContactActionsWorkflow.whenTestContactNumberEdited();
ContactValidationWorkflow.thenTestContactHasNewNumber(mUiDevice);
}

@LargeTest
@Test
public void test_E2E_DeleteContactInContactsList() {
AddContactWorkflow.givenTestContactAddedOnContactsList();
ContactActionsWorkflow.whenTestContactNumberDeleted(mUiDevice);
ContactValidationWorkflow.thenTestContactDoesntExists(mUiDevice);
}

@LargeTest
@Test
public void test_E2E_SearchContactInContactsList() {
AddContactWorkflow.givenMultipleTestContactAddedOnContactsList(15, true);
ContactActionsWorkflow.whenFirstTestContactIsSearched();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(AndroidJUnit4.class)
@LargeTest
@RunWith(AndroidJUnit4.class)
public class TestContactGroups extends BaseTestCase{

@LargeTest
@Test
public void test_E2E_ContactGroupingInContactsList() {
AddContactWorkflow.givenMultipleTestContactAddedOnContactsList(10, false);
GroupsWorkflow.whenFirstThreeContactsAreSelectedAndGrouped();
Expand Down

0 comments on commit 5a0fb19

Please sign in to comment.