Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/teacher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ android {
defaultConfig {
minSdkVersion Versions.MIN_SDK
targetSdkVersion Versions.TARGET_SDK
versionCode = 90
versionName = '2.5.1'
versionCode = 91
versionName = '2.6.0'
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner 'com.instructure.teacher.espresso.TeacherHiltTestRunner'
testInstrumentationRunnerArguments disableAnalytics: 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.instructure.canvas.espresso.SecondaryFeatureCategory
import com.instructure.canvas.espresso.TestCategory
import com.instructure.canvas.espresso.TestMetaData
import com.instructure.canvas.espresso.annotations.E2E
import com.instructure.canvas.espresso.annotations.ReleaseExclude
import com.instructure.canvas.espresso.annotations.Stub
import com.instructure.canvas.espresso.pressBackButton
import com.instructure.canvasapi2.utils.ApiPrefs
Expand All @@ -49,6 +50,7 @@ class LoginE2ETest : TeacherTest() {

@E2E
@Test
@ReleaseExclude

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The @ReleaseExclude annotation supports an excludeReason parameter specifically to document why the test is excluded from the release process. The annotation's own KDoc says the reason should be "explained in the parameter". Without it, future maintainers won't know whether this exclusion is intentional, temporary, or forgotten.

Suggested change
@ReleaseExclude
@ReleaseExclude(excludeReason = "<describe the reason, e.g. flaky due to X>")

@TestMetaData(Priority.MANDATORY, FeatureCategory.LOGIN, TestCategory.E2E)
fun testLoginE2E() {

Expand Down Expand Up @@ -143,6 +145,7 @@ class LoginE2ETest : TeacherTest() {

@E2E
@Test
@ReleaseExclude

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above — please include an excludeReason so the intent is clear.

Suggested change
@ReleaseExclude
@ReleaseExclude(excludeReason = "<describe the reason, e.g. flaky due to X>")

@TestMetaData(Priority.MANDATORY, FeatureCategory.LOGIN, TestCategory.E2E)
fun testLoginE2EWithLastSavedSchool() {

Expand Down
Loading