Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

We can record tests with screenshots:
image

And later we can compare them:
image

And if it fails, it should get uploaded:
image

@AndyScherzinger @ezaquarii I appreciate your feedback

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Dec 12, 2019

Like the idea 👍

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@codecov
Copy link

codecov bot commented Dec 13, 2019

Codecov Report

Merging #4992 into master will increase coverage by 0.34%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master   #4992      +/-   ##
===========================================
+ Coverage     17.55%   17.9%   +0.34%     
  Complexity        3       3              
===========================================
  Files           385     385              
  Lines         32675   32679       +4     
  Branches       4593    4594       +1     
===========================================
+ Hits           5737    5852     +115     
+ Misses        26008   25881     -127     
- Partials        930     946      +16
Impacted Files Coverage Δ Complexity Δ
...om/owncloud/android/utils/FileSortOrderByName.java 14.28% <0%> (-2.86%) 0% <0%> (ø)
...in/java/com/owncloud/android/datamodel/OCFile.java 63.96% <0%> (-1.36%) 0% <0%> (ø)
.../third_parties/daveKoeller/AlphanumComparator.java 82.14% <0%> (-1.2%) 0% <0%> (ø)
.../java/com/owncloud/android/utils/DisplayUtils.java 24.89% <0%> (-0.85%) 0% <0%> (ø)
...loud/android/datamodel/ThumbnailsCacheManager.java 33.75% <0%> (-0.55%) 0% <0%> (ø)
...oud/android/operations/RefreshFolderOperation.java 56.95% <0%> (-0.44%) 0% <0%> (ø)
.../android/authentication/AuthenticatorActivity.java 1.81% <0%> (-0.01%) 0% <0%> (ø)
...cloud/android/ui/activity/FileDisplayActivity.java 20.2% <0%> (+0.08%) 0% <0%> (ø) ⬇️
...owncloud/android/ui/activity/SettingsActivity.java 39.57% <0%> (+0.19%) 0% <0%> (ø) ⬇️
...ncloud/android/ui/fragment/OCFileListFragment.java 25.85% <0%> (+0.27%) 0% <0%> (ø) ⬇️
... and 10 more

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11983.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot
Copy link
Collaborator

Codacy

328

Lint

TypemasterPR
Warnings7373
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings106
Security Warnings44
Dodgy code Warnings136
Total409

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings106
Security Warnings44
Dodgy code Warnings136
Total409

@tobiasKaminsky tobiasKaminsky merged commit 9fbedb4 into master Dec 19, 2019
@delete-merged-branch delete-merged-branch bot deleted the uiComparison branch December 19, 2019 06:42
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.10.0 milestone Dec 19, 2019
tobiasKaminsky added a commit that referenced this pull request Dec 20, 2019
6af9523 Merge pull request #4890 from nextcloud/directEditing
b4c3a7d Merge pull request #5018 from grote/thumbnail-fix
b207671 fix during CI
d231370 Merge pull request #4829 from nextcloud/dependabot/gradle/tools.fastlane-screengrab-2.0.0
0d84a2d warning about used feature in newer SDK
b4ea014 use master branch
ec2cfef Direct editing support - abstract EditorWebView - support direct editing endpoint
f2627a2 enable caching
ddffaf7 use custom user agent for onlyOffice
0178499 remove unneeded static string
f25127d revert to master snapshot
95afe8c use editor id to use any editor
d05de98 use file path as parameter for open direct editing file
300abba make sure TextEditor is also only used ond >= Android 5, due to security reason of javascript interface
994817c get direct editing info from endpoint
b31cee5 prevent NPE
d1611f6 Direct editing support - abstract EditorWebView - support direct editing endpoint
516c464 override minSDK for lib
10a667b Bump screengrab from 1.2.0 to 2.0.0
9fbedb4 Merge pull request #4992 from nextcloud/uiComparison
751301c daily dev 20191219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants