-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Verify test failure #16329
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
base: master
Are you sure you want to change the base?
Verify test failure #16329
Changes from all commits
dd6a782
80dd90b
a539e6d
0857693
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,7 @@ import com.owncloud.android.utils.ScreenshotTest | |
| import org.junit.After | ||
| import org.junit.Assert.assertEquals | ||
| import org.junit.Assert.assertNotNull | ||
| import org.junit.Assert.assertTrue | ||
| import org.junit.Before | ||
| import org.junit.Test | ||
| import java.util.Random | ||
|
|
@@ -120,6 +121,8 @@ class GalleryFragmentIT : AbstractIT() { | |
| onView(withId(R.id.list_root)) | ||
| .perform(RecyclerViewActions.scrollToLastPosition<GalleryRowHolder>()) | ||
| .perform(RecyclerViewActions.scrollToPosition<GalleryRowHolder>(0)) | ||
|
|
||
| assertTrue("Do not merge - just testing test failures", false) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the third failure I provoke
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
|
|
||
| // Test selection of all entries | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -169,6 +169,8 @@ class PreviewImageActivityIT : AbstractOnServerIT() { | |
| } | ||
| onView(isRoot()).check(matches(isDisplayed())) | ||
|
|
||
| assertTrue("Do not merge - just testing test failures", false) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is where I provoke the failure
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was not catched - https://drone.nextcloud.com/nextcloud/android/27697 ran through. And no other test job failed, either. For reference, this is the overview of GitHub's checks for this commit, but somehow it does not show the drone action... Very confusing... https://github.com/nextcloud/android/pull/16329/checks?sha=71ac686c47076f8d24c71eae1bdcadf06214eeba But as this view confusingly doesn't list the Drone job, I'll leave this screenshot as well, at the state of this commit. Drone job is shown green: |
||
|
|
||
| for (testFile in expectedFileOrder) { | ||
| veryImageThenDelete(testFile) | ||
| assertTrue( | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the second failure I provoke
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also wasn't catched - https://drone.nextcloud.com/nextcloud/android/27788 ran through and no other test job ran the test either.
For reference, this is the overview of checks for this commit: https://github.com/nextcloud/android/pull/16329/checks?sha=0becd054d1b3eefad3327626ea3d5b79cf397eba.
And the screenshot
