diff --git a/library/screenshots/check_TextInput_from_layout_1.png b/library/screenshots/check_TextInput_from_layout_1.png deleted file mode 100644 index c43a470c1..000000000 Binary files a/library/screenshots/check_TextInput_from_layout_1.png and /dev/null differ diff --git a/library/screenshots/check_TextInput_from_layout_2.png b/library/screenshots/check_TextInput_from_layout_2.png deleted file mode 100644 index c948e20b8..000000000 Binary files a/library/screenshots/check_TextInput_from_layout_2.png and /dev/null differ diff --git a/library/screenshots/check_TextInput_from_layout_3.png b/library/screenshots/check_TextInput_from_layout_3.png deleted file mode 100644 index 81c8ba479..000000000 Binary files a/library/screenshots/check_TextInput_from_layout_3.png and /dev/null differ diff --git a/library/src/test/java/com/telefonica/mistica/input/TextInputTest.kt b/library/src/test/java/com/telefonica/mistica/input/TextInputTest.kt index 3043a4417..fba78b679 100644 --- a/library/src/test/java/com/telefonica/mistica/input/TextInputTest.kt +++ b/library/src/test/java/com/telefonica/mistica/input/TextInputTest.kt @@ -40,23 +40,4 @@ internal class TextInputTest: ScreenshotsTest() { compareScreenshot(onView(ViewMatchers.withId(R.id.dummy_activity_wrapper))) } } - - @Test - fun `check TextInput from layout`() { - rule.scenario.onActivity { activity -> - val wrapper: FrameLayout = activity.findViewById(R.id.dummy_activity_wrapper) - val inflater = LayoutInflater.from(activity) - val customLayout = inflater.inflate(R.layout.screen_inputs_catalog, wrapper, false) - wrapper.setPadding(0, 0, 0, 0) - wrapper.addView(customLayout) - - repeat(times = 3) { i -> - Log.d("TextInputTest", "Scrolling to $i") - val scrollView: ScrollView = activity.findViewById(R.id.scroll_view) - scrollView.scrollTo(0, wrapper.height * i) - - compareScreenshot(onView(withId(R.id.dummy_activity_wrapper)), extra = "_${i + 1}") - } - } - } } diff --git a/library/src/test/res/layout/screen_inputs_catalog.xml b/library/src/test/res/layout/screen_inputs_catalog.xml deleted file mode 100644 index 2ff8f7d70..000000000 --- a/library/src/test/res/layout/screen_inputs_catalog.xml +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file