Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
onView(allOf(withText(loadingText), isDisplayed()))
.check(doesNotExist())

assertTrue("Do not merge - just testing test failures", false)
Copy link
Contributor Author

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

Copy link
Contributor Author

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
image


// Test that there is no timing issue when hiding the dialog directly after.
// This timing issue was reproducible when testing RemoveFilesDialogFragment#removeFiles
// as well as sporadically "in the wild".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the third failure I provoke

Copy link
Contributor Author

Choose a reason for hiding this comment

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

}

// Test selection of all entries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ class PreviewImageActivityIT : AbstractOnServerIT() {
}
onView(isRoot()).check(matches(isDisplayed()))

assertTrue("Do not merge - just testing test failures", false)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is where I provoke the failure

Copy link
Contributor Author

@PhilLab PhilLab Jan 24, 2026

Choose a reason for hiding this comment

The 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:
image


for (testFile in expectedFileOrder) {
veryImageThenDelete(testFile)
assertTrue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public void setName_assertCorrectNameUpdated() {

@Test
public void getName_assertCorrectNamedRetrieved() {
assertEquals("NOCOMMIT", "");
assertEquals("OwnCloudSession name not correct", SESSION_NAME, ownCloudSession.getSessionName());
}

Expand Down
Loading