-
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.
included ios tests and updated readme
- Loading branch information
1 parent
d9a4aad
commit bdfc54c
Showing
8 changed files
with
644 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
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
Binary file not shown.
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,13 @@ | ||
appId: io.testproject.Demo | ||
--- | ||
- launchApp: io.testproject.Demo | ||
- tapOn: | ||
id: "name" | ||
- inputText: "B@D DATa" | ||
- tapOn: | ||
id: "password" | ||
- inputText: "B@D DATa" | ||
- tapOn: Login | ||
- assertVisible: This password is incorrect | ||
|
||
|
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,14 @@ | ||
appId: io.testproject.Demo | ||
--- | ||
- launchApp: io.testproject.Demo | ||
- tapOn: | ||
id: "name" | ||
- inputText: "Success" | ||
- tapOn: | ||
id: "password" | ||
- inputText: "12345" | ||
- tapOn: Login | ||
- assertVisible: | ||
id: "greetings" | ||
|
||
|
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,6 +1,23 @@ | ||
readme | ||
# cross platform challenge | ||
|
||
android apk sourced from: https://github.com/testproject-io/android-demo-app/blob/master/APK/testproject-demo-app.apk | ||
ios app sourced from: https://github.com/testproject-io/ios-demo-app | ||
## General | ||
* framework used: [Maestro](https://github.com/mobile-dev-inc/maestro) | ||
* screen recordings included for both platforms | ||
* run both platforms using simulators | ||
|
||
framework used: [Maestro](https://github.com/mobile-dev-inc/maestro) | ||
## Android | ||
* https://github.com/testproject-io/android-demo-app/blob/master/APK/testproject-demo-app.apk | ||
* android run cmd: `maestro test android-{fileName}.yaml` | ||
* requires android emulator to be running prior to test | ||
* once the test is executed, it will auto-attach the first available android device | ||
|
||
## iOS | ||
* https://github.com/testproject-io/ios-demo-app | ||
* ios run cmd: `maestro test ios-{fileName}.yaml` | ||
* using ios simulator uuid 90BD2531-C13E-471A-9185-C978CF0036D3 (ios v14) | ||
* requires `idb_companion --udid 90BD2531-C13E-471A-9185-C978CF0036D3` to be run in a separate process before running test | ||
|
||
|
||
## Dependencies | ||
* Android Studio, Android emulator, adb (for debugging) | ||
* XCode (manages all other dependencies also) |
Oops, something went wrong.