You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/parent/src/androidTest/java/com/instructure/parentapp/ui/compose/managestudents/ManageStudentsScreenTest.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,8 @@ class ManageStudentsScreenTest {
60
60
composeTestRule.onNodeWithText("You are not observing any students.")
Log.d(ASSERTION_TAG, "Assert that the toolbar title is 'Assignment Details' as the user is on the assignment details page and the subtitle is the '${course.name}' course's name.")
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
102
+
reminderPage.clickAddReminder()
103
+
104
+
Log.d(STEP_TAG, "Select '1 Hour Before' again, and assert that a toast message is occurring which warns that we cannot pick up the same time reminder twice.")
Log.d(STEP_TAG, "Remove the '1 Hour Before' reminder, confirm the deletion dialog and assert that the '1 Hour Before' reminder is not displayed any more.")
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
116
+
reminderPage.clickAddReminder()
117
+
118
+
Log.d(STEP_TAG, "Select '1 Week Before' and assert that a toast message is occurring which warns that we cannot pick up a reminder which has already passed (for example cannot pick '1 Week Before' reminder for an assignment which ends tomorrow).")
119
+
val reminderDateOneWeek = futureDueDate.apply { add(Calendar.WEEK_OF_YEAR, -1) }
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
138
+
reminderPage.clickAddReminder()
139
+
140
+
reminderPage.clickCustomReminderOption()
141
+
reminderPage.selectDate(reminderDateOneDay)
142
+
reminderPage.selectTime(reminderDateOneDay)
143
+
144
+
Log.d(STEP_TAG, "Assert that a toast message is occurring which warns that we cannot pick up the same time reminder twice. (Because 1 days and 24 hours is the same)")
Log.d(ASSERTION_TAG, "Assert that the toolbar title is 'Assignment Details' as the user is on the assignment details page and the subtitle is the '${course.name}' course's name.")
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
209
+
reminderPage.clickAddReminder()
210
+
211
+
Log.d(STEP_TAG, "Select '1 Hour Before' again, and assert that a toast message is occurring which warns that we cannot pick up the same time reminder twice.")
Log.d(STEP_TAG, "Remove the '1 Hour Before' reminder, confirm the deletion dialog and assert that the '1 Hour Before' reminder is not displayed any more.")
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
221
+
reminderPage.clickAddReminder()
222
+
223
+
Log.d(STEP_TAG, "Select '1 Week Before' and assert that a toast message is occurring which warns that we cannot pick up a reminder which has already passed (for example cannot pick '1 Week Before' reminder for an assignment which ends tomorrow).")
224
+
val reminderDateOneWeek = futureDueDate.apply { add(Calendar.WEEK_OF_YEAR, -1) }
Log.d(STEP_TAG, "Click on the '+' button (Add reminder) to pick up a new reminder.")
241
+
reminderPage.clickAddReminder()
242
+
243
+
reminderPage.clickBeforeReminderOption("1 Day Before")
244
+
245
+
Log.d(STEP_TAG, "Assert that a toast message is occurring which warns that we cannot pick up the same time reminder twice. (Because 1 days and 24 hours is the same)")
0 commit comments