mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
adding description to test
This commit is contained in:
@@ -92,6 +92,7 @@ public class HabitsTest extends BaseUserInterfaceTest
|
||||
verifyShowsScreen(EDIT_HABIT);
|
||||
typeName("Take a walk");
|
||||
typeQuestion("Did you take a walk today?");
|
||||
typeDescription("this is a test description");
|
||||
clickSave();
|
||||
|
||||
verifyShowsScreen(LIST_HABITS);
|
||||
|
||||
@@ -58,6 +58,11 @@ public class EditHabitSteps
|
||||
typeTextWithId(R.id.tvQuestion, name);
|
||||
}
|
||||
|
||||
public static void typeDescription(String description)
|
||||
{
|
||||
typeTextWithId(R.id.tvDescription, description);
|
||||
}
|
||||
|
||||
public static void setReminder()
|
||||
{
|
||||
onView(withId(R.id.tvReminderTime)).perform(click());
|
||||
|
||||
Reference in New Issue
Block a user