fix: Fixed source deletion test.

This commit is contained in:
Amine Bouabdallaoui 2025-03-16 14:27:30 +01:00
parent ceba58e98f
commit 24b9320d6d

View File

@ -71,6 +71,8 @@ class SourcesActivityTest {
fun deleteTheCreatedSource() {
onView(withText(sourceName)).check(matches(isDisplayed()))
onView(withId(R.id.deleteBtn)).perform(click())
onView(withText(R.string.confirm_delete_title)).check(matches(isDisplayed()))
onView(withId(android.R.id.button1)).perform(click())
onView(withText(sourceName)).check(doesNotExist())
}