Răsfoiți Sursa

Merge pull request #13768 from nextcloud/lessTolerant

Reduce screenshot test tolerance to 0.1%
Andy Scherzinger 6 luni în urmă
părinte
comite
98d11ce379

+ 1 - 1
app/build.gradle

@@ -468,7 +468,7 @@ if (shotTest) {
         showOnlyFailingTestsInReports = ciBuild
         showOnlyFailingTestsInReports = ciBuild
         // CI environment renders some shadows slightly different from local VMs
         // CI environment renders some shadows slightly different from local VMs
         // Add a 0.5% tolerance to account for that
         // Add a 0.5% tolerance to account for that
-        tolerance = ciBuild ? 0.5 : 0
+        tolerance = ciBuild ? 0.1 : 0
     }
     }
 }
 }
 
 

BIN
app/screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_overview.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.dialog.DialogFragmentIT_testBottomSheet.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.dialog.DialogFragmentIT_testConfirmationDialogWithOneAction.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.dialog.DialogFragmentIT_testConfirmationDialogWithThreeAction.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.dialog.DialogFragmentIT_testConfirmationDialogWithTwoAction.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.dialog.SetupEncryptionDialogFragmentIT_error.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.fragment.FileDetailSharingFragmentIT_listSharesFileNone.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.fragment.GalleryFragmentIT_showGallery.png


BIN
app/screenshots/gplay/debug/com.owncloud.android.ui.fragment.GroupfolderListFragmentIT_showGroupfolders.png


+ 3 - 0
scripts/uploadReport.sh

@@ -8,6 +8,9 @@ upload() {
     scripts/deleteOldComments.sh "$BRANCH" "$TYPE" "$PR"
     scripts/deleteOldComments.sh "$BRANCH" "$TYPE" "$PR"
 
 
     cd $1
     cd $1
+    pwd
+    find . -type d
+    find . -type f
 
 
     find . -type d -exec curl > /dev/null 2>&1 -u $USER:$PASS -X MKCOL $URL/$REMOTE_FOLDER/$(echo {} | sed s#\./##) \;
     find . -type d -exec curl > /dev/null 2>&1 -u $USER:$PASS -X MKCOL $URL/$REMOTE_FOLDER/$(echo {} | sed s#\./##) \;
     find . -type f -exec curl > /dev/null 2>&1 -u $USER:$PASS -X PUT $URL/$REMOTE_FOLDER/$(echo {} | sed s#\./##) --upload-file {} \;
     find . -type f -exec curl > /dev/null 2>&1 -u $USER:$PASS -X PUT $URL/$REMOTE_FOLDER/$(echo {} | sed s#\./##) --upload-file {} \;