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
[MBL-19445][Teacher] - Differentiation Tags and Custom Statuses Filtering E2E Test Implementation (#3489)
* Seeding differentiation tags via hybrid (GraphQL + Rest) API.
Add first steps of e2e test of custom status and differentiation tag filtering.
refs: MBL-19445
affects: Teacher
release note: -
* Implement filter custom statuses and differentiation test E2E test fully.
refs: MBL-19445
affects: Teacher
release note: -
* Correct copyright year in graphql seeding files.
Log.d(ASSERTION_TAG, "Assert that there is 1 submission displayed, and it is for '${student.name}' student since we applied a filter to the 'First Diff Tag' differentiation tag only.")
Log.d(ASSERTION_TAG, "Assert that there is 1 submission displayed, and it is for '${student2.name}' student since we applied a filter to the 'Second Diff Tag' differentiation tag only.")
// Check 'Students without Differentiation tags' filter option
275
+
Log.d(STEP_TAG, "Click on the filter icon on the top-right corner again.")
276
+
assignmentSubmissionListPage.clickFilterButton()
277
+
278
+
Log.d(STEP_TAG, "Unselect the 'Second Diff Tag' and select the 'Students without Differentiation tags' differentiation tag filter and click on 'Done'.")
Log.d(ASSERTION_TAG, "Assert that there is 1 submission displayed, and it is for '${studentWithoutTag.name}' student since we applied the 'Students without Differentiation tags' filter.")
Log.d(STEP_TAG, "Click on the filter icon on the top-right corner again.")
291
+
assignmentSubmissionListPage.clickFilterButton()
292
+
293
+
Log.d(STEP_TAG, "Unselect the 'Students without Differentiation tags' differentiation tag and select 'AMAZING' custom status filter and click on 'Done'.")
294
+
assignmentSubmissionListPage.clickDifferentiationTagFilter("Students without Differentiation tags")
Log.d(ASSERTION_TAG, "Assert that there is 1 submission displayed, and it is for '${student.name}' student since we applied a filter to the 'First Diff Tag' differentiation tag only.")
Log.d(ASSERTION_TAG, "Assert that there is no submission displayed since there are no students with 'Third Diff Tag' differentiation tag, so the empty view is displayed.")
Log.d(ASSERTION_TAG, "Assert that there is 1 submission displayed, one for '${student2.name}' student since we applied the 'Missing' status filter and 'Second Diff Tag' differentiation tag filter simultaneously.")
// Check 'AMAZING' custom status filter option AND 'Second Diff Tag' differentiation tag filter option together to check the AND logic between filter groups
334
+
Log.d(STEP_TAG, "Click on the filter icon on the top-right corner again.")
335
+
assignmentSubmissionListPage.clickFilterButton()
336
+
337
+
Log.d(STEP_TAG, "Unselect the 'Missing' status filter select 'AMAZING' custom status filter and click on 'Done'.")
Log.d(ASSERTION_TAG, "Assert that there is no submission displayed since there is no student submission which has the 'AMAZING' custom status and the 'Second Diff Tag' differentiation tag simultaneously.")
Copy file name to clipboardExpand all lines: apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/compose/AssignmentSubmissionListPage.kt
0 commit comments