From commits-return-11989-archive-asf-public=cust-asf.ponee.io@fineract.apache.org Wed Sep 2 13:31:07 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 5BF5E18065D for ; Wed, 2 Sep 2020 15:31:07 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 465CA62A4C for ; Wed, 2 Sep 2020 13:31:06 +0000 (UTC) Received: (qmail 28233 invoked by uid 500); 2 Sep 2020 13:31:05 -0000 Mailing-List: contact commits-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.apache.org Delivered-To: mailing list commits@fineract.apache.org Received: (qmail 28224 invoked by uid 99); 2 Sep 2020 13:31:05 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2020 13:31:05 +0000 From: =?utf-8?q?GitBox?= To: commits@fineract.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bfineract-cn-mobile=5D_miPlodder_commented_on_a_cha?= =?utf-8?q?nge_in_pull_request_=23112=3A_Feat=3A_Add_UI/Integration_tests_fo?= =?utf-8?q?r_creating_group=2C_group_list_and_group_details?= Message-ID: <159905346549.32230.14976380026731745004.asfpy@gitbox.apache.org> Date: Wed, 02 Sep 2020 13:31:05 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: miPlodder commented on a change in pull request #112: URL: https://github.com/apache/fineract-cn-mobile/pull/112#discussion_r482052418 ########## File path: app/src/androidTest/java/org/apache/fineract/ui/online/groups/grouplist/GroupListFragmentAndroidTest.kt ########## @@ -0,0 +1,54 @@ +package org.apache.fineract.ui.online.groups.grouplist + +import androidx.test.espresso.Espresso.onView +import androidx.test.espresso.action.ViewActions.click +import androidx.test.espresso.assertion.ViewAssertions.matches +import androidx.test.espresso.contrib.DrawerActions +import androidx.test.espresso.contrib.NavigationViewActions +import androidx.test.espresso.contrib.RecyclerViewActions +import androidx.test.espresso.matcher.ViewMatchers.* +import androidx.test.rule.ActivityTestRule +import androidx.test.runner.AndroidJUnit4 +import org.apache.fineract.R +import org.apache.fineract.ui.adapters.GroupsAdapter +import org.apache.fineract.ui.online.DashboardActivity +import org.junit.Rule +import org.junit.Test +import org.junit.runner.RunWith + +/** + * Created by Ahmad Jawid Muhammadi on 30/8/20. + */ + +@RunWith(AndroidJUnit4::class) +class GroupListFragmentAndroidTest { + + @get:Rule + val activityRule = + ActivityTestRule(DashboardActivity::class.java) + + @Test + fun testOpenDrawer_OpenGroupList_ClickOnRecyclerViewItem() { Review comment: `testNavDrawer` or even `testHomeNavDrawer`makes more sense. suffix looks good! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org