Skip to content

Commit

Permalink
12
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkray committed Oct 25, 2024
1 parent 2926a5f commit ec4b48c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bank-sdk.check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ jobs:
script: >
adb push .github/test_pdfs/password-protected.pdf /sdcard/Download ;
adb push .github/test_pdfs/sample.pdf /sdcard/Download ;
adb push .github/test_pdfs/test_image.jpeg /sdcard/Download ;
adb push .github/test_pdfs/test_image.png /sdcard/Download ;
adb push .github/test_pdfs/test-image-no-result.jpg /sdcard/Download ;
adb push .github/test_pdfs/Testrechnung-RA-1.pdf /sdcard/Download ;
adb push .github/test_pdfs/too-many-pages.pdf /sdcard/Download ;
adb uninstall net.gini.android.bank.sdk.exampleapp.test ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ class ImageUploader {
// val firstPhoto: UiObject = photoList.getChildByInstance(UiSelector().className("android.widget.ImageView"), 3)
// firstPhoto.click()

val photoList = UiScrollable(UiSelector().scrollable(true))
val firstPhoto: UiObject = photoList.getChild(UiSelector().className("android.widget.ImageView").instance(0))
firstPhoto.click()
// val photoList = UiScrollable(UiSelector().scrollable(true))
// val firstPhoto: UiObject = photoList.getChild(UiSelector().className("android.widget.ImageView").instance(0))
// firstPhoto.click()

device.findObject(UiSelector().className("android.widget.ImageView")).click()
}

fun clickAddButton() {
Expand Down

0 comments on commit ec4b48c

Please sign in to comment.