From ce4d9f705f1a67be51e4f492f9e39569aa046c65 Mon Sep 17 00:00:00 2001 From: Veena Date: Wed, 27 May 2020 16:54:39 +0530 Subject: [PATCH] Fix part of #1028: Add Story app tests to the non-flaky queue (#1133) * Update config.yml * Update config.yml * Update config.yml * Update WalkthroughFinalFragmentTest.kt * Update WalkthroughFinalFragmentTest.kt --- .circleci/config.yml | 5 +++-- .../oppia/app/walkthrough/WalkthroughFinalFragmentTest.kt | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94e8fef10dd..7a9729d97be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -114,8 +114,9 @@ jobs: name: Domain tests command: ./.circleci/gradle/gradlew -i :domain:test - run: - name: App - FAQ, Help, Splash, Parser, RecyclerView, Utility tests, Walkthrough - command: ./.circleci/gradle/gradlew -i :app:testDebugUnitTest --tests org.oppia.app.faq* --tests org.oppia.app.help* --tests org.oppia.app.splash* --tests org.oppia.app.parser* --tests org.oppia.app.recyclerview* --tests org.oppia.app.utility* --tests org.oppia.app.walkthrough* + name: App - FAQ, Help, Splash, Parser, RecyclerView, Story, Utility tests, Walkthrough + command: ./.circleci/gradle/gradlew -i :app:testDebugUnitTest --tests org.oppia.app.faq* --tests org.oppia.app.help* --tests org.oppia.app.splash* + --tests org.oppia.app.parser* --tests org.oppia.app.recyclerview* --tests org.oppia.app.story* --tests org.oppia.app.utility* --tests org.oppia.app.walkthrough* - run: name: Save test results command: | diff --git a/app/src/sharedTest/java/org/oppia/app/walkthrough/WalkthroughFinalFragmentTest.kt b/app/src/sharedTest/java/org/oppia/app/walkthrough/WalkthroughFinalFragmentTest.kt index 84c7948f9f4..21f8ce89fec 100644 --- a/app/src/sharedTest/java/org/oppia/app/walkthrough/WalkthroughFinalFragmentTest.kt +++ b/app/src/sharedTest/java/org/oppia/app/walkthrough/WalkthroughFinalFragmentTest.kt @@ -10,7 +10,10 @@ import androidx.test.espresso.action.ViewActions.scrollTo import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.contrib.RecyclerViewActions.scrollToPosition import androidx.test.espresso.intent.Intents -import androidx.test.espresso.matcher.ViewMatchers.* +import androidx.test.espresso.matcher.ViewMatchers.isDisplayed +import androidx.test.espresso.matcher.ViewMatchers.isRoot +import androidx.test.espresso.matcher.ViewMatchers.withId +import androidx.test.espresso.matcher.ViewMatchers.withText import androidx.test.ext.junit.runners.AndroidJUnit4 import org.hamcrest.CoreMatchers.containsString import org.junit.After