-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
087a07a
commit 08afd28
Showing
4 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
# maestro-mobile-demo | ||
|
||
Trying out maestro | ||
Trying out maestro - https://github.com/mobile-dev-inc/maestro | ||
|
||
https://maestro.mobile.dev/ | ||
|
||
|
||
## Dependencies | ||
brew tap mobile-dev-inc/tap | ||
brew install maestro | ||
|
||
Real devices or simulator (it will auto-run on whichever is available & connected) | ||
|
||
### Android | ||
Android Studio | ||
Java | ||
|
||
### iOS | ||
Xcode | ||
brew tap facebook/fb | ||
brew install facebook/fb/idb-companion | ||
idb_companion --udid {id of the iOS device} | ||
https://support.apple.com/en-au/guide/deployment/depece748c41/web | ||
|
||
iPhone SE (2nd generation) (14.0.1) (90BD2531-C13E-471A-9185-C978CF0036D3) | ||
iPhone 14 Pro Max Simulator (16.0) (CD5F595C-92F8-4007-B079-F305B40AC007) | ||
|
||
|
||
## Future | ||
Utilise https://github.com/danielpaulus/go-ios for better iOS device control (not simulator) | ||
|
||
|
||
## Issues | ||
### Android | ||
Exception in thread "pool-2-thread-1" dadb.AdbStreamClosed: ADB stream is closed for localId: f6c11363 | ||
|
||
### iOS | ||
Cannot connect to simulator frequently & consistently |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# flow.yaml | ||
|
||
appId: com.apple.MobileSMS | ||
--- | ||
- launchApp | ||
# - tapOn: "Kate" | ||
- tapOn: | ||
containsChild: "Kate Bell" | ||
- inputText: "Hey there, this is an automated test" | ||
- tapOn: "backButton" | ||
- tapOn: "John Appleseed" | ||
- assertVisible: "Hey there, this is an automated test" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "demo-maestro", | ||
"version": "1.0.0", | ||
"description": "Trying out maestro - https://github.com/mobile-dev-inc/maestro", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/alexandlazaris/maestro-mobile-demo.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/alexandlazaris/maestro-mobile-demo/issues" | ||
}, | ||
"homepage": "https://github.com/alexandlazaris/maestro-mobile-demo#readme" | ||
} |