-
Notifications
You must be signed in to change notification settings - Fork 30
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
395 e2e test #404
base: main
Are you sure you want to change the base?
395 e2e test #404
Conversation
@stefan-niedermann I did some testing on my end as well.. It looks like the |
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it>
@David-Development did as you suggested, but the pipeline still fails at the very same moment... 🤔 |
@stefan-niedermann Does it also fail if you run it locally? Can you see what's happening? |
Okay, i stumbled upon
Therefore i now adjusted the AVD emulated device to Android O (API 26) to check whether this might be the cause of the issue - Maybe on older devices the OK button is actually not present because a permission dialog is there. Let's see how it goes... |
Just fyi: This PR is waiting for a new dev version being published on https://download.nextcloud.com/android/dev/ - the currently latest version ( Since |
CodacyLint
SpotBugs (new)
SpotBugs (master)
|
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it>
e146314
to
8bfcd55
Compare
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it>
8bfcd55
to
2d95ca4
Compare
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2d95ca4
to
4b0f2f0
Compare
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
❗ REBASED ❗ |
4b0f2f0
to
5b30b2d
Compare
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5b30b2d
to
2a773a0
Compare
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
As suggested in #404 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
ReactiveCircus/android-emulator-runner#49 (comment) Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Stefan Niedermann <info@niedermann.it> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2a773a0
to
eac73ab
Compare
This PR adds an end to end test to the SSO lib to fix #395.
Must:
connectedDebugAndroidTest
fails (E2ETest.java
)Nice 2 Have:
e2e.yml
e2e.yml
)172.17.0.1
of the Nextcloud docker instanceconnectedDebugAndroidTest
instead of hard coded properties (E2ETest.java
)The E2E test has two steps after setting up the test environment:
The test completely uses
UIAutomator
(recommended bydeveloper.android.com
). It does not useEspresso
or any other frameworks. Currently the first step works well, the second has an issue confirming the permission dialog because it can't find the OK button.The workflow currently seems to work because i am running
./gradlew connectedDebugAndroidTest || true
to suppress error mails, but it actually fails 😉 :Any help for the remaining steps would be appreciated @David-Development @tobiasKaminsky