|
5 | 5 | */
|
6 | 6 |
|
7 | 7 |
|
| 8 | +import static androidx.test.espresso.Espresso.onView; |
| 9 | +import static androidx.test.espresso.action.ViewActions.click; |
| 10 | +import static androidx.test.espresso.assertion.ViewAssertions.matches; |
| 11 | +import static androidx.test.espresso.matcher.RootMatchers.isDialog; |
| 12 | +import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed; |
| 13 | +import static androidx.test.espresso.matcher.ViewMatchers.withId; |
| 14 | +import static androidx.test.espresso.matcher.ViewMatchers.withText; |
| 15 | +import static com.schibsted.spain.barista.BaristaClickActions.click; |
| 16 | +import static com.schibsted.spain.barista.BaristaScrollActions.scrollTo; |
| 17 | +import static com.schibsted.spain.barista.custom.NestedEnabledScrollToAction.scrollTo; |
| 18 | +import static org.hamcrest.core.AllOf.allOf; |
| 19 | + |
8 | 20 | import android.app.Activity;
|
9 | 21 | import android.content.Context;
|
10 |
| -import android.support.test.InstrumentationRegistry; |
11 |
| -import android.support.test.annotation.UiThreadTest; |
12 |
| -import android.support.test.espresso.ViewInteraction; |
13 |
| -import android.support.test.rule.ActivityTestRule; |
14 |
| -import android.support.test.runner.AndroidJUnit4; |
15 | 22 | import android.view.WindowManager;
|
16 | 23 |
|
| 24 | +import androidx.test.InstrumentationRegistry; |
| 25 | +import androidx.test.annotation.UiThreadTest; |
| 26 | +import androidx.test.espresso.ViewInteraction; |
| 27 | +import androidx.test.rule.ActivityTestRule; |
| 28 | +import androidx.test.runner.AndroidJUnit4; |
| 29 | + |
17 | 30 | import com.schibsted.spain.barista.flakyespresso.AllowFlaky;
|
18 | 31 |
|
19 | 32 | import org.junit.After;
|
|
26 | 39 |
|
27 | 40 | import java.io.File;
|
28 | 41 |
|
29 |
| -import static android.support.test.espresso.Espresso.onView; |
30 |
| -import static android.support.test.espresso.action.ViewActions.click; |
31 |
| -import static android.support.test.espresso.assertion.ViewAssertions.matches; |
32 |
| -import static android.support.test.espresso.matcher.RootMatchers.isDialog; |
33 |
| -import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed; |
34 |
| -import static android.support.test.espresso.matcher.ViewMatchers.withId; |
35 |
| -import static android.support.test.espresso.matcher.ViewMatchers.withText; |
36 |
| -import static com.schibsted.spain.barista.BaristaClickActions.click; |
37 |
| -import static com.schibsted.spain.barista.BaristaScrollActions.scrollTo; |
38 |
| -import static com.schibsted.spain.barista.custom.NestedEnabledScrollToAction.scrollTo; |
39 |
| -import static org.hamcrest.core.AllOf.allOf; |
40 |
| - |
41 | 42 | @RunWith(AndroidJUnit4.class)
|
42 | 43 | @FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
43 | 44 | public class HomeEspressoTest {
|
|
0 commit comments