-
Notifications
You must be signed in to change notification settings - Fork 108
[MBL-19569][Student] - Implement New To Do E2E Tests #3451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kdeakinstructure
merged 6 commits into
master
from
MBL-19569-implement-new-todo-e2e-test
Jan 5, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
bacff27
Add E2E test to new To Do page.
kdeakinstructure 79a8f7f
Additional E2E tests for new To Do (swipe gestures, calendar events a…
kdeakinstructure fe05f0f
Remove old (unused) ToDoPage and some minor additional clean-up in St…
kdeakinstructure 7cd21d6
Merge branch 'master' into MBL-19569-implement-new-todo-e2e-test
kdeakinstructure 1ff6465
Remove extra brackets.
kdeakinstructure 3dbbcd2
PR changes.
kdeakinstructure File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
658 changes: 577 additions & 81 deletions
658
apps/student/src/androidTest/java/com/instructure/student/ui/e2e/classic/TodoE2ETest.kt
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 0 additions & 126 deletions
126
apps/student/src/androidTest/java/com/instructure/student/ui/pages/classic/TodoPage.kt
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
automation/dataseedingapi/src/main/kotlin/com/instructure/dataseeding/api/PlannerAPI.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| package com.instructure.dataseeding.api | ||
|
|
||
| import com.instructure.dataseeding.model.PlannerNoteApiModel | ||
| import com.instructure.dataseeding.util.CanvasNetworkAdapter | ||
| import retrofit2.Call | ||
| import retrofit2.http.Body | ||
| import retrofit2.http.POST | ||
|
|
||
| object PlannerAPI { | ||
|
|
||
| interface PlannerService { | ||
|
|
||
| @POST("planner_notes") | ||
| fun createPlannerNote(@Body plannerNote: PlannerNoteApiModel): Call<PlannerNoteApiModel> | ||
| } | ||
|
|
||
| private fun plannerService(token: String): PlannerService { | ||
| return CanvasNetworkAdapter.retrofitWithToken(token).create(PlannerService::class.java) | ||
| } | ||
|
|
||
| fun createPlannerNote(token: String, title: String, details: String, todoDate: String): PlannerNoteApiModel { | ||
| val plannerNote = PlannerNoteApiModel( | ||
| title = title, | ||
| details = details, | ||
| todoDate = todoDate | ||
| ) | ||
| return plannerService(token).createPlannerNote(plannerNote) | ||
| .execute() | ||
| .body()!! | ||
| } | ||
|
|
||
|
|
||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...n/dataseedingapi/src/main/kotlin/com/instructure/dataseeding/model/PlannerNoteApiModel.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| package com.instructure.dataseeding.model | ||
|
|
||
| import com.google.gson.annotations.SerializedName | ||
|
|
||
| data class PlannerNoteApiModel( | ||
| val id: String? = null, | ||
| val title: String, | ||
| var details: String? = null, | ||
| @SerializedName("user_id") | ||
| val userId: String? = null, | ||
| @SerializedName("created_at") | ||
| val createdAt: String? = null, | ||
| @SerializedName("todo_date") | ||
| val todoDate: String? = null, | ||
| @SerializedName("updated_at") | ||
| val lastUpdatedDate: String? = null, | ||
| @SerializedName("workflow_state") | ||
| val workflowState: String? = null, | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.